Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/clang.spec'], chrootPath='/home/lib/mock/dist-ocs23-build-233225-19910/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=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/clang.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (9 usages found), use %patch N (or %patch -P N) Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/clang-17.0.6-5.ocs23.src.rpm RPM build warnings: %patchN is deprecated (9 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/clang.spec'], chrootPath='/home/lib/mock/dist-ocs23-build-233225-19910/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=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/clang.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (9 usages found), use %patch N (or %patch -P N) Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.n88piw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf clang-tools-extra-17.0.6.src + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/clang-tools-extra-17.0.6.src.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd clang-tools-extra-17.0.6.src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #3000 (0001-clang-tools-extra-Make-test-dependency-on-LLVMHello-.patch):' Patch #3000 (0001-clang-tools-extra-Make-test-dependency-on-LLVMHello-.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p2 --fuzz=0 patching file test/CMakeLists.txt patching file test/clang-tidy/CTTestTidyModule.cpp patching file test/lit.cfg.py patching file test/lit.site.cfg.py.in + rm test/clang-tidy/checkers/altera/struct-pack-align.cpp + pathfix.py -i /usr/bin/python3 -p -n -k -as clang-tidy/tool/ clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py recursedown('clang-tidy/tool/') clang-tidy/tool/clang-tidy-diff.py: updating clang-tidy/tool/run-clang-tidy.py: updating clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py: updating + cd /builddir/build/BUILD + rm -rf clang-17.0.6.src + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/clang-17.0.6.src.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd clang-17.0.6.src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (0001-Backport-LoongArch-Add-the-support-for-vector.patch): + echo 'Patch #1 (0001-Backport-LoongArch-Add-the-support-for-vector.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p2 --fuzz=0 patching file include/clang/Basic/BuiltinsLoongArch.def patching file include/clang/Basic/DiagnosticSemaKinds.td patching file lib/CodeGen/CGBuiltin.cpp patching file lib/CodeGen/CodeGenFunction.h patching file lib/Sema/SemaChecking.cpp patching file test/CodeGen/LoongArch/intrinsic-la32-error.c patching file include/clang/Basic/DiagnosticDriverKinds.td patching file include/clang/Driver/Options.td Hunk #2 succeeded at 4192 (offset -6 lines). patching file lib/Basic/Targets/LoongArch.cpp patching file lib/Basic/Targets/LoongArch.h patching file lib/Driver/ToolChains/Arch/LoongArch.cpp patching file test/Driver/loongarch-mlasx-error.c patching file test/Driver/loongarch-mlasx.c patching file test/Driver/loongarch-mlsx-error.c patching file test/Driver/loongarch-mlsx.c patching file test/Preprocessor/init-loongarch.c patching file lib/CodeGen/Targets/LoongArch.cpp patching file include/clang/Basic/BuiltinsLoongArch.def patching file include/clang/Basic/BuiltinsLoongArchBase.def patching file include/clang/Basic/BuiltinsLoongArchLSX.def patching file lib/Headers/CMakeLists.txt patching file lib/Headers/lsxintrin.h patching file lib/Sema/SemaChecking.cpp patching file include/clang/Basic/BuiltinsLoongArch.def patching file include/clang/Basic/BuiltinsLoongArchLASX.def patching file lib/Headers/CMakeLists.txt patching file lib/Headers/lasxintrin.h patching file lib/Sema/SemaChecking.cpp patching file test/CodeGen/LoongArch/lsx/builtin-alias-error.c patching file test/CodeGen/LoongArch/lsx/builtin-alias.c patching file test/CodeGen/LoongArch/lsx/builtin-error.c patching file test/CodeGen/LoongArch/lsx/builtin.c patching file test/CodeGen/LoongArch/lasx/builtin-alias-error.c patching file test/CodeGen/LoongArch/lasx/builtin-alias.c patching file test/CodeGen/LoongArch/lasx/builtin-error.c patching file test/CodeGen/LoongArch/lasx/builtin.c patching file lib/CodeGen/Targets/LoongArch.cpp patching file test/CodeGen/LoongArch/lasx/builtin-alias.c patching file test/CodeGen/LoongArch/lasx/builtin.c patching file test/CodeGen/LoongArch/lsx/builtin-alias.c patching file test/CodeGen/LoongArch/lsx/builtin.c Patch #2 (0002-Backport-LoongArch-improve-the-support-for-compiler-rt-and-bugfix.patch): + echo 'Patch #2 (0002-Backport-LoongArch-improve-the-support-for-compiler-rt-and-bugfix.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p2 --fuzz=0 patching file lib/Driver/ToolChain.cpp patching file test/Driver/fsanitize.c patching file lib/Basic/Targets/LoongArch.h patching file test/CodeGen/mcount.c patching file test/CodeGen/LoongArch/abi-lp64d-empty-structs.c patching file lib/CodeGen/Targets/LoongArch.cpp patching file test/CodeGen/LoongArch/abi-lp64d-empty-structs.c patching file test/CodeGen/LoongArch/abi-lp64d-empty-unions.c patching file lib/CodeGen/Targets/LoongArch.cpp patching file test/CodeGen/LoongArch/abi-lp64d-empty-structs.c patching file test/CodeGen/LoongArch/abi-lp64d-empty-unions.c patching file lib/Driver/ToolChains/Clang.cpp Hunk #1 succeeded at 5595 (offset -37 lines). patching file test/Driver/fdirect-access-external-data.c patching file test/CodeGen/LoongArch/intrinsic-la32.c patching file test/CodeGen/LoongArch/intrinsic-la64.c patching file lib/Headers/larchintrin.h patching file test/CodeGen/LoongArch/intrinsic-la32.c patching file test/CodeGen/LoongArch/intrinsic-la64.c Patch #3001 (0010-PATCH-clang-Produce-DWARF4-by-default.patch): + echo 'Patch #3001 (0010-PATCH-clang-Produce-DWARF4-by-default.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p2 --fuzz=0 patching file lib/Driver/ToolChain.cpp patching file test/CodeGen/dwarf-version.c patching file test/Driver/as-options.s patching file test/Driver/cl-options.c Hunk #1 succeeded at 575 (offset 6 lines). patching file test/Driver/clang-g-opts.c patching file test/Driver/ve-toolchain.c patching file test/Driver/ve-toolchain.cpp Patch #3002 (0003-PATCH-clang-Don-t-install-static-libraries.patch): + echo 'Patch #3002 (0003-PATCH-clang-Don-t-install-static-libraries.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p2 --fuzz=0 patching file cmake/modules/AddClang.cmake Hunk #1 succeeded at 114 (offset 1 line). + echo 'Patch #3003 (cfg.patch):' Patch #3003 (cfg.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p2 --fuzz=0 patching file include/clang/Analysis/CFG.h patching file lib/Analysis/CFG.cpp Hunk #2 succeeded at 1325 (offset -25 lines). Hunk #3 succeeded at 1841 (offset -25 lines). Hunk #4 succeeded at 1859 (offset -25 lines). Hunk #5 succeeded at 1871 (offset -25 lines). Hunk #6 succeeded at 1905 (offset -25 lines). Hunk #7 succeeded at 2078 (offset -25 lines). Hunk #8 succeeded at 2136 (offset -25 lines). Hunk #9 succeeded at 5275 (offset -24 lines). Hunk #10 succeeded at 5819 (offset -24 lines). patching file lib/Analysis/PathDiagnostic.cpp Hunk #1 succeeded at 565 (offset -2 lines). patching file lib/StaticAnalyzer/Core/ExprEngine.cpp patching file test/Analysis/scopes-cfg-output.cpp Patch #3004 (tsa.patch): + echo 'Patch #3004 (tsa.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p2 --fuzz=0 patching file include/clang/Analysis/Analyses/ThreadSafetyCommon.h patching file lib/Analysis/ThreadSafety.cpp Hunk #2 succeeded at 2415 (offset -3 lines). patching file lib/Analysis/ThreadSafetyCommon.cpp patching file test/Sema/warn-thread-safety-analysis.c Patch #5000 (clang-16.0.6-add-OpenCloudOS-support.patch): + echo 'Patch #5000 (clang-16.0.6-add-OpenCloudOS-support.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file lib/Driver/ToolChains/Gnu.cpp Hunk #1 succeeded at 2298 (offset 225 lines). Hunk #2 succeeded at 2328 (offset 229 lines). Hunk #3 succeeded at 2395 (offset 233 lines). Hunk #4 succeeded at 2405 (offset 233 lines). Patch #5001 (0001-LoongArch-Add-support-for-OpenCloudOS-triple.patch): + echo 'Patch #5001 (0001-LoongArch-Add-support-for-OpenCloudOS-triple.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p2 --fuzz=0 patching file lib/Driver/ToolChains/Gnu.cpp + pathfix.py -i /usr/bin/python3 -p -n -k -as tools/clang-format/ tools/clang-format/git-clang-format utils/hmaptool/hmaptool tools/scan-view/bin/scan-view tools/scan-view/share/Reporter.py tools/scan-view/share/startfile.py tools/scan-build-py/bin/analyze-build tools/scan-build-py/bin/intercept-build tools/scan-build-py/bin/scan-build tools/scan-build-py/libexec/analyze-c++ tools/scan-build-py/libexec/analyze-cc tools/scan-build-py/libexec/intercept-c++ tools/scan-build-py/libexec/intercept-cc recursedown('tools/clang-format/') recursedown('tools/clang-format/fuzzer') tools/clang-format/clang-format-diff.py: updating tools/clang-format/clang-format-sublime.py: no change tools/clang-format/clang-format.py: no change tools/clang-format/git-clang-format: updating utils/hmaptool/hmaptool: updating tools/scan-view/bin/scan-view: updating tools/scan-view/share/Reporter.py: updating tools/scan-view/share/startfile.py: updating tools/scan-build-py/bin/analyze-build: updating tools/scan-build-py/bin/intercept-build: updating tools/scan-build-py/bin/scan-build: updating tools/scan-build-py/libexec/analyze-c++: updating tools/scan-build-py/libexec/analyze-cc: updating tools/scan-build-py/libexec/intercept-c++: updating tools/scan-build-py/libexec/intercept-cc: updating + rm test/CodeGen/profile-filter.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.X7TX42 + 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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 loongarch64-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-5.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 (19.1s) -- Generating done (1.4s) 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/loongarch64-OpenCloudOS-linux-gnu + /usr/bin/cmake --build loongarch64-OpenCloudOS-linux-gnu -j32 --verbose [1/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_builtin_vars.h [2/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_cmath.h [3/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_complex_builtins.h [4/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_device_functions.h [5/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_intrinsics.h [6/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_libdevice_declares.h [7/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_math.h [8/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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 [10/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_runtime_wrapper.h [11/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_texture_intrinsics.h [12/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_hip_cmath.h [13/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_hip_libdevice_declares.h [14/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_hip_math.h [15/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_hip_runtime_wrapper.h [16/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_hip_stdlib.h [17/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__wmmintrin_aes.h [18/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__wmmintrin_pclmul.h [19/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/adxintrin.h [20/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/altivec.h [21/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ammintrin.h [22/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/amxcomplexintrin.h [23/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/amxfp16intrin.h [24/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/amxintrin.h [25/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx2intrin.h [26/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512bf16intrin.h [27/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512bitalgintrin.h [28/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512bwintrin.h [29/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512cdintrin.h [30/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512dqintrin.h [31/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512erintrin.h [32/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512fintrin.h [33/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512fp16intrin.h [34/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512ifmaintrin.h [35/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512ifmavlintrin.h [36/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512pfintrin.h [37/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vbmi2intrin.h [38/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vbmiintrin.h [39/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vbmivlintrin.h [40/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlbf16intrin.h [41/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlbitalgintrin.h [42/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlbwintrin.h [43/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlcdintrin.h [44/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vldqintrin.h [45/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlfp16intrin.h [46/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlintrin.h [47/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlvbmi2intrin.h [48/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlvnniintrin.h [49/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlvp2intersectintrin.h [50/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vnniintrin.h [51/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vp2intersectintrin.h [52/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vpopcntdqintrin.h [53/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vpopcntdqvlintrin.h [54/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avxifmaintrin.h [55/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avxintrin.h [56/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avxneconvertintrin.h [57/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avxvnniint16intrin.h [58/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avxvnniint8intrin.h [59/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avxvnniintrin.h [60/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/bmi2intrin.h [61/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/bmiintrin.h [62/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/builtins.h [63/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cet.h [64/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cetintrin.h [65/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cldemoteintrin.h [66/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/clflushoptintrin.h [67/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/clwbintrin.h [68/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/clzerointrin.h [69/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cmpccxaddintrin.h [70/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cpuid.h [71/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/crc32intrin.h [72/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cuda_wrappers/algorithm [73/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cuda_wrappers/cmath [77/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cuda_wrappers/complex [78/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cuda_wrappers/new [79/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/emmintrin.h [80/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/enqcmdintrin.h [81/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/f16cintrin.h [82/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/fma4intrin.h [83/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/fmaintrin.h [84/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/fxsrintrin.h [85/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/gfniintrin.h [86/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/hexagon_circ_brev_intrinsics.h [87/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/hexagon_protos.h [88/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/hexagon_types.h [89/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/hlsl.h [90/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/hresetintrin.h [91/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/htmintrin.h [92/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/htmxlintrin.h [93/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/hvx_hexagon_protos.h [94/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ia32intrin.h [95/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/immintrin.h [96/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/intrin.h [97/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/invpcidintrin.h [98/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/keylockerintrin.h [99/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/larchintrin.h [100/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/lasxintrin.h [101/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/llvm_libc_wrappers/stdio.h [102/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/lsxintrin.h [103/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/lwpintrin.h [104/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/lzcntintrin.h [105/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/mm3dnow.h [106/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/mm_malloc.h [107/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/mmintrin.h [108/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/movdirintrin.h [109/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/msa.h [110/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/mwaitxintrin.h [111/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/nmmintrin.h [112/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/opencl-c.h [113/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/openmp_wrappers/math.h [114/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/pconfigintrin.h [115/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/pkuintrin.h [116/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/pmmintrin.h [117/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/popcntintrin.h [118/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/bmi2intrin.h [119/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/bmiintrin.h [120/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/emmintrin.h [121/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/immintrin.h [122/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/mm_malloc.h [123/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/mmintrin.h [124/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/pmmintrin.h [125/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/smmintrin.h [126/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/tmmintrin.h [127/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/x86gprintrin.h [128/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/x86intrin.h [129/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/xmmintrin.h [130/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/prfchiintrin.h [131/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/prfchwintrin.h [132/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ptwriteintrin.h [133/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/raointintrin.h [134/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/rdpruintrin.h [135/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/rdseedintrin.h [136/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/rtmintrin.h [137/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/s390intrin.h [138/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/serializeintrin.h [139/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/sgxintrin.h [140/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/sha512intrin.h [141/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/shaintrin.h [142/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/sm3intrin.h [143/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/sm4intrin.h [144/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/smmintrin.h [145/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/tbmintrin.h [146/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/tmmintrin.h [147/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/tsxldtrkintrin.h [148/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/uintrintrin.h [149/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/vaesintrin.h [150/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/vecintrin.h [151/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/velintrin.h [152/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/velintrin_approx.h [153/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/velintrin_gen.h [154/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/vpclmulqdqintrin.h [155/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/waitpkgintrin.h [156/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/wasm_simd128.h [157/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/wbnoinvdintrin.h [158/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/wmmintrin.h [159/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/x86gprintrin.h [160/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/x86intrin.h [161/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/xmmintrin.h [162/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/xopintrin.h [163/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/xsavecintrin.h [164/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/xsaveintrin.h [165/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/xsaveoptintrin.h [166/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/xsavesintrin.h [167/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/xtestintrin.h [168/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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 [171/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/loongarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive/HTMLLogger.inc HTMLLogger.html HTMLLogger.css HTMLLogger.js [172/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/scan-build && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/ [173/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/scan-build && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/libexec/ [174/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/scan-build && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/libexec/ [175/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/scan-build && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/share/man/man1/ [176/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/scan-build && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/share/scan-build/ [177/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/scan-build && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/share/scan-build/ [178/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/ [179/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/ [180/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/scan-build-py [181/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/ [182/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/libear/ [183/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/libear/ [184/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/libear/ [185/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/ [186/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/ [187/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/ [188/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/ [189/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/ [190/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/ [191/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/libscanbuild && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/resources [192/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/libexec/ [193/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/libscanbuild && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/resources [194/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/ [195/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/libexec/ [196/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/libexec/ [197/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/libscanbuild && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/resources [198/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/libexec/ [199/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/scan-view && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/ [200/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/scan-view && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/share/scan-view/ [201/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/scan-view && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/share/scan-view/ [202/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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/tool/HTMLForestResources.inc HTMLForest.css HTMLForest.js HTMLForest.html [203/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/scan-view && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/share/scan-view/ [204/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/scan-view && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/share/scan-view/ [205/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/docs [206/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp [208/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-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 [209/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-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 [210/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-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 [211/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-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 [212/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-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 [213/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-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 [214/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [215/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOpcodesEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOpcodesEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOpcodesEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangOpcodesEmitter.cpp [217/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangSyntaxEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangSyntaxEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangSyntaxEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangSyntaxEmitter.cpp [218/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/clang-tidy/misc/ConfusableTable/CMakeFiles/clang-tidy-confusable-chars-gen.dir/BuildConfusableTable.cpp.o -o bin/clang-tidy-confusable-chars-gen /usr/lib64/libLLVM-17.so && : [219/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc/Confusables.inc [220/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-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 [221/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-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 [222/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-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 [223/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [224/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 && : [225/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-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 [226/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-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 [227/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/PropertiesBase.td --write-if-changed -o include/clang/AST/AbstractBasicWriter.inc -d include/clang/AST/AbstractBasicWriter.inc.d [236/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/../Basic/CommentNodes.td --write-if-changed -o include/clang/AST/CommentNodes.inc -d include/clang/AST/CommentNodes.inc.d [237/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/CommentHTMLTags.td --write-if-changed -o include/clang/AST/CommentHTMLTags.inc -d include/clang/AST/CommentHTMLTags.inc.d [238/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/CommentHTMLTags.td --write-if-changed -o include/clang/AST/CommentHTMLTagsProperties.inc -d include/clang/AST/CommentHTMLTagsProperties.inc.d [239/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/PropertiesBase.td --write-if-changed -o include/clang/AST/AbstractBasicReader.inc -d include/clang/AST/AbstractBasicReader.inc.d [240/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [241/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [242/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [243/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [244/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [245/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [246/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [247/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [248/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [249/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [250/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [252/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Attr.td --write-if-changed -o include/clang/Basic/AttrList.inc -d include/clang/Basic/AttrList.inc.d [253/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [254/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_sme.td --write-if-changed -o include/clang/Basic/arm_sme_builtins.inc -d include/clang/Basic/arm_sme_builtins.inc.d [255/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [256/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Attr.td --write-if-changed -o include/clang/Basic/AttrHasAttributeImpl.inc -d include/clang/Basic/AttrHasAttributeImpl.inc.d [257/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [258/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [264/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [265/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Parse/../Basic/Attr.td --write-if-changed -o include/clang/Parse/AttrParserStringSwitches.inc -d include/clang/Parse/AttrParserStringSwitches.inc.d [271/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [272/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [273/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [274/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [275/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [276/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [277/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [278/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_mve.td --write-if-changed -o include/clang/Basic/arm_mve_builtin_aliases.inc -d include/clang/Basic/arm_mve_builtin_aliases.inc.d [279/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [280/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [281/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [282/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [284/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [285/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [286/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [287/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [288/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [289/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [290/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [291/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [292/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm64intr.h [293/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [294/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [295/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [296/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [297/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [298/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [299/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_acle.h [300/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [301/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_cmse.h [302/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/riscv_ntlh.h [303/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_neon_sve_bridge.h [304/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/armintr.h [305/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_mve.td --write-if-changed -o include/clang/Basic/arm_mve_builtin_cg.inc -d include/clang/Basic/arm_mve_builtin_cg.inc.d [307/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_sve.td --write-if-changed -o include/clang/Basic/arm_sve_builtins.inc -d include/clang/Basic/arm_sve_builtins.inc.d [312/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [313/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [315/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [316/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [317/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [318/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/iso646.h [319/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/hlsl/hlsl_basic_types.h [320/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/llvm_libc_wrappers/ctype.h [321/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/llvm_libc_wrappers/stdlib.h [322/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/openmp_wrappers/complex_cmath.h [323/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/openmp_wrappers/complex.h [324/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/openmp_wrappers/cmath [325/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/openmp_wrappers/new [326/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/float.h [327/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/hlsl/hlsl_intrinsics.h [328/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/llvm_libc_wrappers/string.h [329/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__stddef_max_align_t.h [330/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/inttypes.h [331/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/limits.h [332/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/llvm_libc_wrappers/inttypes.h [333/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/module.modulemap [334/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/opencl-c-base.h [335/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/openmp_wrappers/__clang_openmp_device_functions.h [336/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/openmp_wrappers/complex [337/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/sifive_vector.h [338/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/stdalign.h [339/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/stdarg.h [340/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/stdatomic.h [341/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/stdbool.h [342/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/stddef.h [343/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/stdint.h [344/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/unwind.h [345/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/varargs.h [346/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/vadefs.h [347/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/tgmath.h [348/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/stdnoreturn.h [349/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/Headers/arm_mve.h /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_mve.h [350/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/Headers/riscv_vector.h /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/riscv_vector.h [351/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/Headers/arm_sme_draft_spec_subject_to_change.h /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_sme_draft_spec_subject_to_change.h [352/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/Headers/arm_cde.h /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_cde.h [353/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/Headers/arm_sve.h /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_sve.h [354/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/Headers/arm_fp16.h /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_fp16.h [355/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/Headers/arm_bf16.h /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_bf16.h [356/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/Basic/VCSVersion.inc -DLLVM_VC_REPOSITORY= -DLLVM_VC_REVISION= -P /usr/lib64/cmake/llvm/GenerateVersionFromVCS.cmake [357/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/Headers/arm_neon.h /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_neon.h [358/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [364/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/PPConditionalDirectiveRecord.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/PPConditionalDirectiveRecord.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/PPConditionalDirectiveRecord.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/PPConditionalDirectiveRecord.cpp [365/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [366/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [367/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [369/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [370/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [372/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [373/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [374/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/TokenConcatenation.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/TokenConcatenation.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/TokenConcatenation.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/TokenConcatenation.cpp [375/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/FileEntry.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/FileEntry.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/FileEntry.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileEntry.cpp [376/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [377/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [378/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [379/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [381/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [382/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [383/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [384/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [385/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/InitHeaderSearch.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/InitHeaderSearch.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/InitHeaderSearch.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/InitHeaderSearch.cpp [386/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [387/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/ParsedAttrInfo.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/ParsedAttrInfo.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/ParsedAttrInfo.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/ParsedAttrInfo.cpp [388/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [389/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Stack.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Stack.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Stack.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Stack.cpp [391/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [392/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [393/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [394/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [395/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [396/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [397/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [398/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [399/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/TargetID.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/TargetID.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/TargetID.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/TargetID.cpp [400/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [401/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Diagnostic.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Diagnostic.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Diagnostic.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Diagnostic.cpp [402/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [403/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [404/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [405/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [407/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/BPF.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/BPF.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/BPF.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/BPF.cpp [408/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [409/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [410/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [411/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [412/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [413/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [414/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/CSKY.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/CSKY.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/CSKY.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/CSKY.cpp [415/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [417/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [418/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [419/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [420/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [421/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [423/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [424/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [425/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [427/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [428/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [429/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [430/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [431/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [432/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [433/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [434/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [435/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [436/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [437/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [440/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [441/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Sparc.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Sparc.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Sparc.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/Sparc.cpp [442/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [443/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [444/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [445/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [446/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [447/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [448/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/XRayLists.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/XRayLists.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/XRayLists.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/XRayLists.cpp [449/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [450/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [451/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/X86.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/X86.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/X86.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/X86.cpp [454/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/CommentCommandTraits.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/CommentCommandTraits.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/CommentCommandTraits.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/CommentCommandTraits.cpp [455/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [456/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ASTConcept.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ASTConcept.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ASTConcept.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ASTConcept.cpp [457/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [458/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [460/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [461/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseDeclCXX.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseDeclCXX.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseDeclCXX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseDeclCXX.cpp [462/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [463/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [464/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [465/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [466/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/CommentParser.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/CommentParser.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/CommentParser.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/CommentParser.cpp [467/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [468/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ASTDiagnostic.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ASTDiagnostic.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ASTDiagnostic.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ASTDiagnostic.cpp [469/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [470/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/DataCollection.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/DataCollection.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/DataCollection.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/DataCollection.cpp [471/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/DeclGroup.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/DeclGroup.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/DeclGroup.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/DeclGroup.cpp [472/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ASTStructuralEquivalence.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ASTStructuralEquivalence.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ASTStructuralEquivalence.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ASTStructuralEquivalence.cpp [473/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [475/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [476/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [477/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [478/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [479/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [480/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [481/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/DeclOpenMP.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/DeclOpenMP.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/DeclOpenMP.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/DeclOpenMP.cpp [482/2015] : && /usr/bin/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 && : [483/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 && : [484/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [485/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [486/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 && : [487/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [488/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [489/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [490/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [491/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ExprConcepts.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ExprConcepts.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ExprConcepts.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ExprConcepts.cpp [492/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [493/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [494/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [495/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [496/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [497/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Frame.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Frame.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Frame.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Frame.cpp [498/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [499/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [500/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [501/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [502/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ASTImporterLookupTable.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ASTImporterLookupTable.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ASTImporterLookupTable.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ASTImporterLookupTable.cpp [503/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [504/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [505/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [506/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [507/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [508/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [509/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [510/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [511/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [512/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [513/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [514/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [515/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [516/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [517/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [518/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [519/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Source.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Source.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Source.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Source.cpp [520/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [521/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [523/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [525/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [526/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [527/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [528/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [531/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [532/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [533/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [534/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [535/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Program.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Program.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Program.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.cpp [536/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [537/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [538/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/RecordLayout.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/RecordLayout.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/RecordLayout.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/RecordLayout.cpp [539/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [540/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [541/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [542/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/StmtIterator.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/StmtIterator.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/StmtIterator.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/StmtIterator.cpp [543/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [544/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [545/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [547/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [549/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/StmtObjC.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/StmtObjC.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/StmtObjC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/StmtObjC.cpp [550/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ODRHash.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ODRHash.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ODRHash.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ODRHash.cpp [552/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [553/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [554/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [555/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [556/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [557/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [559/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/TypeLoc.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/TypeLoc.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/TypeLoc.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/TypeLoc.cpp [560/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [561/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [562/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [564/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [565/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [566/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [567/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [568/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [569/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [570/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [571/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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; | ^ [572/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [574/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [575/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [576/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [577/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [578/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [580/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [582/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [583/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/EvalEmitter.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/EvalEmitter.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/EvalEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/EvalEmitter.cpp In file included from /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/EvalEmitter.cpp:11: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'clang::interp::InitGlobalTemp<(clang::interp::PrimType)8, clang::interp::Boolean>(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int, clang::LifetimeExtendedTemporaryDecl const*)bool [clone .isra.0]': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ In file included from /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/InterpFrame.h:17, from /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/InterpState.h:18, from /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/EvalEmitter.h:19, from /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/EvalEmitter.cpp:9: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In file included from /usr/include/c++/12/memory:75, from /usr/include/llvm/Support/Casting.h:20, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/LLVM.h:21, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/APValue.h:16, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/Decl.h:16, from /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeGenError.h:12, from /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/EvalEmitter.h:16: In member function 'std::unique_ptr >::~unique_ptr()', inlined from 'llvm::detail::DoubleAPFloat::~DoubleAPFloat()' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'llvm::detail::DoubleAPFloat::operator=(llvm::detail::DoubleAPFloat&&)' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'llvm::detail::DoubleAPFloat::operator=(llvm::detail::DoubleAPFloat&&)' at /usr/include/llvm/ADT/APFloat.h:1417:16, inlined from 'llvm::APFloat::Storage::operator=(llvm::APFloat::Storage&&)' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'llvm::APFloat::Storage::operator=(llvm::APFloat::Storage&&)' at /usr/include/llvm/ADT/APFloat.h:841:14, inlined from 'llvm::APFloat::operator=(llvm::APFloat&&)' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'clang::interp::Floating::operator=(clang::interp::Floating&&)' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'clang::interp::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; | ^ In member function 'std::unique_ptr >::~unique_ptr()', inlined from 'llvm::detail::DoubleAPFloat::~DoubleAPFloat()' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'llvm::detail::DoubleAPFloat::operator=(llvm::detail::DoubleAPFloat&&)' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'llvm::detail::DoubleAPFloat::operator=(llvm::detail::DoubleAPFloat&&)' at /usr/include/llvm/ADT/APFloat.h:1417:16, inlined from 'llvm::APFloat::Storage::operator=(llvm::APFloat::Storage&&)' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'llvm::APFloat::Storage::operator=(llvm::APFloat::Storage&&)' at /usr/include/llvm/ADT/APFloat.h:841:14, inlined from 'llvm::APFloat::operator=(llvm::APFloat&&)' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'clang::interp::Floating::operator=(clang::interp::Floating&&)' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'clang::interp::InitGlobalTemp<(clang::interp::PrimType)9, clang::interp::Floating>(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int, clang::LifetimeExtendedTemporaryDecl const*)bool [clone .isra.0]' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'clang::interp::InitGlobalTemp<(clang::interp::PrimType)9, clang::interp::Floating>(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int, clang::LifetimeExtendedTemporaryDecl const*)bool [clone .isra.0]': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | ^ In function 'clang::interp::InitGlobal<(clang::interp::PrimType)8, clang::interp::Boolean>(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool', inlined from 'clang::interp::EvalEmitter::emitInitGlobalBool(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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; | ^ [584/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/VariantValue.cpp.o -MF lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/VariantValue.cpp.o.d -o lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/VariantValue.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers/Dynamic/VariantValue.cpp [586/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [587/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/CodeCompleteConsumer.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/CodeCompleteConsumer.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/CodeCompleteConsumer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/CodeCompleteConsumer.cpp [588/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [589/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [590/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [591/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [592/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [593/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [595/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-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 [596/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [597/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaHLSL.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaHLSL.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaHLSL.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaHLSL.cpp [598/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [599/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [600/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [601/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [603/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [604/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCoroutine.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCoroutine.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCoroutine.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaCoroutine.cpp [605/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [607/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [609/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [610/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 && : [611/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [612/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [613/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [614/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 && : [615/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [616/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [618/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmtAsm.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmtAsm.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmtAsm.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaStmtAsm.cpp [619/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [620/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [621/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [622/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [623/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [624/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [625/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [626/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [627/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [628/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [630/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCUDARuntime.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCUDARuntime.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCUDARuntime.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGCUDARuntime.cpp [631/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [632/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [633/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCXXABI.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCXXABI.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCXXABI.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGCXXABI.cpp [635/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [636/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [637/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaType.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaType.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaType.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaType.cpp [640/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [641/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [642/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [644/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [645/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [648/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [649/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [650/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [651/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGGPUBuiltin.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGGPUBuiltin.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGGPUBuiltin.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGGPUBuiltin.cpp [652/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [653/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [654/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [655/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [656/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [658/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDecl.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDecl.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDecl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGDecl.cpp [659/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [660/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [661/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [662/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [663/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [664/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [665/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [666/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [668/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [669/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [670/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [671/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/MacroPPCallbacks.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/MacroPPCallbacks.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/MacroPPCallbacks.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/MacroPPCallbacks.cpp [674/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [675/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [677/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenMPRuntimeGPU.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenMPRuntimeGPU.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenMPRuntimeGPU.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGOpenMPRuntimeGPU.cpp [678/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [680/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [681/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [682/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [683/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [684/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [685/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenAction.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenAction.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenAction.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CodeGenAction.cpp [687/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [688/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [689/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AArch64.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AArch64.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AArch64.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/AArch64.cpp [690/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [691/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [692/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [694/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [695/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AMDGPU.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AMDGPU.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AMDGPU.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/AMDGPU.cpp [696/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [697/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [698/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [699/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [700/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/VarBypassDetector.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/VarBypassDetector.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/VarBypassDetector.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/VarBypassDetector.cpp [701/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [703/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [704/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [705/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [706/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [708/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [709/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [710/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [711/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/M68k.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/M68k.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/M68k.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/M68k.cpp [712/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [713/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [714/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [715/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFGStmtMap.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFGStmtMap.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFGStmtMap.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/CFGStmtMap.cpp [716/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [717/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [718/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [721/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [722/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [723/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [724/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [725/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [726/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [727/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [728/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [729/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [730/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [731/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [732/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [733/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [734/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [735/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [736/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [737/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [738/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [739/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/PostOrderCFGView.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/PostOrderCFGView.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/PostOrderCFGView.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/PostOrderCFGView.cpp [740/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [741/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [742/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [743/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [744/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [745/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [746/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [748/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [749/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [750/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [751/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [752/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [753/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [754/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/ControlFlowContext.cpp.o -MF lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/ControlFlowContext.cpp.o.d -o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/ControlFlowContext.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/ControlFlowContext.cpp [755/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [757/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [759/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [761/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CalledOnceCheck.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CalledOnceCheck.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CalledOnceCheck.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/CalledOnceCheck.cpp [762/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [763/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [764/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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)) | ^~~~~~~~~~~ [766/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [767/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [768/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [769/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [770/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/Models/CMakeFiles/obj.clangAnalysisFlowSensitiveModels.dir/ChromiumCheckModel.cpp.o -MF lib/Analysis/FlowSensitive/Models/CMakeFiles/obj.clangAnalysisFlowSensitiveModels.dir/ChromiumCheckModel.cpp.o.d -o lib/Analysis/FlowSensitive/Models/CMakeFiles/obj.clangAnalysisFlowSensitiveModels.dir/ChromiumCheckModel.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/Models/ChromiumCheckModel.cpp [771/2015] : && /usr/bin/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 && : [772/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [773/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/TypedefUnderlyingTypeResolver.cpp.o -MF lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/TypedefUnderlyingTypeResolver.cpp.o.d -o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/TypedefUnderlyingTypeResolver.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI/TypedefUnderlyingTypeResolver.cpp [774/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [775/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [776/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 && : [777/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [778/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [779/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 && : [780/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/Action.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/Action.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/Action.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Action.cpp [781/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [782/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/API.cpp.o -MF lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/API.cpp.o.d -o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/API.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI/API.cpp [784/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [785/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [786/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [791/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [792/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [793/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [794/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [795/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [796/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [797/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransformActions.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransformActions.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransformActions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransformActions.cpp [798/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/CSKY.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/CSKY.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/CSKY.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Arch/CSKY.cpp [799/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [800/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [803/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [804/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [805/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [806/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/ARM.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/ARM.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/ARM.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Arch/ARM.cpp [807/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/VE.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/VE.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/VE.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Arch/VE.cpp [808/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [809/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [810/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [812/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [813/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [814/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [815/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [817/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Ananas.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Ananas.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Ananas.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Ananas.cpp [818/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [819/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [820/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [821/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [822/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AMDGPUOpenMP.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AMDGPUOpenMP.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AMDGPUOpenMP.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/AMDGPUOpenMP.cpp [823/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [824/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [825/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [826/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [827/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [828/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [829/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [830/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [831/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/Models/CMakeFiles/obj.clangAnalysisFlowSensitiveModels.dir/UncheckedOptionalAccessModel.cpp.o -MF lib/Analysis/FlowSensitive/Models/CMakeFiles/obj.clangAnalysisFlowSensitiveModels.dir/UncheckedOptionalAccessModel.cpp.o.d -o lib/Analysis/FlowSensitive/Models/CMakeFiles/obj.clangAnalysisFlowSensitiveModels.dir/UncheckedOptionalAccessModel.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.cpp [832/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [833/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [834/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [835/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Flang.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Flang.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Flang.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Flang.cpp [836/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPUtility.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPUtility.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPUtility.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/HIPUtility.cpp [837/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [838/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [839/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [840/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [841/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [842/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [843/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [844/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [845/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [846/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [847/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [848/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [849/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [850/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [851/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [852/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [853/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [855/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [856/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [857/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [858/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [859/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [861/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [863/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Solaris.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Solaris.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Solaris.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Solaris.cpp [864/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [865/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [867/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [868/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [869/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [870/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [871/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [872/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [873/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [874/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [875/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [878/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [880/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [881/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [882/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [883/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleFile.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleFile.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleFile.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/ModuleFile.cpp [884/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [885/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [887/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [888/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [889/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [890/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [891/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [892/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [893/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [895/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [896/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [897/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/HeaderIncludeGen.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/HeaderIncludeGen.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/HeaderIncludeGen.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/HeaderIncludeGen.cpp [898/2015] : && /usr/bin/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 && : [899/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [900/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [901/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [902/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [904/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [905/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [906/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [907/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [908/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [909/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 && : [910/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnostic.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnostic.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnostic.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/TextDiagnostic.cpp [911/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/FixItRewriter.cpp.o -MF lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/FixItRewriter.cpp.o.d -o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/FixItRewriter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite/FixItRewriter.cpp [913/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [914/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [915/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [916/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [917/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [918/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [919/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [921/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [923/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [924/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [925/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [926/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [927/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [928/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [929/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [930/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Core/CMakeFiles/obj.clangToolingCore.dir/Replacement.cpp.o -MF lib/Tooling/Core/CMakeFiles/obj.clangToolingCore.dir/Replacement.cpp.o.d -o lib/Tooling/Core/CMakeFiles/obj.clangToolingCore.dir/Replacement.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Core/Replacement.cpp [931/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/HeaderIncludes.cpp.o -MF lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/HeaderIncludes.cpp.o.d -o lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/HeaderIncludes.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Inclusions/HeaderIncludes.cpp [932/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [936/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [937/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [938/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [939/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [940/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [941/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [942/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [943/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [944/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Extract/Extract.cpp.o -MF lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Extract/Extract.cpp.o.d -o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Extract/Extract.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring/Extract/Extract.cpp [945/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [946/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [947/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [948/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Mutations.cpp.o -MF lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Mutations.cpp.o.d -o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Mutations.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax/Mutations.cpp [949/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [950/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTUnit.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTUnit.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTUnit.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/ASTUnit.cpp [951/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [952/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/AtomicChange.cpp.o -MF lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/AtomicChange.cpp.o.d -o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/AtomicChange.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring/AtomicChange.cpp [953/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [954/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [955/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [956/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [957/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [958/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 && : [959/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/DirectoryWatcher/CMakeFiles/obj.clangDirectoryWatcher.dir/linux/DirectoryWatcher-linux.cpp.o -MF lib/DirectoryWatcher/CMakeFiles/obj.clangDirectoryWatcher.dir/linux/DirectoryWatcher-linux.cpp.o.d -o lib/DirectoryWatcher/CMakeFiles/obj.clangDirectoryWatcher.dir/linux/DirectoryWatcher-linux.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/DirectoryWatcher/linux/DirectoryWatcher-linux.cpp [960/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [961/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 && : [962/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteModernObjC.cpp.o -MF lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteModernObjC.cpp.o.d -o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteModernObjC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite/RewriteModernObjC.cpp [963/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [964/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/RenamingAction.cpp.o -MF lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/RenamingAction.cpp.o.d -o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/RenamingAction.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring/Rename/RenamingAction.cpp [965/2015] : && /usr/bin/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 && : [966/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [967/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 && : [968/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 && : [969/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 && : [970/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 && : [971/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [972/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [973/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [974/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [975/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [976/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 && : [977/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [978/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [979/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [980/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [981/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [982/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [983/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [984/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [985/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [986/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 && : [987/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [988/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [989/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [990/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [991/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [992/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [993/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [994/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [995/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [996/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [997/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [999/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1000/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1001/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1002/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1003/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1004/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1005/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1006/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1007/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Index/CMakeFiles/obj.clangIndex.dir/IndexingAction.cpp.o -MF lib/Index/CMakeFiles/obj.clangIndex.dir/IndexingAction.cpp.o.d -o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexingAction.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Index/IndexingAction.cpp [1008/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1009/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1010/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1011/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1012/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1013/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1014/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1015/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1016/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1017/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1018/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1019/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1020/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1021/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1022/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 && : [1023/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1024/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1025/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1026/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1027/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 && : [1028/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1030/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1031/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1032/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1033/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1034/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1035/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1037/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1038/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1039/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1040/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1041/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1042/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ProgramState.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ProgramState.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ProgramState.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp [1043/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1044/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1045/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1046/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1047/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1048/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1049/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1050/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1051/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1052/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1053/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1054/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BugReporterVisitors.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BugReporterVisitors.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BugReporterVisitors.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp In file included from /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/DiagnosticIDs.h:18, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.h:17, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/NestedNameSpecifier.h:18, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/Type.h:21, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/DeclarationName.h:16, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/DeclBase.h:18, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/Analysis/AnalysisDeclContext.h:20, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/Analysis/ProgramPoint.h:17, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h:17, from /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:14: In member function 'llvm::RefCountedBase::Release() const', inlined from 'llvm::IntrusiveRefCntPtrInfo::release(clang::ento::bugreporter::Tracker*)' at /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:159:45, inlined from 'llvm::IntrusiveRefCntPtr::release()' at /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41, inlined from 'llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr()' at /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34, inlined from 'std::make_unique<(anonymous namespace)::StoreSiteFinder, clang::ento::bugreporter::Tracker*, clang::ento::KnownSVal&, clang::ento::MemRegion const*&, clang::ento::bugreporter::TrackingOptions&, clang::StackFrameContext const*&>(clang::ento::bugreporter::Tracker*&&, clang::ento::KnownSVal&, clang::ento::MemRegion const*&, clang::ento::bugreporter::TrackingOptions&, clang::StackFrameContext const*&)std::__detail::_MakeUniq<(anonymous namespace)::StoreSiteFinder>::__single_object' at /usr/include/c++/12/bits/unique_ptr.h:1065:30, inlined from 'clang::ento::PathSensitiveBugReport::addVisitor<(anonymous namespace)::StoreSiteFinder, clang::ento::bugreporter::Tracker*, clang::ento::KnownSVal&, clang::ento::MemRegion const*&, clang::ento::bugreporter::TrackingOptions&, clang::StackFrameContext const*&>(clang::ento::bugreporter::Tracker*&&, clang::ento::KnownSVal&, clang::ento::MemRegion const*&, clang::ento::bugreporter::TrackingOptions&, clang::StackFrameContext const*&)void' at /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:499:15, inlined from 'clang::ento::bugreporter::Tracker::track(clang::ento::SVal, clang::ento::MemRegion const*, clang::ento::bugreporter::TrackingOptions, clang::StackFrameContext const*)' at /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:2642:39: /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:100:11: warning: pointer used after 'operator delete(void*, unsigned long)' [-Wuse-after-free] 100 | if (--RefCount == 0) | ^~~~~~~~ In member function 'clang::ento::bugreporter::Tracker::~Tracker()', inlined from 'llvm::RefCountedBase::Release() const' at /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:101:7, inlined from 'llvm::RefCountedBase::Release() const' at /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:98:8, inlined from 'llvm::IntrusiveRefCntPtrInfo::release(clang::ento::bugreporter::Tracker*)' at /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:159:45, inlined from 'llvm::IntrusiveRefCntPtr::release()' at /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41, inlined from 'llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr()' at /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34, inlined from '__ct ' at /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:1219:28, inlined from 'std::make_unique<(anonymous namespace)::StoreSiteFinder, clang::ento::bugreporter::Tracker*, clang::ento::KnownSVal&, clang::ento::MemRegion const*&, clang::ento::bugreporter::TrackingOptions&, clang::StackFrameContext const*&>(clang::ento::bugreporter::Tracker*&&, clang::ento::KnownSVal&, clang::ento::MemRegion const*&, clang::ento::bugreporter::TrackingOptions&, clang::StackFrameContext const*&)std::__detail::_MakeUniq<(anonymous namespace)::StoreSiteFinder>::__single_object' at /usr/include/c++/12/bits/unique_ptr.h:1065:30, inlined from 'clang::ento::PathSensitiveBugReport::addVisitor<(anonymous namespace)::StoreSiteFinder, clang::ento::bugreporter::Tracker*, clang::ento::KnownSVal&, clang::ento::MemRegion const*&, clang::ento::bugreporter::TrackingOptions&, clang::StackFrameContext const*&>(clang::ento::bugreporter::Tracker*&&, clang::ento::KnownSVal&, clang::ento::MemRegion const*&, clang::ento::bugreporter::TrackingOptions&, clang::StackFrameContext const*&)void' at /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:499:15, inlined from 'clang::ento::bugreporter::Tracker::track(clang::ento::SVal, clang::ento::MemRegion const*, clang::ento::bugreporter::TrackingOptions, clang::StackFrameContext const*)' at /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:2642:39: /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h:187:11: note: call to 'operator delete(void*, unsigned long)' here 187 | virtual ~Tracker() = default; | ^ [1055/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1056/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1057/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1058/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1059/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1060/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1061/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1062/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1063/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1065/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1066/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1067/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1068/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1069/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1070/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1071/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1072/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1073/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1075/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1076/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1077/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 && : [1078/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1081/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1083/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1084/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 && : [1085/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1086/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1087/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1088/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1089/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 && : [1090/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 && : [1091/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1092/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1093/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1094/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1095/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1096/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1097/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1098/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1099/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1100/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1101/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1102/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1103/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1104/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1105/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1106/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1107/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1108/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1109/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1111/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1112/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1113/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1115/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1116/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1117/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1118/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1119/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1120/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1121/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1122/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1123/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1124/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1125/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1126/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1127/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1128/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1129/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1130/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1131/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1132/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1133/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1134/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1135/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1136/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1138/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1139/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1140/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1141/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1142/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1143/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1144/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1145/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1146/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1147/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1149/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1150/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1151/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1152/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1153/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1154/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1155/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1156/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1157/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1158/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1159/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1160/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/Taint.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/Taint.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/Taint.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/Taint.cpp [1161/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1162/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1163/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1164/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1165/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1166/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1167/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1168/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1169/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1170/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1171/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1172/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1173/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1174/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1175/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1176/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1177/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1178/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1179/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1180/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1182/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1183/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1184/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1186/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1187/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1188/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1189/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1190/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1191/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1192/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1193/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1194/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [1195/2015] /usr/bin/gcc -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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 [1196/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1197/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [1198/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1200/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1201/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1202/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1203/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1204/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1205/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1206/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1207/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1208/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1209/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1211/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1212/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1213/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1214/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1215/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1216/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1217/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1218/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1219/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1221/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1222/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1223/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1224/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1225/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/AnalysisConsumer.cpp.o -MF lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/AnalysisConsumer.cpp.o.d -o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/AnalysisConsumer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp [1226/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1227/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1228/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1229/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1230/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1231/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1233/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1234/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1235/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1236/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1237/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1238/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1239/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1240/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1241/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1242/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1245/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1246/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1247/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1248/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1249/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1250/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/KernelNameRestrictionCheck.cpp.o -MF tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/KernelNameRestrictionCheck.cpp.o.d -o tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/KernelNameRestrictionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/altera/KernelNameRestrictionCheck.cpp [1251/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1252/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1253/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1254/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1255/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1256/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1257/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1258/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1259/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1260/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1261/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1262/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1263/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1264/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1265/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1266/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1267/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1268/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1270/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1272/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1273/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1274/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1275/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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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; | [1276/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/StaticallyConstructedObjectsCheck.cpp.o -MF tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/StaticallyConstructedObjectsCheck.cpp.o.d -o tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/StaticallyConstructedObjectsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia/StaticallyConstructedObjectsCheck.cpp [1277/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1278/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 && : [1279/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1280/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1281/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/Tooling && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux -I /usr/include/c++/12/backward -I /usr/lib/gcc/loongarch64-OpenCloudOS-linux/12/include -I /usr/local/include -I /usr/include --json-output-path /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/Tooling/ASTNodeAPI.json [1282/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/Tooling/NodeIntrospection.inc /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include/clang/Tooling/NodeIntrospection.inc [1283/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 && : [1284/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1285/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1286/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1287/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1288/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1289/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1290/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/IntegerTypesCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/IntegerTypesCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/IntegerTypesCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/IntegerTypesCheck.cpp [1292/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1293/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1294/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1295/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1296/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1297/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1298/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1299/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1300/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1301/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1302/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1303/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1304/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1305/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1306/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1307/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1308/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1309/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1310/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1311/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1312/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1313/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1314/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1315/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1316/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1317/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1318/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1319/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 && : [1320/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp [1321/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1322/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1323/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1324/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1325/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 && : [1326/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1327/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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/loongarch64-OpenCloudOS-linux-gnu/tools/clang-scan-deps/clang-scan-deps-driver.cpp [1328/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1329/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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/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 -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/loongarch64-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 && : [1331/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 && : [1332/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1333/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1334/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1335/2015] /usr/bin/gcc -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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 [1336/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1337/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 && : [1338/2015] /usr/bin/gcc -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -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 [1339/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1340/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1341/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1342/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1343/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1344/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1345/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 && : [1346/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1347/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1348/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1349/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1350/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1351/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1352/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1353/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1354/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1355/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1356/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1357/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1358/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1359/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 && : [1360/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1361/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 && : [1362/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1363/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1364/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1365/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1366/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1367/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1368/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1369/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1370/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1371/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1372/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1373/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1374/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1375/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1376/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1377/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1378/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1379/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1380/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1381/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1382/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1383/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1384/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1385/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1386/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1387/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1388/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1389/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1390/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1391/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1392/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1393/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1394/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1395/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1396/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1397/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1398/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1399/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1400/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1401/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1402/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1403/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1404/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1405/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1406/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1408/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 && : [1409/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 && : [1410/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 && : [1411/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1412/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 && : [1413/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1414/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 && : [1415/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 && : [1416/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 && : [1417/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1418/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1419/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1420/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1421/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1422/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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-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 && : [1423/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1425/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1426/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1427/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1428/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1429/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1430/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1431/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1432/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1433/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1434/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1435/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1436/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1437/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1438/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1439/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1440/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1441/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1442/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1443/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1444/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1445/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1446/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1447/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1448/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1449/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1450/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1451/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1453/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1454/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1455/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1457/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1459/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1460/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1461/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1462/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1463/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1464/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1465/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1466/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1467/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1468/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1469/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1471/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1472/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1473/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1474/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1475/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1476/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1478/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1479/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1480/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1481/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1482/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1483/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1484/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1485/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1486/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1487/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1488/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1489/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1490/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1491/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1492/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1493/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1494/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1495/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1496/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1497/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1498/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1499/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1500/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1502/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1503/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1504/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1505/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1506/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1507/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1508/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1509/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1510/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1511/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1512/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1513/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1514/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1515/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1516/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1518/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1520/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1521/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1522/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1523/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1524/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1525/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1526/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1527/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1528/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1529/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1530/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1531/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1532/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1533/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1534/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1535/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1536/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1537/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1538/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1540/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1541/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1542/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1543/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1544/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1545/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1547/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1549/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1550/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1551/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1552/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1554/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1555/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1556/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1557/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1558/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1559/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1560/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1561/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1562/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1563/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1564/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1565/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1566/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1567/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1568/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1569/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1570/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1571/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1572/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1573/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1574/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1575/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1576/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1577/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1578/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1579/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1580/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1581/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1582/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1583/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1584/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1585/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1586/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1587/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1588/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1589/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1590/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1591/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1592/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1593/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1594/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1595/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1597/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1598/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1599/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1600/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1601/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1602/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1603/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1604/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1605/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1606/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1607/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1608/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1609/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1610/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1611/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1612/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1613/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1614/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1615/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1616/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1617/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1618/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1619/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1620/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1621/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1622/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1623/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1624/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1625/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1626/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1627/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1628/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1629/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1630/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1631/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1632/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1633/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1634/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1636/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1637/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1638/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1640/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1642/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1643/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1644/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1645/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1646/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1647/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1648/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1649/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1650/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1652/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1653/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1654/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1655/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1656/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1658/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1659/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1660/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1662/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1663/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1664/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1665/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1666/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1667/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1669/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1670/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1671/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1672/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1673/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1674/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1676/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1677/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1678/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1679/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1680/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1681/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1682/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1683/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1684/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1685/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1686/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1687/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1688/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1689/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1690/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1691/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1692/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1693/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1694/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1695/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1696/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1697/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1698/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1699/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1700/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1701/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1702/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1703/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1704/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1705/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1706/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1707/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1708/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1709/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1710/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1711/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1712/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1713/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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) { | ~~~~~~~~~~~~~~~~^~~~~ [1714/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1715/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1716/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1717/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1718/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1720/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1721/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1722/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1723/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1724/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1725/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1726/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1727/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1729/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1730/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1731/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1732/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1733/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1734/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd --filename CompletionModel --cpp_class clang::clangd::Example [1735/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1736/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1737/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1739/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1740/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1741/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1742/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1743/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1744/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1745/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1746/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1747/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1748/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1749/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1750/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1751/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1752/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1753/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1754/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1755/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1756/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1757/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1758/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1759/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1760/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1761/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1762/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1763/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1764/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1765/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-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 [1766/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1767/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1768/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1769/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1770/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1771/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1772/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1773/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1774/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1775/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1776/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1777/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1778/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1779/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1780/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1781/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1782/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1783/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1784/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 [1785/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1786/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1787/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1788/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1790/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1792/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1794/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1795/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1796/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1797/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1798/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1799/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1800/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1802/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1803/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1804/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1805/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1806/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1807/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1808/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1810/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1811/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1812/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1813/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1814/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1815/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1816/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1817/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1820/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1822/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1823/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1825/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1826/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1827/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1828/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1829/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CodeComplete.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CodeComplete.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CodeComplete.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/CodeComplete.cpp [1830/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1832/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1833/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1834/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1835/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1836/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1837/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1838/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1839/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1840/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1841/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1843/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1844/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1845/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1847/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1848/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1849/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1850/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1851/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1852/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1853/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1854/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1855/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1856/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1857/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1858/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1859/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1860/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1861/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1862/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1863/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/CompletionModel.cpp [1864/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1865/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1866/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1867/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1868/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1869/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1870/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1871/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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-5.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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1874/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1875/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1876/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1877/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [1879/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1880/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 [1881/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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 [1882/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1883/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1885/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1886/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1888/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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-5.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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1890/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1891/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1892/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1893/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1894/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1895/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1897/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1898/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1899/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1900/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1902/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1903/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1904/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1905/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1906/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [1907/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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-5.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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-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 [1909/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/docs && /usr/bin/cmake -E env /usr/bin/sphinx-build -b man -d /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/docs /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/docs/man /usr/lib/python3.11/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document warn("Container node skipped: type={0}".format(mdnode.t)) [1910/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/docs && /usr/bin/cmake -E env /usr/bin/sphinx-build -b html -d /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/docs /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/docs/html /usr/lib/python3.11/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document warn("Container node skipped: type={0}".format(mdnode.t)) [1911/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/docs/html/LibASTMatchersReference.html [1912/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -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 [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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections -Wl,-Bsymbolic-functions -shared -Wl,-soname,libclang-cpp.so.17 -o lib64/libclang-cpp.so.17 lib/Basic/CMakeFiles/obj.clangBasic.dir/Attributes.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Builtins.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/CLWarnings.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/CharInfo.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/CodeGenOptions.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Cuda.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/DarwinSDKInfo.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Diagnostic.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/DiagnosticIDs.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/DiagnosticOptions.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/ExpressionTraits.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/FileEntry.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/FileManager.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/FileSystemStatCache.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/IdentifierTable.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/LangOptions.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/LangStandards.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/MakeSupport.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Module.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/ObjCRuntime.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/OpenCLOptions.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/OpenMPKinds.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/OperatorPrecedence.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/ParsedAttrInfo.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/ProfileList.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/NoSanitizeList.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/SanitizerSpecialCaseList.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Sanitizers.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Sarif.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/SourceLocation.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/SourceManager.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Stack.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/TargetID.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/TargetInfo.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AArch64.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AMDGPU.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/ARC.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/ARM.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AVR.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/BPF.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/CSKY.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/DirectX.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Hexagon.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Lanai.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Le64.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/LoongArch.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/M68k.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/MSP430.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Mips.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/NVPTX.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/OSTargets.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/PNaCl.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/PPC.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/RISCV.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/SPIR.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Sparc.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/SystemZ.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/TCE.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/VE.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/WebAssembly.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/X86.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/XCore.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/TokenKinds.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/TypeTraits.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Version.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Warnings.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/XRayInstr.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/XRayLists.cpp.o lib/APINotes/CMakeFiles/obj.clangAPINotes.dir/APINotesTypes.cpp.o lib/APINotes/CMakeFiles/obj.clangAPINotes.dir/APINotesYAMLCompiler.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/DependencyDirectivesScanner.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/HeaderMap.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/HeaderSearch.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/InitHeaderSearch.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/Lexer.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/LiteralSupport.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/MacroArgs.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/MacroInfo.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/ModuleMap.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PPCaching.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PPCallbacks.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PPConditionalDirectiveRecord.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PPDirectives.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PPExpressions.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PPLexerChange.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PPMacroExpansion.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/Pragma.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PreprocessingRecord.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/Preprocessor.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PreprocessorLexer.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/ScratchBuffer.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/TokenConcatenation.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/TokenLexer.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseAST.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseCXXInlineMethods.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseDecl.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseDeclCXX.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseExpr.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseExprCXX.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseHLSL.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseInit.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseObjc.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseOpenMP.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParsePragma.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseStmt.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseStmtAsm.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseTemplate.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseTentative.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/Parser.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/APValue.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTConcept.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTConsumer.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTContext.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTDiagnostic.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTDumper.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTImporter.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTImporterLookupTable.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTStructuralEquivalence.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTTypeTraits.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/AttrDocTable.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/AttrImpl.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Comment.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/CommentBriefParser.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/CommentCommandTraits.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/CommentLexer.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/CommentParser.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/CommentSema.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ComparisonCategories.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ComputeDependence.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/CXXInheritance.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DataCollection.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Decl.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclarationName.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclBase.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclCXX.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclFriend.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclGroup.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclObjC.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclOpenMP.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclPrinter.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclTemplate.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ParentMapContext.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Expr.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ExprClassification.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ExprConcepts.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ExprConstant.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ExprCXX.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ExprObjC.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ExternalASTMerger.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ExternalASTSource.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/FormatString.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/InheritViz.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeEmitter.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeExprGen.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeGenError.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeStmtGen.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Context.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Descriptor.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Disasm.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/EvalEmitter.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Frame.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Function.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpBuiltin.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Floating.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Interp.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpBlock.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpFrame.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpStack.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpState.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Pointer.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/PrimType.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Program.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Record.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Source.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/State.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ItaniumCXXABI.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ItaniumMangle.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/JSONNodeDumper.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Mangle.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/MicrosoftCXXABI.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/MicrosoftMangle.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/NestedNameSpecifier.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/NSAPI.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ODRDiagsEmitter.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ODRHash.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/OpenMPClause.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/OSLog.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ParentMap.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/PrintfFormatString.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/QualTypeNames.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Randstruct.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/RawCommentList.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/RecordLayout.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/RecordLayoutBuilder.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ScanfFormatString.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/SelectorLocationsKind.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Stmt.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/StmtCXX.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/StmtIterator.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/StmtObjC.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/StmtOpenMP.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/StmtPrinter.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/StmtProfile.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/StmtViz.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/TemplateBase.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/TemplateName.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/TextNodeDumper.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Type.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/TypeLoc.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/TypePrinter.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/VTableBuilder.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/VTTBuilder.cpp.o lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Diagnostics.cpp.o lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Marshallers.cpp.o lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Parser.cpp.o lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Registry.cpp.o lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/VariantValue.cpp.o lib/ASTMatchers/CMakeFiles/obj.clangASTMatchers.dir/ASTMatchFinder.cpp.o lib/ASTMatchers/CMakeFiles/obj.clangASTMatchers.dir/ASTMatchersInternal.cpp.o lib/ASTMatchers/CMakeFiles/obj.clangASTMatchers.dir/GtestMatchers.cpp.o lib/CrossTU/CMakeFiles/obj.clangCrossTU.dir/CrossTranslationUnit.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/AnalysisBasedWarnings.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/CodeCompleteConsumer.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/DeclSpec.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/DelayedDiagnostic.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/HLSLExternalSemaSource.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/IdentifierResolver.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/JumpDiagnostics.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/MultiplexExternalSemaSource.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/ParsedAttr.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/Scope.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/ScopeInfo.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/Sema.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaAccess.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaAttr.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaAvailability.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCXXScopeSpec.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCast.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaChecking.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCodeComplete.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaConcept.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaConsumer.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCoroutine.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCUDA.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDecl.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclAttr.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclCXX.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclObjC.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExceptionSpec.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExpr.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExprCXX.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExprMember.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExprObjC.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaFixItUtils.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaHLSL.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaInit.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaLambda.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaLookup.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaModule.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaObjCProperty.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaOpenMP.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaOverload.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaPseudoObject.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaRISCVVectorLookup.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmt.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmtAsm.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmtAttr.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaSYCL.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplate.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateDeduction.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateInstantiate.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateInstantiateDecl.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateVariadic.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaType.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/TypeLocBuilder.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ABIInfo.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ABIInfoImpl.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/BackendUtil.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGAtomic.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGBlocks.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGBuiltin.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCUDANV.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCUDARuntime.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCXX.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCXXABI.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCall.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGClass.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCleanup.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCoroutine.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDebugInfo.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDecl.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDeclCXX.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGException.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExpr.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprAgg.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprCXX.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprComplex.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprConstant.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprScalar.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGGPUBuiltin.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGHLSLRuntime.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGLoopInfo.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGNonTrivialStruct.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjC.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCGNU.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCMac.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCRuntime.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenCLRuntime.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenMPRuntime.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenMPRuntimeGPU.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGRecordLayoutBuilder.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGStmt.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGStmtOpenMP.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGVTT.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGVTables.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenABITypes.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenAction.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenFunction.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenModule.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenPGO.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenTBAA.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenTypes.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ConstantInitBuilder.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CoverageMappingGen.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ItaniumCXXABI.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/MacroPPCallbacks.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/MicrosoftCXXABI.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ModuleBuilder.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ObjectFilePCHContainerOperations.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/PatternInit.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/SanitizerMetadata.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/SwiftCallingConv.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/TargetInfo.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AArch64.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AMDGPU.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/ARC.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/ARM.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AVR.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/BPF.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/CSKY.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Hexagon.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Lanai.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/LoongArch.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/M68k.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/MSP430.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Mips.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/NVPTX.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/PNaCl.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/PPC.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/RISCV.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/SPIR.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Sparc.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/SystemZ.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/TCE.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/VE.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/WebAssembly.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/X86.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/XCore.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/VarBypassDetector.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/AnalysisDeclContext.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/BodyFarm.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CalledOnceCheck.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFG.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFGReachabilityAnalysis.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFGStmtMap.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CallGraph.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CloneDetection.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CocoaConventions.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ConstructionContext.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/Consumed.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CodeInjector.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/Dominators.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ExprMutationAnalyzer.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/IntervalPartition.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/IssueHash.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/LiveVariables.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/MacroExpansionContext.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ObjCNoReturn.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/PathDiagnostic.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/PostOrderCFGView.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ProgramPoint.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ReachableCode.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/RetainSummaryManager.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafety.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafetyCommon.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafetyLogical.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafetyTIL.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/UninitializedValues.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/UnsafeBufferUsage.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Arena.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/ControlFlowContext.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/DataflowAnalysisContext.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/DataflowEnvironment.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Formula.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/HTMLLogger.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Logger.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/RecordOps.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Transfer.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/TypeErasedDataflowAnalysis.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Value.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/WatchedLiteralsSolver.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/DebugSupport.cpp.o lib/Analysis/FlowSensitive/Models/CMakeFiles/obj.clangAnalysisFlowSensitiveModels.dir/ChromiumCheckModel.cpp.o lib/Analysis/FlowSensitive/Models/CMakeFiles/obj.clangAnalysisFlowSensitiveModels.dir/UncheckedOptionalAccessModel.cpp.o lib/Edit/CMakeFiles/obj.clangEdit.dir/Commit.cpp.o lib/Edit/CMakeFiles/obj.clangEdit.dir/EditedSource.cpp.o lib/Edit/CMakeFiles/obj.clangEdit.dir/RewriteObjCFoundationAPI.cpp.o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/API.cpp.o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/APIIgnoresList.cpp.o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/AvailabilityInfo.cpp.o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/ExtractAPIConsumer.cpp.o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/DeclarationFragments.cpp.o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/Serialization/SymbolGraphSerializer.cpp.o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/TypedefUnderlyingTypeResolver.cpp.o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/DeltaTree.cpp.o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/HTMLRewrite.cpp.o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/RewriteRope.cpp.o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/Rewriter.cpp.o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/TokenRewriter.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/ARCMT.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/ARCMTActions.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/FileRemapper.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/ObjCMT.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/PlistReporter.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransAPIUses.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransARCAssign.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransAutoreleasePool.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransBlockObjCVariable.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransEmptyStatementsAndDealloc.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransGCAttrs.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransGCCalls.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransProperties.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransProtectedScope.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransRetainReleaseDealloc.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransUnbridgedCasts.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransUnusedInitDelegate.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransZeroOutPropsInDealloc.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransformActions.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/Transforms.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Action.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Compilation.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Distro.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Driver.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/DriverOptions.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Job.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Multilib.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/MultilibBuilder.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/OffloadBundler.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/OptionUtils.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Phases.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/SanitizerArgs.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Tool.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChain.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/AArch64.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/ARM.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/CSKY.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/LoongArch.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/M68k.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/Mips.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/PPC.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/RISCV.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/Sparc.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/SystemZ.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/VE.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/X86.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AIX.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Ananas.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AMDGPU.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AMDGPUOpenMP.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AVR.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/BareMetal.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Clang.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CloudABI.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CommonArgs.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Contiki.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CrossWindows.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CSKYToolChain.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Cuda.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Darwin.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/DragonFly.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Flang.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/FreeBSD.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Fuchsia.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Gnu.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Haiku.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPUtility.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPAMD.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPSPV.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Hexagon.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HLSL.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Hurd.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Linux.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MipsLinux.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MinGW.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Minix.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MSP430.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MSVC.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Myriad.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/NaCl.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/NetBSD.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/OHOS.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/OpenBSD.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PS4CPU.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/RISCVToolchain.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Solaris.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/SPIRV.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/TCE.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/VEToolchain.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/WebAssembly.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/XCore.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PPCLinux.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PPCFreeBSD.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/InterfaceStubs.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/ZOS.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Types.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/XRayArgs.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTCommon.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReader.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReaderDecl.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReaderStmt.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriter.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriterDecl.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriterStmt.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/GeneratePCH.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/GlobalModuleIndex.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/InMemoryModuleCache.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleFile.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleFileExtension.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleManager.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/PCHContainerOperations.cpp.o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/FixItRewriter.cpp.o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/FrontendActions.cpp.o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/HTMLPrint.cpp.o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/InclusionRewriter.cpp.o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteMacros.cpp.o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteModernObjC.cpp.o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteObjC.cpp.o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteTest.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTConsumers.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTMerge.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTUnit.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ChainedDiagnosticConsumer.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ChainedIncludesSource.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CompilerInstance.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CompilerInvocation.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CreateInvocationFromCommandLine.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DependencyFile.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DependencyGraph.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DiagnosticRenderer.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendAction.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendActions.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendOptions.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/HeaderIncludeGen.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/InitPreprocessor.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/LayoutOverrideSource.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/LogDiagnosticPrinter.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ModuleDependencyCollector.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/MultiplexConsumer.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/PrecompiledPreamble.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/PrintPreprocessedOutput.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SARIFDiagnostic.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SARIFDiagnosticPrinter.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SerializedDiagnosticPrinter.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SerializedDiagnosticReader.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TestModuleFileExtension.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnostic.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnosticBuffer.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnosticPrinter.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/VerifyDiagnosticConsumer.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/InterfaceStubFunctionsConsumer.cpp.o lib/FrontendTool/CMakeFiles/obj.clangFrontendTool.dir/ExecuteCompilerInvocation.cpp.o lib/Tooling/Core/CMakeFiles/obj.clangToolingCore.dir/Diagnostic.cpp.o lib/Tooling/Core/CMakeFiles/obj.clangToolingCore.dir/Replacement.cpp.o lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/HeaderAnalysis.cpp.o lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/HeaderIncludes.cpp.o lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/IncludeStyle.cpp.o lib/Tooling/Inclusions/Stdlib/CMakeFiles/obj.clangToolingInclusionsStdlib.dir/StandardLibrary.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/ASTSelection.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/ASTSelectionRequirements.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/AtomicChange.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Extract/Extract.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Extract/SourceExtraction.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Lookup.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/RefactoringActions.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/RenamingAction.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/SymbolOccurrences.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRFinder.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRFindingAction.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRLocFinder.cpp.o lib/Tooling/ASTDiff/CMakeFiles/obj.clangToolingASTDiff.dir/ASTDiff.cpp.o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/BuildTree.cpp.o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/ComputeReplacements.cpp.o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Nodes.cpp.o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Mutations.cpp.o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/TokenBufferTokenManager.cpp.o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Synthesis.cpp.o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Tokens.cpp.o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Tree.cpp.o lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningFilesystem.cpp.o lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningService.cpp.o lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningWorker.cpp.o lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningTool.cpp.o lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/ModuleDepCollector.cpp.o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Parsing.cpp.o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/RangeSelector.cpp.o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/RewriteRule.cpp.o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/SourceCode.cpp.o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/SourceCodeBuilders.cpp.o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Stencil.cpp.o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Transformer.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/AllTUsExecution.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/ArgumentsAdjusters.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/CommonOptionsParser.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/CompilationDatabase.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/Execution.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/ExpandResponseFilesCompilationDatabase.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/FileMatchTrie.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/FixIt.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/GuessTargetAndModeCompilationDatabase.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/InterpolatingCompilationDatabase.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/JSONCompilationDatabase.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/Refactoring.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/RefactoringCallbacks.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/StandaloneExecution.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/NodeIntrospection.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/Tooling.cpp.o lib/DirectoryWatcher/CMakeFiles/obj.clangDirectoryWatcher.dir/DirectoryScanner.cpp.o lib/DirectoryWatcher/CMakeFiles/obj.clangDirectoryWatcher.dir/linux/DirectoryWatcher-linux.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/CommentToXML.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/FileIndexRecord.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexBody.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexDecl.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexingAction.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexingContext.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexSymbol.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexTypeSourceInfo.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/USRGeneration.cpp.o lib/IndexSerialization/CMakeFiles/obj.clangIndexSerialization.dir/SerializablePathCollection.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/APSIntType.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/AnalysisManager.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/AnalyzerOptions.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BasicValueFactory.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BlockCounter.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BugReporter.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BugReporterVisitors.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CallDescription.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CallEvent.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/Checker.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerContext.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerHelpers.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerManager.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerRegistryData.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CommonBugCategories.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ConstraintManager.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CoreEngine.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/DynamicExtent.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/DynamicType.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/Environment.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExplodedGraph.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngine.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineC.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineCXX.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineCallAndReturn.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineObjC.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/FunctionSummary.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/HTMLDiagnostics.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/LoopUnrolling.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/LoopWidening.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/MemRegion.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/PlistDiagnostics.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ProgramState.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RangeConstraintManager.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RangedConstraintManager.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RegionStore.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SarifDiagnostics.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SimpleConstraintManager.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SimpleSValBuilder.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SMTConstraintManager.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/Store.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SValBuilder.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SVals.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SymbolManager.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/TextDiagnostics.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/WorkList.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/AnalysisOrderChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/AnalyzerStatsChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ArrayBoundChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ArrayBoundCheckerV2.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BasicObjCFoundationChecks.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BlockInCriticalSectionChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BoolAssignmentChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BuiltinFunctionChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CStringChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CStringSyntaxChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CallAndMessageChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CastSizeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CastToStructChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CastValueChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckObjCDealloc.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckObjCInstMethSignature.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckPlacementNew.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckSecuritySyntaxOnly.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckSizeofPointer.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckerDocumentation.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ChrootChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CloneChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ContainerModeling.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ConversionChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CXXSelfAssignmentChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DeadStoresChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DebugCheckers.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DebugContainerModeling.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DebugIteratorModeling.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DeleteWithNonVirtualDtorChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DereferenceChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DirectIvarAssignment.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DivZeroChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DynamicTypePropagation.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DynamicTypeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/EnumCastOutOfRangeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ErrnoChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ErrnoModeling.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ErrnoTesterChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ExprInspectionChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/FixedAddressChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/FuchsiaHandleChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/GCDAntipatternChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/GenericTaintChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/GTestChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IdenticalExprChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/InnerPointerChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/InvalidatedIteratorChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/cert/InvalidPtrChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/Iterator.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IteratorModeling.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IteratorRangeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IvarInvalidationChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/LLVMConventionsChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/LocalizationChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MacOSKeychainAPIChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MacOSXAPIChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MallocChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MallocOverflowSecurityChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MallocSizeofChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MismatchedIteratorChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MmapWriteExecChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MIGChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MoveChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MPI-Checker/MPIBugReporter.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MPI-Checker/MPIChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MPI-Checker/MPIFunctionClassifier.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NSAutoreleasePoolChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NSErrorChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NoReturnFunctionChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NonNullParamChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NonnullGlobalConstantsChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NullabilityChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NumberObjectConversionChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCAtSyncChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCAutoreleaseWriteChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCContainersASTChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCContainersChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCMissingSuperCallChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCPropertyChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCSelfInitChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCSuperDeallocChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCUnusedIVarsChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/OSObjectCStyleCast.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PaddingChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerArithChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerIterationChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerSortingChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerSubChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PthreadLockChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/cert/PutenvWithAutoChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/RetainCountChecker/RetainCountChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/RetainCountChecker/RetainCountDiagnostics.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ReturnPointerRangeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ReturnUndefChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ReturnValueChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/RunLoopAutoreleaseLeakChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/SimpleStreamChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/SmartPtrChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/SmartPtrModeling.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StackAddrEscapeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StdLibraryFunctionsChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/STLAlgorithmModeling.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StreamChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StringChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/Taint.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TaintTesterChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TestAfterDivZeroChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TraversalChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TrustNonnullChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TrustReturnsNonnullChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefBranchChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefCapturedBlockVarChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefResultChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefinedArraySubscriptChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefinedAssignmentChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefinedNewArraySizeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UninitializedObject/UninitializedObjectChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UninitializedObject/UninitializedPointee.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UnixAPIChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UnreachableCodeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/VforkChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/VLASizeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ValistChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/VirtualCallChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/NoUncountedMembersChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/ASTUtils.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/PtrTypesSemantics.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/RefCntblBaseVirtualDtorChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/UncountedCallArgsChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/UncountedLambdaCapturesChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/UncountedLocalVarsChecker.cpp.o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/AnalysisConsumer.cpp.o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/AnalyzerHelpFlags.cpp.o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/CheckerRegistry.cpp.o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/CreateCheckerManager.cpp.o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/FrontendActions.cpp.o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/ModelConsumer.cpp.o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/ModelInjector.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/AffectedRangeManager.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/BreakableToken.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/ContinuationIndenter.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/DefinitionBlockSeparator.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/Format.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/FormatToken.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/FormatTokenLexer.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/IntegerLiteralSeparatorFixer.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/MacroCallReconstructor.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/MacroExpander.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/NamespaceEndCommentsFixer.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/QualifierAlignmentFixer.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/SortJavaScriptImports.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/TokenAnalyzer.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/TokenAnnotator.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/UnwrappedLineFormatter.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/UnwrappedLineParser.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/UsingDeclarationsSorter.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/WhitespaceManager.cpp.o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/DeviceOffload.cpp.o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/IncrementalExecutor.cpp.o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/IncrementalParser.cpp.o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/Interpreter.cpp.o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/InterpreterUtils.cpp.o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/Value.cpp.o lib/Support/CMakeFiles/obj.clangSupport.dir/RISCVVIntrinsicUtils.cpp.o tools/clang-fuzzer/handle-cxx/CMakeFiles/obj.clangHandleCXX.dir/handle_cxx.cpp.o tools/clang-fuzzer/handle-llvm/CMakeFiles/obj.clangHandleLLVM.dir/handle_llvm.cpp.o tools/clang-shlib/CMakeFiles/clang-cpp.dir/clang-shlib.cpp.o /usr/lib64/libLLVM-17.so && : In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APInt.h:168:3, inlined from '__dt_base ' at /usr/include/llvm/ADT/APSInt.h:23:0, inlined from 'checkOMPArraySectionConstantForReduction' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp: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 'make_unique', inlined from '__ct ' at /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ASTDiff/ASTDiff.cpp:568:0, inlined from 'addOptimalMapping' at /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ASTDiff/ASTDiff.cpp:786:0: /usr/include/c++/12/bits/unique_ptr.h:1080: 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:0, inlined from 'addOptimalMapping' at /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ASTDiff/ASTDiff.cpp:786:0: /usr/include/c++/12/bits/unique_ptr.h:1080: 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:0, inlined from 'addOptimalMapping' at /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ASTDiff/ASTDiff.cpp:786:0: /usr/include/c++/12/bits/unique_ptr.h:1080: 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:0, inlined from 'addOptimalMapping' at /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ASTDiff/ASTDiff.cpp:786:0: /usr/include/c++/12/bits/unique_ptr.h:1080: 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:0, inlined from 'matchTopDown' at /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ASTDiff/ASTDiff.cpp:861:0: /usr/include/c++/12/bits/unique_ptr.h:1080: 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:0, inlined from 'matchTopDown' at /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ASTDiff/ASTDiff.cpp:861:0: /usr/include/c++/12/bits/unique_ptr.h:1080: 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:0, inlined from 'matchTopDown' at /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ASTDiff/ASTDiff.cpp:861:0: /usr/include/c++/12/bits/unique_ptr.h:1080: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 1080 | { return unique_ptr<_Tp>(new remove_extent_t<_Tp>[__num]()); } | /usr/include/c++/12/new: In member function 'matchTopDown': /usr/include/c++/12/new:128:26: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/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 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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; | [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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections -Wl,--version-script,"/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections -Wl,--version-script,"/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections -Wl,--version-script,"/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/driver && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang-17 /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/./bin/clang++ && cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang-17 /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/./bin/clang-cl && cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang-17 /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-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 && : /builddir/build/BUILD/clang-17.0.6.src/include/clang/Frontend/CommandLineSourceLoc.h: In function 'getMatchingRule.constprop': /builddir/build/BUILD/clang-17.0.6.src/include/clang/Frontend/CommandLineSourceLoc.h:82:14: warning: 'EndLine' is used uninitialized [-Wuninitialized] 82 | unsigned EndLine, EndColumn; | ^ /builddir/build/BUILD/clang-17.0.6.src/include/clang/Frontend/CommandLineSourceLoc.h:82:23: warning: 'EndColumn' is used uninitialized [-Wuninitialized] 82 | unsigned EndLine, EndColumn; | ^ [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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include/CXXSymbols.inc [1981/2015] cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include/CXXBNF.inc [1982/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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-5.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-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 '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/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 function 'InitGlobal', inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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: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; | [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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-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 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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; | [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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/clangd/index/dex/dexp/CMakeFiles/dexp.dir/Dexp.cpp.o -o bin/dexp lib64/libclangDaemon.a lib64/libclangdRemoteIndex.a lib64/libclangPseudo.a lib64/libclangPseudoGrammar.a lib64/libclangTidyAndroidModule.a lib64/libclangTidyAbseilModule.a lib64/libclangTidyAlteraModule.a lib64/libclangTidyBoostModule.a lib64/libclangTidyCERTModule.a lib64/libclangTidyConcurrencyModule.a lib64/libclangTidyDarwinModule.a lib64/libclangTidyFuchsiaModule.a lib64/libclangTidyHICPPModule.a lib64/libclangTidyBugproneModule.a lib64/libclangTidyCppCoreGuidelinesModule.a lib64/libclangTidyGoogleModule.a lib64/libclangTidyLinuxKernelModule.a lib64/libclangTidyLLVMModule.a lib64/libclangTidyLLVMLibcModule.a lib64/libclangTidyMiscModule.a lib64/libclangIncludeCleaner.a lib64/libclangAnalysis.a lib64/libclangASTMatchers.a lib64/libclangAST.a lib64/libclangLex.a lib64/libclangBasic.a lib64/libclangTidyModernizeModule.a lib64/libclangTidyObjCModule.a lib64/libclangTidyOpenMPModule.a lib64/libclangTidyPerformanceModule.a lib64/libclangTidyPortabilityModule.a lib64/libclangTidyReadabilityModule.a lib64/libclangTidyZirconModule.a lib64/libclangTidyMPIModule.a lib64/libclangTidyUtils.a lib64/libclangTidy.a lib64/libclang-cpp.so.17 lib64/libclangdSupport.a /usr/lib64/libLLVM-17.so && : /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobal.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobalBool': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | [2010/2015] : && /usr/bin/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections -Wl,--version-script,/builddir/build/BUILD/clang-17.0.6.src/tools/libclang/libclang.map -shared -Wl,-soname,libclang.so.17 -o lib64/libclang.so.17.0.6 tools/libclang/CMakeFiles/libclang.dir/ARCMigrate.cpp.o tools/libclang/CMakeFiles/libclang.dir/BuildSystem.cpp.o tools/libclang/CMakeFiles/libclang.dir/CIndex.cpp.o tools/libclang/CMakeFiles/libclang.dir/CIndexCXX.cpp.o tools/libclang/CMakeFiles/libclang.dir/CIndexCodeCompletion.cpp.o tools/libclang/CMakeFiles/libclang.dir/CIndexDiagnostic.cpp.o tools/libclang/CMakeFiles/libclang.dir/CIndexHigh.cpp.o tools/libclang/CMakeFiles/libclang.dir/CIndexInclusionStack.cpp.o tools/libclang/CMakeFiles/libclang.dir/CIndexUSRs.cpp.o tools/libclang/CMakeFiles/libclang.dir/CIndexer.cpp.o tools/libclang/CMakeFiles/libclang.dir/CXComment.cpp.o tools/libclang/CMakeFiles/libclang.dir/CXCursor.cpp.o tools/libclang/CMakeFiles/libclang.dir/CXExtractAPI.cpp.o tools/libclang/CMakeFiles/libclang.dir/CXIndexDataConsumer.cpp.o tools/libclang/CMakeFiles/libclang.dir/CXCompilationDatabase.cpp.o tools/libclang/CMakeFiles/libclang.dir/CXLoadedDiagnostic.cpp.o tools/libclang/CMakeFiles/libclang.dir/CXSourceLocation.cpp.o tools/libclang/CMakeFiles/libclang.dir/CXStoredDiagnostic.cpp.o tools/libclang/CMakeFiles/libclang.dir/CXString.cpp.o tools/libclang/CMakeFiles/libclang.dir/CXType.cpp.o tools/libclang/CMakeFiles/libclang.dir/Indexing.cpp.o tools/libclang/CMakeFiles/libclang.dir/FatalErrorHandler.cpp.o tools/libclang/CMakeFiles/libclang.dir/Rewrite.cpp.o lib64/libclangAST.a lib64/libclangBasic.a lib64/libclangDriver.a lib64/libclangExtractAPI.a lib64/libclangFrontend.a lib64/libclangIndex.a lib64/libclangLex.a lib64/libclangRewrite.a lib64/libclangSema.a lib64/libclangSerialization.a lib64/libclangTooling.a lib64/libclangARCMigrate.a -ldl lib64/libclangFormat.a lib64/libclangToolingInclusions.a lib64/libclangToolingCore.a lib64/libclangFrontend.a lib64/libclangDriver.a lib64/libclangParse.a lib64/libclangRewrite.a lib64/libclangSerialization.a lib64/libclangSema.a lib64/libclangSupport.a lib64/libclangEdit.a lib64/libclangAnalysis.a lib64/libclangASTMatchers.a lib64/libclangAST.a lib64/libclangLex.a lib64/libclangBasic.a /usr/lib64/libLLVM-17.so && : /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:16, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:14, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobal.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:16, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:14, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobalTemp.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp: In function 'getFunction.isra': /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp:286: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 286 | I.Fun.DeclsInPrototype = new NamedDecl *[DeclsInPrototype.size()]; | /usr/include/c++/12/new:128:26: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APInt.h:168:3, inlined from '__dt_base ' at /usr/include/llvm/ADT/APSInt.h:23:0, inlined from 'checkOMPArraySectionConstantForReduction' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19108:0, inlined from 'actOnOMPReductionKindClause.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19485:0: /usr/include/llvm/ADT/APInt.h:170: warning: 'operator delete []' called on a pointer to an unallocated object '1B' [-Wfree-nonheap-object] 170 | delete[] U.pVal; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APInt.h:168:3, inlined from '__dt_base ' at /usr/include/llvm/ADT/APSInt.h:23:0, inlined from 'checkOMPArraySectionConstantForReduction' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19127:0, inlined from 'actOnOMPReductionKindClause.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19485:0: /usr/include/llvm/ADT/APInt.h:170: warning: 'operator delete []' called on a pointer to an unallocated object '1B' [-Wfree-nonheap-object] 170 | delete[] U.pVal; | In function 'InitGlobal', inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-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/loongarch64-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.fW7hiT + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64 + cd clang-17.0.6.src + DESTDIR=/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64 + /usr/bin/cmake --install loongarch64-OpenCloudOS-linux-gnu -- Install configuration: "RelWithDebInfo" -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/APINotes -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/APINotes/APINotesYAMLCompiler.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/APINotes/Types.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/ARCMigrate -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/ARCMigrate/ARCMT.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/ARCMigrate/ARCMTActions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/ARCMigrate/FileRemapper.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/APValue.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/AST.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/ASTConcept.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/ASTConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/ASTContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/ASTContextAllocate.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/ASTDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/ASTDumper.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/ASTDumperUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/ASTFwd.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/ASTImportError.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/ASTImporter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/ASTImporterLookupTable.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/ASTImporterSharedState.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/ASTLambda.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/ASTMutationListener.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/ASTNodeTraverser.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/ASTStructuralEquivalence.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/ASTTypeTraits.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/ASTUnresolvedSet.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/ASTVector.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/AbstractBasicReader.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/AbstractBasicWriter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/AbstractTypeReader.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/AbstractTypeWriter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/Attr.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/AttrIterator.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/AttrVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/Availability.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/BaseSubobject.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/BuiltinTypes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/CXXInheritance.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/CXXRecordDeclDefinitionBits.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/CanonicalType.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/CharUnits.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/Comment.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/CommentBriefParser.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/CommentCommandTraits.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/CommentDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/CommentLexer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/CommentParser.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/CommentSema.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/CommentVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/ComparisonCategories.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/ComputeDependence.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/CurrentSourceLocExprScope.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/DataCollection.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/Decl.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/DeclAccessPair.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/DeclBase.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/DeclCXX.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/DeclContextInternals.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/DeclFriend.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/DeclGroup.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/DeclLookups.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/DeclObjC.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/DeclObjCCommon.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/DeclOpenMP.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/DeclTemplate.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/DeclVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/DeclarationName.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/DependenceFlags.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/DependentDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/EvaluatedExprVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/Expr.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/ExprCXX.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/ExprConcepts.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/ExprObjC.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/ExprOpenMP.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/ExternalASTMerger.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/ExternalASTSource.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/FormatString.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/GlobalDecl.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/IgnoreExpr.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/JSONNodeDumper.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/LambdaCapture.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/LexicallyOrderedRecursiveASTVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/LocInfoType.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/Mangle.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/MangleNumberingContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/NSAPI.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/NestedNameSpecifier.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/NonTrivialTypeVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/ODRDiagsEmitter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/ODRHash.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/OSLog.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/OpenMPClause.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/OperationKinds.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/OperationKinds.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/OptionalDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/ParentMap.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/ParentMapContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/PrettyDeclStackTrace.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/PrettyPrinter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/QualTypeNames.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/Randstruct.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/RawCommentList.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/RecordLayout.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/RecursiveASTVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/Redeclarable.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/SelectorLocationsKind.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/Stmt.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/StmtCXX.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/StmtGraphTraits.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/StmtIterator.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/StmtObjC.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/StmtOpenMP.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/StmtVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/TemplateArgumentVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/TemplateBase.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/TemplateName.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/TextNodeDumper.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/Type.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/TypeLoc.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/TypeLocNodes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/TypeLocVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/TypeOrdering.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/TypeVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/UnresolvedSet.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/VTTBuilder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/VTableBuilder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/ASTMatchers -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/ASTMatchers/ASTMatchFinder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/ASTMatchers/ASTMatchers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/ASTMatchers/ASTMatchersInternal.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/ASTMatchers/ASTMatchersMacros.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/ASTMatchers/Dynamic -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/ASTMatchers/Dynamic/Diagnostics.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/ASTMatchers/Dynamic/Parser.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/ASTMatchers/Dynamic/Registry.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/ASTMatchers/Dynamic/VariantValue.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/ASTMatchers/GtestMatchers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/Analyses -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/Analyses/CFGReachabilityAnalysis.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/Analyses/CalledOnceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/Analyses/Consumed.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/Analyses/Dominators.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/Analyses/ExprMutationAnalyzer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/Analyses/IntervalPartition.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/Analyses/LiveVariables.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/Analyses/PostOrderCFGView.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/Analyses/ReachableCode.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/Analyses/ThreadSafety.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/Analyses/ThreadSafetyCommon.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/Analyses/ThreadSafetyLogical.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/Analyses/ThreadSafetyOps.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/Analyses/ThreadSafetyTIL.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/Analyses/ThreadSafetyTraverse.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/Analyses/ThreadSafetyUtil.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/Analyses/UninitializedValues.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/Analyses/UnsafeBufferUsage.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/Analyses/UnsafeBufferUsageGadgets.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/AnalysisDeclContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/AnyCall.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/BodyFarm.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/CFG.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/CFGStmtMap.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/CallGraph.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/CloneDetection.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/CodeInjector.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/ConstructionContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/DomainSpecific -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/DomainSpecific/CocoaConventions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/DomainSpecific/ObjCNoReturn.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/FlowSensitive -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/FlowSensitive/Arena.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/FlowSensitive/CFGMatchSwitch.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/FlowSensitive/ControlFlowContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/FlowSensitive/DataflowAnalysis.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/FlowSensitive/DataflowAnalysisContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/FlowSensitive/DataflowLattice.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/FlowSensitive/DataflowValues.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/FlowSensitive/DataflowWorklist.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/FlowSensitive/DebugSupport.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/FlowSensitive/Formula.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/FlowSensitive/Logger.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/FlowSensitive/MapLattice.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/FlowSensitive/MatchSwitch.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/FlowSensitive/Models -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/FlowSensitive/Models/ChromiumCheckModel.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/FlowSensitive/NoopAnalysis.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/FlowSensitive/NoopLattice.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/FlowSensitive/RecordOps.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/FlowSensitive/Solver.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/FlowSensitive/StorageLocation.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/FlowSensitive/Transfer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/FlowSensitive/Value.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/FlowSensitive/WatchedLiteralsSolver.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/IssueHash.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/MacroExpansionContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/PathDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/ProgramPoint.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/RetainSummaryManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/SelectorExtras.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/Support -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Analysis/Support/BumpVector.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/AArch64SVEACLETypes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/ABI.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/AddressSpaces.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/AlignedAllocation.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/AllDiagnostics.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/AttrKinds.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/AttrSubjectMatchRules.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/AttributeCommonInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/Attributes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/BitmaskEnum.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/BuiltinHeaders.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/Builtins.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/Builtins.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/BuiltinsAArch64.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/BuiltinsAArch64NeonSVEBridge.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/BuiltinsAArch64NeonSVEBridge_cg.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/BuiltinsAMDGPU.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/BuiltinsARM.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/BuiltinsBPF.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/BuiltinsHexagon.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/BuiltinsHexagonDep.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/BuiltinsHexagonMapCustomDep.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/BuiltinsLoongArch.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/BuiltinsMips.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/BuiltinsNEON.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/BuiltinsNVPTX.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/BuiltinsPPC.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/BuiltinsRISCV.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/BuiltinsRISCVVector.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/BuiltinsSME.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/BuiltinsSVE.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/BuiltinsSystemZ.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/BuiltinsVE.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/BuiltinsVEVL.gen.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/BuiltinsWebAssembly.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/BuiltinsX86.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/BuiltinsX86_64.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/BuiltinsXCore.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/CLWarnings.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/CapturedStmt.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/CharInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/CodeGenOptions.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/CodeGenOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/CommentOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/Cuda.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/CustomizableOptional.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/DarwinSDKInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/Diagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/DiagnosticAST.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/DiagnosticAnalysis.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/DiagnosticCategories.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/DiagnosticComment.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/DiagnosticCrossTU.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/DiagnosticDriver.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/DiagnosticError.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/DiagnosticFrontend.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/DiagnosticIDs.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/DiagnosticLex.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/DiagnosticOptions.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/DiagnosticOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/DiagnosticParse.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/DiagnosticRefactoring.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/DiagnosticSema.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/DiagnosticSerialization.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/DirectoryEntry.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/ExceptionSpecificationType.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/ExpressionTraits.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/FPOptions.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/Features.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/FileEntry.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/FileManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/FileSystemOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/FileSystemStatCache.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/HLSLRuntime.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/HeaderInclude.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/IdentifierTable.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/JsonSupport.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/LLVM.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/Lambda.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/LangOptions.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/LangOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/LangStandard.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/LangStandards.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/Linkage.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/MSP430Target.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/MacroBuilder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/MakeSupport.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/Module.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/NoSanitizeList.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/ObjCRuntime.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/OpenCLExtensionTypes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/OpenCLExtensions.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/OpenCLImageTypes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/OpenCLOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/OpenMPKinds.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/OpenMPKinds.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/OperatorKinds.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/OperatorKinds.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/OperatorPrecedence.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/PPCTypes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/ParsedAttrInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/PartialDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/PlistSupport.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/PragmaKinds.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/PrettyStackTrace.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/ProfileList.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/RISCVVTypes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/SanitizerSpecialCaseList.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/Sanitizers.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/Sanitizers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/Sarif.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/SourceLocation.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/SourceManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/SourceManagerInternals.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/Specifiers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/Stack.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/SyncScope.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/TargetBuiltins.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/TargetCXXABI.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/TargetCXXABI.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/TargetID.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/TargetInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/TargetOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/TemplateKinds.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/Thunk.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/TokenKinds.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/TokenKinds.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/TransformTypeTraits.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/TypeTraits.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/Version.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/Visibility.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/WebAssemblyReferenceTypes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/XRayInstr.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/XRayLists.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/BuiltinsLoongArchBase.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/BuiltinsLoongArchLSX.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/BuiltinsLoongArchLASX.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/CodeGen -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/CodeGen/BackendUtil.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/CodeGen/CGFunctionInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/CodeGen/CodeGenABITypes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/CodeGen/CodeGenAction.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/CodeGen/ConstantInitBuilder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/CodeGen/ConstantInitFuture.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/CodeGen/ModuleBuilder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/CodeGen/ObjectFilePCHContainerOperations.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/CodeGen/SwiftCallingConv.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Config -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/CrossTU -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/CrossTU/CrossTUDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/CrossTU/CrossTranslationUnit.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/DirectoryWatcher -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/DirectoryWatcher/DirectoryWatcher.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Driver -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Driver/Action.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Driver/Compilation.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Driver/Distro.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Driver/Driver.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Driver/DriverDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Driver/InputInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Driver/Job.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Driver/Multilib.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Driver/MultilibBuilder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Driver/OffloadBundler.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Driver/OptionUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Driver/Options.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Driver/Phases.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Driver/SanitizerArgs.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Driver/Tool.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Driver/ToolChain.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Driver/Types.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Driver/Types.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Driver/Util.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Driver/XRayArgs.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Edit -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Edit/Commit.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Edit/EditedSource.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Edit/EditsReceiver.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Edit/FileOffset.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Edit/Rewriters.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/ExtractAPI -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/ExtractAPI/API.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/ExtractAPI/APIIgnoresList.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/ExtractAPI/AvailabilityInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/ExtractAPI/DeclarationFragments.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/ExtractAPI/ExtractAPIActionBase.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/ExtractAPI/ExtractAPIVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/ExtractAPI/FrontendActions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/ExtractAPI/Serialization -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/ExtractAPI/Serialization/SerializerBase.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/ExtractAPI/Serialization/SymbolGraphSerializer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/ExtractAPI/TypedefUnderlyingTypeResolver.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Format -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Format/Format.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Frontend -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Frontend/ASTConsumers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Frontend/ASTUnit.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Frontend/ChainedDiagnosticConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Frontend/CommandLineSourceLoc.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Frontend/CompilerInstance.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Frontend/CompilerInvocation.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Frontend/DependencyOutputOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Frontend/DiagnosticRenderer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Frontend/FrontendAction.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Frontend/FrontendActions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Frontend/FrontendDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Frontend/FrontendOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Frontend/FrontendPluginRegistry.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Frontend/LayoutOverrideSource.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Frontend/LogDiagnosticPrinter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Frontend/MigratorOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Frontend/MultiplexConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Frontend/PCHContainerOperations.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Frontend/PrecompiledPreamble.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Frontend/PreprocessorOutputOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Frontend/SARIFDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Frontend/SARIFDiagnosticPrinter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Frontend/SerializedDiagnosticPrinter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Frontend/SerializedDiagnosticReader.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Frontend/SerializedDiagnostics.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Frontend/TextDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Frontend/TextDiagnosticBuffer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Frontend/TextDiagnosticPrinter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Frontend/Utils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Frontend/VerifyDiagnosticConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/FrontendTool -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/FrontendTool/Utils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Index -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Index/CommentToXML.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Index/DeclOccurrence.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Index/IndexDataConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Index/IndexSymbol.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Index/IndexingAction.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Index/IndexingOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Index/USRGeneration.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/IndexSerialization -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/IndexSerialization/SerializablePathCollection.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Interpreter -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Interpreter/Interpreter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Interpreter/PartialTranslationUnit.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Interpreter/Value.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Lex -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Lex/CodeCompletionHandler.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Lex/DependencyDirectivesScanner.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Lex/DirectoryLookup.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Lex/ExternalPreprocessorSource.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Lex/HeaderMap.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Lex/HeaderMapTypes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Lex/HeaderSearch.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Lex/HeaderSearchOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Lex/LexDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Lex/Lexer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Lex/LiteralSupport.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Lex/MacroArgs.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Lex/MacroInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Lex/ModuleLoader.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Lex/ModuleMap.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Lex/MultipleIncludeOpt.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Lex/PPCallbacks.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Lex/PPConditionalDirectiveRecord.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Lex/Pragma.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Lex/PreprocessingRecord.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Lex/Preprocessor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Lex/PreprocessorLexer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Lex/PreprocessorOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Lex/ScratchBuffer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Lex/Token.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Lex/TokenConcatenation.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Lex/TokenLexer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Lex/VariadicMacroSupport.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Parse -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Parse/LoopHint.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Parse/ParseAST.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Parse/ParseDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Parse/Parser.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Parse/RAIIObjectsForParser.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Rewrite -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Rewrite/Core -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Rewrite/Core/DeltaTree.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Rewrite/Core/HTMLRewrite.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Rewrite/Core/RewriteBuffer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Rewrite/Core/RewriteRope.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Rewrite/Core/Rewriter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Rewrite/Core/TokenRewriter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Rewrite/Frontend -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Rewrite/Frontend/ASTConsumers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Rewrite/Frontend/FixItRewriter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Rewrite/Frontend/FrontendActions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Rewrite/Frontend/Rewriters.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Sema -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Sema/AnalysisBasedWarnings.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Sema/CXXFieldCollector.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Sema/CleanupInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Sema/CodeCompleteConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Sema/CodeCompleteOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Sema/DeclSpec.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Sema/DelayedDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Sema/Designator.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Sema/EnterExpressionEvaluationContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Sema/ExternalSemaSource.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Sema/HLSLExternalSemaSource.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Sema/IdentifierResolver.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Sema/Initialization.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Sema/Lookup.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Sema/MultiplexExternalSemaSource.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Sema/ObjCMethodList.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Sema/Overload.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Sema/Ownership.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Sema/ParsedAttr.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Sema/ParsedTemplate.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Sema/RISCVIntrinsicManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Sema/Scope.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Sema/ScopeInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Sema/Sema.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Sema/SemaConcept.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Sema/SemaConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Sema/SemaDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Sema/SemaFixItUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Sema/SemaInternal.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Sema/SemaLambda.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Sema/Template.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Sema/TemplateDeduction.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Sema/TemplateInstCallback.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Sema/TypoCorrection.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Sema/Weak.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Serialization -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Serialization/ASTBitCodes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Serialization/ASTDeserializationListener.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Serialization/ASTReader.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Serialization/ASTRecordReader.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Serialization/ASTRecordWriter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Serialization/ASTWriter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Serialization/ContinuousRangeMap.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Serialization/GlobalModuleIndex.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Serialization/InMemoryModuleCache.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Serialization/ModuleFile.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Serialization/ModuleFileExtension.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Serialization/ModuleManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Serialization/PCHContainerOperations.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Serialization/SerializationDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Serialization/SourceLocationEncoding.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Serialization/TypeBitCodes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Checkers -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Checkers/BuiltinCheckerRegistration.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Checkers/MPIFunctionClassifier.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Checkers/SValExplainer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Checkers/Taint.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/Analyses.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/AnalyzerOptions.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/BugReporter -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/BugReporter/BugType.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/BugReporter/CommonBugCategories.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/Checker.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/CheckerManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/CheckerRegistryData.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/PathDiagnosticConsumers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/APSIntType.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/BasicValueFactory.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/BlockCounter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/CallDescription.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerHelpers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicCastInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicExtent.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicType.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicTypeInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/Environment.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/FunctionSummary.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/LoopUnrolling.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/LoopWidening.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/RangedConstraintManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/Regions.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SMTConstraintManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SMTConv.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SValVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SimpleConstraintManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/Store.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/StoreRef.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SummaryManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SymExpr.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/WorkList.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Frontend -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Frontend/AnalysisConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Frontend/AnalyzerHelpFlags.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Frontend/CheckerRegistry.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Frontend/FrontendActions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Frontend/ModelConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Support -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Support/RISCVVIntrinsicUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Testing -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Testing/CommandLineArgs.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Testing/TestAST.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Testing/TestClangConfig.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/ASTDiff -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/ASTDiff/ASTDiff.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/ASTDiff/ASTDiffInternal.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/AllTUsExecution.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/ArgumentsAdjusters.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/CommonOptionsParser.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/CompilationDatabase.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/CompilationDatabasePluginRegistry.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Core -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Core/Diagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Core/Replacement.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/DependencyScanning -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/DependencyScanning/DependencyScanningFilesystem.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/DependencyScanning/DependencyScanningService.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/DependencyScanning/DependencyScanningTool.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/DependencyScanning/DependencyScanningWorker.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/DependencyScanning/ModuleDepCollector.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/DiagnosticsYaml.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Execution.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/FileMatchTrie.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/FixIt.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Inclusions -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Inclusions/HeaderAnalysis.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Inclusions/HeaderIncludes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Inclusions/IncludeStyle.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Inclusions/StandardLibrary.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/JSONCompilationDatabase.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/NodeIntrospection.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Refactoring.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Refactoring -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Refactoring/ASTSelection.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Refactoring/AtomicChange.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Refactoring/Extract -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Refactoring/Extract/Extract.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Refactoring/Extract/SourceExtraction.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Refactoring/Lookup.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Refactoring/RecursiveSymbolVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Refactoring/RefactoringAction.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Refactoring/RefactoringActionRule.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Refactoring/RefactoringActionRuleRequirements.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Refactoring/RefactoringActionRules.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Refactoring/RefactoringActionRulesInternal.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Refactoring/RefactoringDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Refactoring/RefactoringOption.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Refactoring/RefactoringOptionVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Refactoring/RefactoringOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Refactoring/RefactoringResultConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Refactoring/RefactoringRuleContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Refactoring/Rename -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Refactoring/Rename/RenamingAction.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Refactoring/Rename/SymbolName.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Refactoring/Rename/SymbolOccurrences.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Refactoring/Rename/USRFinder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Refactoring/Rename/USRFindingAction.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Refactoring/Rename/USRLocFinder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/RefactoringCallbacks.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/ReplacementsYaml.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/StandaloneExecution.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Syntax -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Syntax/BuildTree.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Syntax/Mutations.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Syntax/Nodes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Syntax/TokenBufferTokenManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Syntax/TokenManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Syntax/Tokens.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Syntax/Tree.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/ToolExecutorPluginRegistry.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Tooling.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Transformer -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Transformer/MatchConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Transformer/Parsing.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Transformer/RangeSelector.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Transformer/RewriteRule.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Transformer/SourceCode.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Transformer/SourceCodeBuilders.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Transformer/Stencil.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Transformer/Transformer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-c -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-c/BuildSystem.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-c/CXCompilationDatabase.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-c/CXDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-c/CXErrorCode.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-c/CXFile.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-c/CXSourceLocation.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-c/CXString.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-c/Documentation.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-c/ExternC.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-c/FatalErrorHandler.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-c/Index.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-c/Platform.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-c/Rewrite.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/Version.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/arm_fp16.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/AttrList.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/AttrSubMatchRulesList.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/AttrTokenKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/arm_sme_builtins.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/AttrHasAttributeImpl.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/arm_sme_builtin_cg.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/arm_sve_typeflags.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/arm_cde_builtins.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/arm_sme_sema_rangechecks.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/arm_cde_builtin_aliases.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/arm_cde_builtin_sema.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/arm_cde_builtin_cg.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/arm_neon.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/riscv_sifive_vector_builtins.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/riscv_sifive_vector_builtin_cg.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/riscv_sifive_vector_builtin_sema.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/arm_mve_builtins.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/arm_mve_builtin_sema.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/DiagnosticIndexName.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/DiagnosticLexKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/DiagnosticRefactoringKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/DiagnosticCrossTUKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/arm_mve_builtin_aliases.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/DiagnosticAnalysisKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/DiagnosticASTKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/DiagnosticFrontendKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/DiagnosticSerializationKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/DiagnosticDriverKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/DiagnosticGroups.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/DiagnosticCommentKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/DiagnosticCommonKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/DiagnosticParseKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/DiagnosticSemaKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/arm_mve_builtin_cg.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/arm_sve_builtins.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/arm_sve_builtin_cg.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/arm_sve_sema_rangechecks.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/riscv_vector_builtin_sema.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/riscv_vector_builtins.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Basic/riscv_vector_builtin_cg.inc -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/StmtNodes.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/CommentNodes.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/TypeNodes.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/AbstractBasicWriter.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/DeclNodes.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/CommentHTMLTagsProperties.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/CommentHTMLTags.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/StmtDataCollectors.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/CommentCommandList.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/AbstractBasicReader.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/AbstractTypeWriter.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/AbstractTypeReader.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/CommentHTMLNamedCharacterReferences.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/CommentCommandInfo.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/AttrVisitor.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/AttrNodeTraverse.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/AttrTextNodeDump.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/Attrs.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/AST/AttrImpl.inc -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Driver -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Driver/Options.inc -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Parse -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Parse/AttrParserStringSwitches.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Parse/AttrSubMatchRulesParserStringSwitches.inc -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Sema -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Sema/AttrParsedAttrList.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Sema/AttrTemplateInstantiate.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Sema/AttrParsedAttrKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Sema/AttrSpellingListIndex.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Sema/AttrParsedAttrImpl.inc -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Serialization -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Serialization/AttrPCHRead.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Serialization/AttrPCHWrite.inc -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Checkers -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/StaticAnalyzer/Checkers/Checkers.inc -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Syntax -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Syntax/Nodes.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/Syntax/NodeClasses.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Tooling/NodeIntrospection.inc -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Config -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang/Config/config.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/clang/bash-autocomplete.sh -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/builtins.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/float.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/inttypes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/iso646.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/limits.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/module.modulemap -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/stdalign.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/stdarg.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/stdatomic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/stdbool.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/stddef.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/__stddef_max_align_t.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/stdint.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/stdnoreturn.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/tgmath.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/unwind.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/varargs.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/arm_acle.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/arm_cmse.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/armintr.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/arm64intr.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/arm_neon_sve_bridge.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/__clang_cuda_builtin_vars.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/__clang_cuda_math.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/__clang_cuda_cmath.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/__clang_cuda_complex_builtins.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/__clang_cuda_device_functions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/__clang_cuda_intrinsics.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/__clang_cuda_texture_intrinsics.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/__clang_cuda_libdevice_declares.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/__clang_cuda_math_forward_declares.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/__clang_cuda_runtime_wrapper.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/hexagon_circ_brev_intrinsics.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/hexagon_protos.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/hexagon_types.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/hvx_hexagon_protos.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/__clang_hip_libdevice_declares.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/__clang_hip_cmath.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/__clang_hip_math.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/__clang_hip_stdlib.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/__clang_hip_runtime_wrapper.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/larchintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/lasxintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/lsxintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/msa.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/opencl-c.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/opencl-c-base.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/altivec.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/htmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/htmxlintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/riscv_ntlh.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/sifive_vector.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/s390intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/vecintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/velintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/velintrin_gen.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/velintrin_approx.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/adxintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/ammintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/amxcomplexintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/amxfp16intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/amxintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/avx2intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/avx512bf16intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/avx512bitalgintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/avx512bwintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/avx512cdintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/avx512dqintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/avx512erintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/avx512fintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/avx512fp16intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/avx512ifmaintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/avx512ifmavlintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/avx512pfintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/avx512vbmi2intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/avx512vbmiintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/avx512vbmivlintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/avx512vlbf16intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/avx512vlbitalgintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/avx512vlbwintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/avx512vlcdintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/avx512vldqintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/avx512vlfp16intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/avx512vlintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/avx512vlvbmi2intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/avx512vlvnniintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/avx512vlvp2intersectintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/avx512vnniintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/avx512vp2intersectintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/avx512vpopcntdqintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/avx512vpopcntdqvlintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/avxifmaintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/avxintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/avxneconvertintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/avxvnniint16intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/avxvnniint8intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/avxvnniintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/bmi2intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/bmiintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/cetintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/cldemoteintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/clflushoptintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/clwbintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/clzerointrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/cmpccxaddintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/crc32intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/emmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/enqcmdintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/f16cintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/fma4intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/fmaintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/fxsrintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/gfniintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/hresetintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/ia32intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/immintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/invpcidintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/keylockerintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/lwpintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/lzcntintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/mm3dnow.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/mmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/movdirintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/mwaitxintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/nmmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/pconfigintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/pkuintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/pmmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/popcntintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/prfchiintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/prfchwintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/ptwriteintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/raointintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/rdpruintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/rdseedintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/rtmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/serializeintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/sgxintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/sha512intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/shaintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/sm3intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/sm4intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/smmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/tbmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/tmmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/tsxldtrkintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/uintrintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/vaesintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/vpclmulqdqintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/waitpkgintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/wbnoinvdintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/__wmmintrin_aes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/wmmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/__wmmintrin_pclmul.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/x86gprintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/x86intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/xmmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/xopintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/xsavecintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/xsaveintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/xsaveoptintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/xsavesintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/xtestintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/cet.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/cpuid.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/wasm_simd128.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/vadefs.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/mm_malloc.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/arm_neon.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/arm_fp16.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/arm_sve.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/arm_sme_draft_spec_subject_to_change.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/arm_bf16.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/arm_mve.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/arm_cde.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/riscv_vector.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/cuda_wrappers/algorithm -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/cuda_wrappers/cmath -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/cuda_wrappers/complex -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/cuda_wrappers/new -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/cuda_wrappers/bits/shared_ptr_base.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/cuda_wrappers/bits/basic_string.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/cuda_wrappers/bits/basic_string.tcc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/ppc_wrappers/mmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/ppc_wrappers/xmmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/ppc_wrappers/mm_malloc.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/ppc_wrappers/emmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/ppc_wrappers/pmmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/ppc_wrappers/tmmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/ppc_wrappers/smmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/ppc_wrappers/bmiintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/ppc_wrappers/bmi2intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/ppc_wrappers/immintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/ppc_wrappers/x86intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/ppc_wrappers/x86gprintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/llvm_libc_wrappers/stdio.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/llvm_libc_wrappers/stdlib.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/llvm_libc_wrappers/string.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/llvm_libc_wrappers/ctype.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/llvm_libc_wrappers/inttypes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/openmp_wrappers/math.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/openmp_wrappers/cmath -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/openmp_wrappers/complex.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/openmp_wrappers/complex -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/openmp_wrappers/__clang_openmp_device_functions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/openmp_wrappers/complex_cmath.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/openmp_wrappers/new -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/diagtool -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-17 -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang -- Creating clang++ -- Creating clang-cl -- Creating clang-cpp -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-format -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/clang/clang-format-bbedit.applescript -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/clang/clang-format-diff.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/clang/clang-format-sublime.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/clang/clang-format.el -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/clang/clang-format.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/git-clang-format -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-linker-wrapper -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-offload-packager -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-offload-bundler -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-scan-deps -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-repl -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/c-index-test -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-rename -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/clang/clang-rename.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/clang/clang-rename.el -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-refactor -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/libclang-cpp.so.17 -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/libclang-cpp.so -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-check -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-extdef-mapping -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/scan-build -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/libexec/ccc-analyzer -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/libexec/c++-analyzer -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/man/man1/scan-build.1 -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/scan-build/scanview.css -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/scan-build/sorttable.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/analyze-build -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/intercept-build -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/scan-build-py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/libexec/analyze-c++ -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/libexec/analyze-cc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/libexec/intercept-c++ -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/libexec/intercept-cc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/libscanbuild/__init__.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/libscanbuild/analyze.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/libscanbuild/arguments.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/libscanbuild/clang.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/libscanbuild/compilation.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/libscanbuild/intercept.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/libscanbuild/report.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/libscanbuild/shell.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/libscanbuild/resources/scanview.css -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/libscanbuild/resources/selectable.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/libscanbuild/resources/sorttable.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/libear/__init__.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/libear/config.h.in -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/libear/ear.c -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/scan-view -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/scan-view/ScanView.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/scan-view/Reporter.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/scan-view/startfile.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/scan-view/bugcatcher.ico -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-apply-replacements -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-reorder-fields -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/modularize -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/modularize -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-tidy -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/clang/clang-tidy-diff.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/run-clang-tidy -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/. -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./ClangTidy.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./ClangTidyCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./ClangTidyDiagnosticConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./ClangTidyForceLinker.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./ClangTidyModule.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./ClangTidyModuleRegistry.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./ClangTidyOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./ClangTidyProfiling.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./ExpandModularHeadersPPCallbacks.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./FileExtensionsSet.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./GlobList.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./NoLintDirectiveHandler.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./abseil -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./abseil/AbseilMatcher.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./abseil/CleanupCtadCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./abseil/DurationAdditionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./abseil/DurationComparisonCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./abseil/DurationConversionCastCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./abseil/DurationDivisionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./abseil/DurationFactoryFloatCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./abseil/DurationFactoryScaleCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./abseil/DurationRewriter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./abseil/DurationSubtractionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./abseil/DurationUnnecessaryConversionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./abseil/FasterStrsplitDelimiterCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./abseil/NoInternalDependenciesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./abseil/NoNamespaceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./abseil/RedundantStrcatCallsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./abseil/StrCatAppendCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./abseil/StringFindStartswithCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./abseil/StringFindStrContainsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./abseil/TimeComparisonCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./abseil/TimeSubtractionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./abseil/UpgradeDurationConversionsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./altera -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./altera/IdDependentBackwardBranchCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./altera/KernelNameRestrictionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./altera/SingleWorkItemBarrierCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./altera/StructPackAlignCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./altera/UnrollLoopsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./android -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./android/CloexecAccept4Check.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./android/CloexecAcceptCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./android/CloexecCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./android/CloexecCreatCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./android/CloexecDupCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./android/CloexecEpollCreate1Check.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./android/CloexecEpollCreateCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./android/CloexecFopenCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./android/CloexecInotifyInit1Check.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./android/CloexecInotifyInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./android/CloexecMemfdCreateCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./android/CloexecOpenCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./android/CloexecPipe2Check.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./android/CloexecPipeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./android/CloexecSocketCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./android/ComparisonInTempFailureRetryCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./boost -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./boost/UseToStringCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/ArgumentCommentCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/AssertSideEffectCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/AssignmentInIfConditionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/BadSignalToKillThreadCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/BoolPointerImplicitConversionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/BranchCloneCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/CopyConstructorInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/DanglingHandleCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/DynamicStaticInitializersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/EasilySwappableParametersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/EmptyCatchCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/ExceptionEscapeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/FoldInitTypeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/ForwardDeclarationNamespaceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/ForwardingReferenceOverloadCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/ImplicitWideningOfMultiplicationResultCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/InaccurateEraseCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/IncorrectRoundingsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/InfiniteLoopCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/IntegerDivisionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/LambdaFunctionNameCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/MacroParenthesesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/MacroRepeatedSideEffectsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/MisplacedOperatorInStrlenInAllocCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/MisplacedPointerArithmeticInAllocCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/MisplacedWideningCastCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/MoveForwardingReferenceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/MultipleNewInOneExpressionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/MultipleStatementMacroCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/NoEscapeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/NonZeroEnumToBoolConversionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/NotNullTerminatedResultCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/ParentVirtualCallCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/PosixReturnCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/RedundantBranchConditionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/ReservedIdentifierCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/SharedPtrArrayMismatchCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/SignalHandlerCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/SignedCharMisuseCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/SizeofContainerCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/SizeofExpressionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/SmartPtrArrayMismatchCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/SpuriouslyWakeUpFunctionsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/StandaloneEmptyCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/StringConstructorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/StringIntegerAssignmentCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/StringLiteralWithEmbeddedNulCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/StringviewNullptrCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/SuspiciousEnumUsageCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/SuspiciousIncludeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/SuspiciousMemoryComparisonCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/SuspiciousMemsetUsageCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/SuspiciousMissingCommaCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/SuspiciousReallocUsageCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/SuspiciousSemicolonCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/SuspiciousStringCompareCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/SwappedArgumentsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/SwitchMissingDefaultCaseCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/TerminatingContinueCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/ThrowKeywordMissingCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/TooSmallLoopVariableCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/UncheckedOptionalAccessCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/UndefinedMemoryManipulationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/UndelegatedConstructorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/UnhandledExceptionAtNewCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/UnhandledSelfAssignmentCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/UniquePtrArrayMismatchCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/UnsafeFunctionsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/UnusedRaiiCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/UnusedReturnValueCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/UseAfterMoveCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./bugprone/VirtualNearMissCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cert -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cert/CommandProcessorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cert/DefaultOperatorNewAlignmentCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cert/DontModifyStdNamespaceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cert/FloatLoopCounter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cert/LimitedRandomnessCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cert/MutatingCopyCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cert/NonTrivialTypesLibcMemoryCallsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cert/PostfixOperatorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cert/ProperlySeededRandomGeneratorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cert/SetLongJmpCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cert/StaticObjectExceptionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cert/StrToNumCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cert/ThrownExceptionTypeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cert/VariadicFunctionDefCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./concurrency -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./concurrency/MtUnsafeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./concurrency/ThreadCanceltypeAsynchronousCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cppcoreguidelines -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cppcoreguidelines/AvoidCapturingLambdaCoroutinesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cppcoreguidelines/AvoidConstOrRefDataMembersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cppcoreguidelines/AvoidDoWhileCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cppcoreguidelines/AvoidGotoCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cppcoreguidelines/AvoidNonConstGlobalVariablesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cppcoreguidelines/AvoidReferenceCoroutineParametersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cppcoreguidelines/InitVariablesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cppcoreguidelines/InterfacesGlobalInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cppcoreguidelines/MacroUsageCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cppcoreguidelines/MisleadingCaptureDefaultByValueCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cppcoreguidelines/MissingStdForwardCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cppcoreguidelines/NarrowingConversionsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cppcoreguidelines/NoMallocCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cppcoreguidelines/OwningMemoryCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cppcoreguidelines/PreferMemberInitializerCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cppcoreguidelines/ProBoundsConstantArrayIndexCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cppcoreguidelines/ProBoundsPointerArithmeticCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cppcoreguidelines/ProTypeConstCastCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cppcoreguidelines/ProTypeCstyleCastCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cppcoreguidelines/ProTypeMemberInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cppcoreguidelines/ProTypeReinterpretCastCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cppcoreguidelines/ProTypeStaticCastDowncastCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cppcoreguidelines/ProTypeUnionAccessCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cppcoreguidelines/ProTypeVarargCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cppcoreguidelines/RvalueReferenceParamNotMovedCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cppcoreguidelines/SlicingCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cppcoreguidelines/SpecialMemberFunctionsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./cppcoreguidelines/VirtualClassDestructorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./darwin -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./darwin/AvoidSpinlockCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./darwin/DispatchOnceNonstaticCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./fuchsia -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./fuchsia/DefaultArgumentsCallsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./fuchsia/DefaultArgumentsDeclarationsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./fuchsia/MultipleInheritanceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./fuchsia/OverloadedOperatorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./fuchsia/StaticallyConstructedObjectsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./fuchsia/TrailingReturnCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./fuchsia/VirtualInheritanceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./google -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./google/AvoidCStyleCastsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./google/AvoidNSObjectNewCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./google/AvoidThrowingObjCExceptionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./google/AvoidUnderscoreInGoogletestNameCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./google/DefaultArgumentsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./google/ExplicitConstructorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./google/ExplicitMakePairCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./google/FunctionNamingCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./google/GlobalNamesInHeadersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./google/GlobalVariableDeclarationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./google/IntegerTypesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./google/OverloadedUnaryAndCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./google/TodoCommentCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./google/UnnamedNamespaceInHeaderCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./google/UpgradeGoogletestCaseCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./google/UsingNamespaceDirectiveCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./hicpp -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./hicpp/ExceptionBaseclassCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./hicpp/MultiwayPathsCoveredCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./hicpp/NoAssemblerCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./hicpp/SignedBitwiseCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./linuxkernel -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./linuxkernel/MustCheckErrsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./llvm -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./llvm/HeaderGuardCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./llvm/IncludeOrderCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./llvm/PreferIsaOrDynCastInConditionalsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./llvm/PreferRegisterOverUnsignedCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./llvm/TwineLocalCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./llvmlibc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./llvmlibc/CalleeNamespaceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./llvmlibc/ImplementationInNamespaceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./llvmlibc/InlineFunctionDeclCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./llvmlibc/RestrictSystemLibcHeadersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./misc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./misc/ConfusableIdentifierCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./misc/ConfusableTable -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./misc/ConstCorrectnessCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./misc/DefinitionsInHeadersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./misc/HeaderIncludeCycleCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./misc/IncludeCleanerCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./misc/MisleadingBidirectional.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./misc/MisleadingIdentifier.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./misc/MisplacedConstCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./misc/NewDeleteOverloadsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./misc/NoRecursionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./misc/NonCopyableObjects.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./misc/NonPrivateMemberVariablesInClassesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./misc/RedundantExpressionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./misc/StaticAssertCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./misc/ThrowByValueCatchByReferenceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./misc/UnconventionalAssignOperatorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./misc/UniqueptrResetReleaseCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./misc/UnusedAliasDeclsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./misc/UnusedParametersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./misc/UnusedUsingDeclsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./misc/UseAnonymousNamespaceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./modernize -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./modernize/AvoidBindCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./modernize/AvoidCArraysCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./modernize/ConcatNestedNamespacesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./modernize/DeprecatedHeadersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./modernize/DeprecatedIosBaseAliasesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./modernize/IntegralLiteralExpressionMatcher.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./modernize/LoopConvertCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./modernize/LoopConvertUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./modernize/MacroToEnumCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./modernize/MakeSharedCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./modernize/MakeSmartPtrCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./modernize/MakeUniqueCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./modernize/PassByValueCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./modernize/RawStringLiteralCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./modernize/RedundantVoidArgCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./modernize/ReplaceAutoPtrCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./modernize/ReplaceDisallowCopyAndAssignMacroCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./modernize/ReplaceRandomShuffleCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./modernize/ReturnBracedInitListCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./modernize/ShrinkToFitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./modernize/TypeTraitsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./modernize/UnaryStaticAssertCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./modernize/UseAutoCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./modernize/UseBoolLiteralsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./modernize/UseDefaultMemberInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./modernize/UseEmplaceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./modernize/UseEqualsDefaultCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./modernize/UseEqualsDeleteCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./modernize/UseNodiscardCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./modernize/UseNoexceptCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./modernize/UseNullptrCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./modernize/UseOverrideCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./modernize/UseStdPrintCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./modernize/UseTrailingReturnTypeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./modernize/UseTransparentFunctorsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./modernize/UseUncaughtExceptionsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./modernize/UseUsingCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./mpi -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./mpi/BufferDerefCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./mpi/TypeMismatchCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./objc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./objc/AssertEquals.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./objc/AvoidNSErrorInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./objc/DeallocInCategoryCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./objc/ForbiddenSubclassingCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./objc/MissingHashCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./objc/NSDateFormatterCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./objc/NSInvocationArgumentLifetimeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./objc/PropertyDeclarationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./objc/SuperSelfCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./openmp -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./openmp/ExceptionEscapeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./openmp/UseDefaultNoneCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./performance -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./performance/AvoidEndlCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./performance/FasterStringFindCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./performance/ForRangeCopyCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./performance/ImplicitConversionInLoopCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./performance/InefficientAlgorithmCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./performance/InefficientStringConcatenationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./performance/InefficientVectorOperationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./performance/MoveConstArgCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./performance/MoveConstructorInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./performance/NoAutomaticMoveCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./performance/NoIntToPtrCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./performance/NoexceptDestructorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./performance/NoexceptFunctionBaseCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./performance/NoexceptMoveConstructorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./performance/NoexceptSwapCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./performance/TriviallyDestructibleCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./performance/TypePromotionInMathFnCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./performance/UnnecessaryCopyInitialization.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./performance/UnnecessaryValueParamCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./plugin -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./portability -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./portability/RestrictSystemIncludesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./portability/SIMDIntrinsicsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./portability/StdAllocatorConstCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/AvoidConstParamsInDecls.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/AvoidUnconditionalPreprocessorIfCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/BracesAroundStatementsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/ConstReturnTypeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/ContainerContainsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/ContainerDataPointerCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/ContainerSizeEmptyCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/ConvertMemberFunctionsToStatic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/DeleteNullPointerCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/DuplicateIncludeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/ElseAfterReturnCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/FunctionCognitiveComplexityCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/FunctionSizeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/IdentifierLengthCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/IdentifierNamingCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/ImplicitBoolConversionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/InconsistentDeclarationParameterNameCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/IsolateDeclarationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/MagicNumbersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/MakeMemberFunctionConstCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/MisleadingIndentationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/MisplacedArrayIndexCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/NamedParameterCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/NamespaceCommentCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/NonConstParameterCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/OperatorsRepresentationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/QualifiedAutoCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/RedundantAccessSpecifiersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/RedundantControlFlowCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/RedundantDeclarationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/RedundantFunctionPtrDereferenceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/RedundantMemberInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/RedundantPreprocessorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/RedundantSmartptrGetCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/RedundantStringCStrCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/RedundantStringInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/SimplifyBooleanExprCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/SimplifySubscriptExprCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/StaticAccessedThroughInstanceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/StaticDefinitionInAnonymousNamespaceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/StringCompareCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/SuspiciousCallArgumentCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/UniqueptrDeleteReleaseCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/UppercaseLiteralSuffixCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./readability/UseAnyOfAllOfCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./tool -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./tool/ClangTidyMain.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./utils -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./utils/ASTUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./utils/Aliasing.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./utils/DeclRefExprUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./utils/ExceptionAnalyzer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./utils/ExceptionSpecAnalyzer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./utils/ExprSequence.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./utils/FileExtensionsUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./utils/FixItHintUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./utils/FormatStringConverter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./utils/HeaderGuard.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./utils/IncludeInserter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./utils/IncludeSorter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./utils/LexerUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./utils/Matchers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./utils/NamespaceAliaser.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./utils/OptionsUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./utils/RenamerClangTidyCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./utils/TransformerClangTidyCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./utils/TypeTraits.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./utils/UsingInserter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./zircon -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/./zircon/TemporaryObjectsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-change-namespace -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-doc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/clang/clang-doc-default-stylesheet.css -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/clang/index.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-include-fixer -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/clang/clang-include-fixer.el -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/clang/clang-include-fixer.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/find-all-symbols -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/clang/run-find-all-symbols.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-move -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-query -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-include-cleaner -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/pp-trace -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-pseudo -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clangd -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/libclang.so.17.0.6 -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/libclang.so.17 -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/libclang.so -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-c -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-c/BuildSystem.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-c/CXCompilationDatabase.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-c/CXDiagnostic.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-c/CXErrorCode.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-c/CXFile.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-c/CXSourceLocation.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-c/CXString.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-c/Documentation.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-c/ExternC.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-c/FatalErrorHandler.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-c/Index.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-c/Platform.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-c/Rewrite.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/amdgpu-arch -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/nvptx-arch -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/. -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./AMDGPUSupport.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/AMDGPUSupport.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/APINotes.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/AddressSanitizer.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/AttributeReference.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/AutomaticReferenceCounting.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/Block-ABI-Apple.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/BlockLanguageSpec.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/ClangCheck.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/ClangCommandLineReference.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/ClangFormat.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/ClangFormatStyleOptions.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/ClangFormattedStatus.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/ClangLinkerWrapper.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/ClangOffloadBundler.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/ClangOffloadPackager.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/ClangPlugins.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/ClangRepl.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/ClangStaticAnalyzer.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/ClangTools.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/ClangTransformerTutorial.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/CodeOwners.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/CommandGuide -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/CommandGuide/clang.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/CommandGuide/diagtool.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/CommandGuide/index.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/ConstantInterpreter.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/ControlFlowIntegrity.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/ControlFlowIntegrityDesign.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/CrossCompilation.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/DataFlowAnalysisIntro.md.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/DataFlowSanitizer.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/DataFlowSanitizerDesign.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/DebuggingCoroutines.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/DiagnosticsReference.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/DriverInternals.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/ExternalClangExamples.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/FAQ.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/HLSL -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/HLSL/EntryFunctions.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/HLSL/HLSLDocs.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/HLSL/HLSLIRReference.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/HLSL/HLSLSupport.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/HLSL/ResourceTypes.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/HardwareAssistedAddressSanitizerDesign.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/HowToSetupToolingForLLVM.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/InternalsManual.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/IntroductionToTheClangAST.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/ItaniumMangleAbiTags.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/JSONCompilationDatabase.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/LTOVisibility.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/LanguageExtensions.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/LeakSanitizer.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/LibASTImporter.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/LibASTMatchers.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/LibASTMatchersTutorial.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/LibClang.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/LibFormat.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/LibTooling.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/MSVCCompatibility.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/MatrixTypes.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/MemorySanitizer.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/MisExpect.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/Modules.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/Multilib.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/ObjectiveCLiterals.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/OffloadingDesign.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/OpenCLSupport.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/OpenMPSupport.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/PCHInternals.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/RAVFrontendAction.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/RefactoringEngine.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/ReleaseNotes.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/SYCLSupport.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/SafeStack.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/SanitizerCoverage.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/SanitizerSpecialCaseList.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/SanitizerStats.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/ShadowCallStack.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/SourceBasedCodeCoverage.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/StandardCPlusPlusModules.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/ThinLTO.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/ThreadSafetyAnalysis.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/ThreadSanitizer.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/Toolchain.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/Tooling.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/UndefinedBehaviorSanitizer.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/UsersManual.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/checkers.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/developer-docs.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/developer-docs -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/developer-docs/DebugChecks.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/developer-docs/IPA.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/developer-docs/InitializerLists.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/developer-docs/RegionStore.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/developer-docs/nullability.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/user-docs.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/user-docs -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/user-docs/CrossTranslationUnit.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/user-docs/TaintAnalysisConfiguration.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_sources/index.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./APINotes.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./AddressSanitizer.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./AttributeReference.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./AutomaticReferenceCounting.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./Block-ABI-Apple.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./BlockLanguageSpec.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./ClangCheck.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./ClangCommandLineReference.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./ClangFormat.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./ClangFormatStyleOptions.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./ClangFormattedStatus.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./ClangLinkerWrapper.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./ClangOffloadBundler.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./ClangOffloadPackager.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./ClangPlugins.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./ClangRepl.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./ClangStaticAnalyzer.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./ClangTools.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./ClangTransformerTutorial.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./CodeOwners.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./CommandGuide -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./CommandGuide/clang.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./CommandGuide/diagtool.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./CommandGuide/index.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./ConstantInterpreter.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./ControlFlowIntegrity.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./ControlFlowIntegrityDesign.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./CrossCompilation.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./DataFlowAnalysisIntro.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./DataFlowSanitizer.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./DataFlowSanitizerDesign.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./DebuggingCoroutines.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./DiagnosticsReference.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./DriverInternals.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./ExternalClangExamples.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./FAQ.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./HLSL -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./HLSL/EntryFunctions.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./HLSL/HLSLDocs.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./HLSL/HLSLIRReference.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./HLSL/HLSLSupport.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./HLSL/ResourceTypes.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./HardwareAssistedAddressSanitizerDesign.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./HowToSetupToolingForLLVM.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./InternalsManual.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./IntroductionToTheClangAST.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./ItaniumMangleAbiTags.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./JSONCompilationDatabase.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./LTOVisibility.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./LanguageExtensions.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./LeakSanitizer.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./LibASTImporter.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./LibASTMatchers.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./LibASTMatchersTutorial.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./LibClang.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./LibFormat.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./LibTooling.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./MSVCCompatibility.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./MatrixTypes.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./MemorySanitizer.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./MisExpect.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./Modules.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./Multilib.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./ObjectiveCLiterals.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./OffloadingDesign.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./OpenCLSupport.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./OpenMPSupport.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./PCHInternals.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./RAVFrontendAction.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./RefactoringEngine.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./ReleaseNotes.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./SYCLSupport.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./SafeStack.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./SanitizerCoverage.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./SanitizerSpecialCaseList.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./SanitizerStats.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./ShadowCallStack.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./SourceBasedCodeCoverage.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./StandardCPlusPlusModules.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./ThinLTO.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./ThreadSafetyAnalysis.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./ThreadSanitizer.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./Toolchain.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./Tooling.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./UndefinedBehaviorSanitizer.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./UsersManual.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./analyzer -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./analyzer/checkers.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./analyzer/developer-docs.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./analyzer/developer-docs -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./analyzer/developer-docs/DebugChecks.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./analyzer/developer-docs/IPA.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./analyzer/developer-docs/InitializerLists.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./analyzer/developer-docs/RegionStore.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./analyzer/developer-docs/nullability.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./analyzer/user-docs.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./analyzer/user-docs -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./analyzer/user-docs/CrossTranslationUnit.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./analyzer/user-docs/TaintAnalysisConfiguration.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./index.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./genindex.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./search.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_images -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_images/ClangRepl_design.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_images/IntegerSetsInfiniteLattice.svg -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_images/IntegerSetsFiniteLattice.svg -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_images/CFGExample.svg -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_images/CFGJoinRule.svg -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_images/OutputParameterIdentificationLattice.svg -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_images/DefinitiveInitializationLattice.svg -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_images/UniquePtrLattice.svg -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_images/DriverArchitecture.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_images/PCHLayout.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_static -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_static/pygments.css -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_static/basic.css -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_static/doctools.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_static/documentation_options.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_static/file.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_static/language_data.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_static/minus.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_static/plus.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_static/searchtools.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_static/sphinx_highlight.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_static/alert_info_32.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_static/alert_warning_32.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_static/bg-page.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_static/bullet_orange.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./_static/haiku.css -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./.buildinfo -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./searchindex.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./objects.inv -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/./LibASTMatchersReference.html -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/man/man1 -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/man/man1/clang.1 -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/man/man1/diagtool.1 -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/cmake/clang/ClangTargets.cmake -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/cmake/clang/ClangTargets-relwithdebinfo.cmake -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/cmake/clang/ClangConfig.cmake -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/cmake/clang/ClangConfigVersion.cmake -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/cmake/clang/AddClang.cmake -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/hmaptool + rm -rf '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/*.a' + mkdir -p /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/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-5.ocs23.loongarch64/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-5.ocs23.loongarch64/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-5.ocs23.loongarch64/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-5.ocs23.loongarch64 -p / /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/python3.11/site-packages/clang Listing '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/python3.11/site-packages/clang'... Compiling '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/python3.11/site-packages/clang/__init__.py'... Compiling '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/python3.11/site-packages/clang/cindex.py'... Compiling '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/python3.11/site-packages/clang/enumerations.py'... + mv /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/libear /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/libscanbuild /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/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-5.ocs23.loongarch64/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-5.ocs23.loongarch64/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-5.ocs23.loongarch64 -p / '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/python3.11/site-packages/{libear,libscanbuild}' Listing '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/python3.11/site-packages/{libear,libscanbuild}'... Can't list '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/python3.11/site-packages/{libear,libscanbuild}' + chmod a+x /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/scan-view/Reporter.py /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/scan-view/startfile.py + mkdir -p /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/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-5.ocs23.loongarch64/usr/share/clang/clang-format.el /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/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-5.ocs23.loongarch64/usr/share/clang/clang-rename.el /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/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-5.ocs23.loongarch64/usr/share/clang/clang-include-fixer.el /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/emacs/site-lisp/site-start.d/clang-include-fixer.el + rm -vf /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/clang/clang-format-bbedit.applescript removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/clang/clang-format-bbedit.applescript' + rm -vf /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/clang/clang-format-sublime.py removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/clang/clang-format-sublime.py' + rm -Rvf /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/AMDGPUSupport.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/AMDGPUSupport.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/APINotes.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/AddressSanitizer.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/AttributeReference.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/AutomaticReferenceCounting.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/Block-ABI-Apple.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/BlockLanguageSpec.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/ClangCheck.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/ClangCommandLineReference.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/ClangFormat.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/ClangFormatStyleOptions.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/ClangFormattedStatus.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/ClangLinkerWrapper.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/ClangOffloadBundler.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/ClangOffloadPackager.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/ClangPlugins.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/ClangRepl.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/ClangStaticAnalyzer.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/ClangTools.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/ClangTransformerTutorial.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/CodeOwners.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/CommandGuide/clang.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/CommandGuide/diagtool.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/CommandGuide/index.rst.txt' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/CommandGuide' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/ConstantInterpreter.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/ControlFlowIntegrity.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/ControlFlowIntegrityDesign.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/CrossCompilation.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/DataFlowAnalysisIntro.md.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/DataFlowSanitizer.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/DataFlowSanitizerDesign.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/DebuggingCoroutines.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/DiagnosticsReference.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/DriverInternals.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/ExternalClangExamples.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/FAQ.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/HLSL/EntryFunctions.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/HLSL/HLSLDocs.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/HLSL/HLSLIRReference.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/HLSL/HLSLSupport.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/HLSL/ResourceTypes.rst.txt' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/HLSL' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/HardwareAssistedAddressSanitizerDesign.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/HowToSetupToolingForLLVM.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/InternalsManual.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/IntroductionToTheClangAST.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/ItaniumMangleAbiTags.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/JSONCompilationDatabase.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/LTOVisibility.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/LanguageExtensions.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/LeakSanitizer.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/LibASTImporter.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/LibASTMatchers.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/LibASTMatchersTutorial.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/LibClang.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/LibFormat.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/LibTooling.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/MSVCCompatibility.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/MatrixTypes.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/MemorySanitizer.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/MisExpect.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/Modules.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/Multilib.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/ObjectiveCLiterals.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/OffloadingDesign.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/OpenCLSupport.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/OpenMPSupport.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/PCHInternals.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/RAVFrontendAction.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/RefactoringEngine.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/ReleaseNotes.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/SYCLSupport.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/SafeStack.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/SanitizerCoverage.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/SanitizerSpecialCaseList.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/SanitizerStats.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/ShadowCallStack.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/SourceBasedCodeCoverage.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/StandardCPlusPlusModules.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/ThinLTO.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/ThreadSafetyAnalysis.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/ThreadSanitizer.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/Toolchain.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/Tooling.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/UndefinedBehaviorSanitizer.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/UsersManual.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/checkers.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/developer-docs.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/developer-docs/DebugChecks.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/developer-docs/IPA.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/developer-docs/InitializerLists.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/developer-docs/RegionStore.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/developer-docs/nullability.rst.txt' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/developer-docs' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/user-docs.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/user-docs/CrossTranslationUnit.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/user-docs/TaintAnalysisConfiguration.rst.txt' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/user-docs' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/analyzer' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources/index.rst.txt' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_sources' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/APINotes.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/AddressSanitizer.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/AttributeReference.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/AutomaticReferenceCounting.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/Block-ABI-Apple.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/BlockLanguageSpec.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/ClangCheck.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/ClangCommandLineReference.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/ClangFormat.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/ClangFormatStyleOptions.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/ClangFormattedStatus.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/ClangLinkerWrapper.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/ClangOffloadBundler.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/ClangOffloadPackager.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/ClangPlugins.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/ClangRepl.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/ClangStaticAnalyzer.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/ClangTools.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/ClangTransformerTutorial.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/CodeOwners.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/CommandGuide/clang.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/CommandGuide/diagtool.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/CommandGuide/index.html' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/CommandGuide' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/ConstantInterpreter.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/ControlFlowIntegrity.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/ControlFlowIntegrityDesign.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/CrossCompilation.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/DataFlowAnalysisIntro.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/DataFlowSanitizer.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/DataFlowSanitizerDesign.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/DebuggingCoroutines.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/DiagnosticsReference.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/DriverInternals.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/ExternalClangExamples.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/FAQ.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/HLSL/EntryFunctions.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/HLSL/HLSLDocs.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/HLSL/HLSLIRReference.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/HLSL/HLSLSupport.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/HLSL/ResourceTypes.html' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/HLSL' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/HardwareAssistedAddressSanitizerDesign.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/HowToSetupToolingForLLVM.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/InternalsManual.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/IntroductionToTheClangAST.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/ItaniumMangleAbiTags.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/JSONCompilationDatabase.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/LTOVisibility.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/LanguageExtensions.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/LeakSanitizer.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/LibASTImporter.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/LibASTMatchers.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/LibASTMatchersTutorial.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/LibClang.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/LibFormat.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/LibTooling.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/MSVCCompatibility.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/MatrixTypes.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/MemorySanitizer.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/MisExpect.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/Modules.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/Multilib.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/ObjectiveCLiterals.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/OffloadingDesign.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/OpenCLSupport.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/OpenMPSupport.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/PCHInternals.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/RAVFrontendAction.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/RefactoringEngine.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/ReleaseNotes.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/SYCLSupport.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/SafeStack.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/SanitizerCoverage.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/SanitizerSpecialCaseList.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/SanitizerStats.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/ShadowCallStack.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/SourceBasedCodeCoverage.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/StandardCPlusPlusModules.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/ThinLTO.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/ThreadSafetyAnalysis.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/ThreadSanitizer.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/Toolchain.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/Tooling.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/UndefinedBehaviorSanitizer.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/UsersManual.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/analyzer/checkers.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/analyzer/developer-docs.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/analyzer/developer-docs/DebugChecks.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/analyzer/developer-docs/IPA.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/analyzer/developer-docs/InitializerLists.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/analyzer/developer-docs/RegionStore.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/analyzer/developer-docs/nullability.html' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/analyzer/developer-docs' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/analyzer/user-docs.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/analyzer/user-docs/CrossTranslationUnit.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/analyzer/user-docs/TaintAnalysisConfiguration.html' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/analyzer/user-docs' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/analyzer' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/index.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/genindex.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/search.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_images/ClangRepl_design.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_images/IntegerSetsInfiniteLattice.svg' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_images/IntegerSetsFiniteLattice.svg' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_images/CFGExample.svg' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_images/CFGJoinRule.svg' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_images/OutputParameterIdentificationLattice.svg' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_images/DefinitiveInitializationLattice.svg' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_images/UniquePtrLattice.svg' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_images/DriverArchitecture.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_images/PCHLayout.png' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_images' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_static/pygments.css' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_static/basic.css' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_static/doctools.js' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_static/documentation_options.js' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_static/file.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_static/language_data.js' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_static/minus.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_static/plus.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_static/searchtools.js' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_static/sphinx_highlight.js' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_static/alert_info_32.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_static/alert_warning_32.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_static/bg-page.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_static/bullet_orange.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_static/haiku.css' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/_static' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/.buildinfo' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/searchindex.js' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/objects.inv' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html/LibASTMatchersReference.html' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/doc/Clang/clang/html' + rm -Rvf /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/clang/clang-doc-default-stylesheet.css removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/clang/clang-doc-default-stylesheet.css' + rm -Rvf /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/clang/index.js removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/clang/index.js' + rm -Rvf /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/ removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/ClangTidy.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/ClangTidyCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/ClangTidyDiagnosticConsumer.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/ClangTidyForceLinker.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/ClangTidyModule.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/ClangTidyModuleRegistry.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/ClangTidyOptions.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/ClangTidyProfiling.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/ExpandModularHeadersPPCallbacks.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/FileExtensionsSet.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/GlobList.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/NoLintDirectiveHandler.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/abseil/AbseilMatcher.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/abseil/CleanupCtadCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/abseil/DurationAdditionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/abseil/DurationComparisonCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/abseil/DurationConversionCastCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/abseil/DurationDivisionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/abseil/DurationFactoryFloatCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/abseil/DurationFactoryScaleCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/abseil/DurationRewriter.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/abseil/DurationSubtractionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/abseil/DurationUnnecessaryConversionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/abseil/FasterStrsplitDelimiterCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/abseil/NoInternalDependenciesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/abseil/NoNamespaceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/abseil/RedundantStrcatCallsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/abseil/StrCatAppendCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/abseil/StringFindStartswithCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/abseil/StringFindStrContainsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/abseil/TimeComparisonCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/abseil/TimeSubtractionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/abseil/UpgradeDurationConversionsCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/abseil' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/altera/IdDependentBackwardBranchCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/altera/KernelNameRestrictionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/altera/SingleWorkItemBarrierCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/altera/StructPackAlignCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/altera/UnrollLoopsCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/altera' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/android/CloexecAccept4Check.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/android/CloexecAcceptCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/android/CloexecCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/android/CloexecCreatCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/android/CloexecDupCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/android/CloexecEpollCreate1Check.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/android/CloexecEpollCreateCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/android/CloexecFopenCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/android/CloexecInotifyInit1Check.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/android/CloexecInotifyInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/android/CloexecMemfdCreateCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/android/CloexecOpenCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/android/CloexecPipe2Check.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/android/CloexecPipeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/android/CloexecSocketCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/android/ComparisonInTempFailureRetryCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/android' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/boost/UseToStringCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/boost' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/ArgumentCommentCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/AssertSideEffectCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/AssignmentInIfConditionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/BadSignalToKillThreadCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/BoolPointerImplicitConversionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/BranchCloneCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/CopyConstructorInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/DanglingHandleCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/DynamicStaticInitializersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/EasilySwappableParametersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/EmptyCatchCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/ExceptionEscapeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/FoldInitTypeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/ForwardDeclarationNamespaceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/ForwardingReferenceOverloadCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/ImplicitWideningOfMultiplicationResultCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/InaccurateEraseCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/IncorrectRoundingsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/InfiniteLoopCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/IntegerDivisionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/LambdaFunctionNameCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/MacroParenthesesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/MacroRepeatedSideEffectsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/MisplacedOperatorInStrlenInAllocCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/MisplacedPointerArithmeticInAllocCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/MisplacedWideningCastCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/MoveForwardingReferenceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/MultipleNewInOneExpressionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/MultipleStatementMacroCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/NoEscapeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/NonZeroEnumToBoolConversionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/NotNullTerminatedResultCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/ParentVirtualCallCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/PosixReturnCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/RedundantBranchConditionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/ReservedIdentifierCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/SharedPtrArrayMismatchCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/SignalHandlerCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/SignedCharMisuseCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/SizeofContainerCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/SizeofExpressionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/SmartPtrArrayMismatchCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/SpuriouslyWakeUpFunctionsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/StandaloneEmptyCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/StringConstructorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/StringIntegerAssignmentCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/StringLiteralWithEmbeddedNulCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/StringviewNullptrCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/SuspiciousEnumUsageCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/SuspiciousIncludeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/SuspiciousMemoryComparisonCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/SuspiciousMemsetUsageCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/SuspiciousMissingCommaCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/SuspiciousReallocUsageCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/SuspiciousSemicolonCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/SuspiciousStringCompareCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/SwappedArgumentsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/SwitchMissingDefaultCaseCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/TerminatingContinueCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/ThrowKeywordMissingCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/TooSmallLoopVariableCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/UncheckedOptionalAccessCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/UndefinedMemoryManipulationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/UndelegatedConstructorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/UnhandledExceptionAtNewCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/UnhandledSelfAssignmentCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/UniquePtrArrayMismatchCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/UnsafeFunctionsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/UnusedRaiiCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/UnusedReturnValueCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/UseAfterMoveCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone/VirtualNearMissCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/bugprone' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cert/CommandProcessorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cert/DefaultOperatorNewAlignmentCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cert/DontModifyStdNamespaceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cert/FloatLoopCounter.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cert/LimitedRandomnessCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cert/MutatingCopyCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cert/NonTrivialTypesLibcMemoryCallsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cert/PostfixOperatorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cert/ProperlySeededRandomGeneratorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cert/SetLongJmpCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cert/StaticObjectExceptionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cert/StrToNumCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cert/ThrownExceptionTypeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cert/VariadicFunctionDefCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cert' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/concurrency/MtUnsafeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/concurrency/ThreadCanceltypeAsynchronousCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/concurrency' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cppcoreguidelines/AvoidCapturingLambdaCoroutinesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cppcoreguidelines/AvoidConstOrRefDataMembersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cppcoreguidelines/AvoidDoWhileCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cppcoreguidelines/AvoidGotoCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cppcoreguidelines/AvoidNonConstGlobalVariablesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cppcoreguidelines/AvoidReferenceCoroutineParametersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cppcoreguidelines/InitVariablesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cppcoreguidelines/InterfacesGlobalInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cppcoreguidelines/MacroUsageCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cppcoreguidelines/MisleadingCaptureDefaultByValueCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cppcoreguidelines/MissingStdForwardCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cppcoreguidelines/NarrowingConversionsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cppcoreguidelines/NoMallocCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cppcoreguidelines/OwningMemoryCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cppcoreguidelines/PreferMemberInitializerCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cppcoreguidelines/ProBoundsConstantArrayIndexCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cppcoreguidelines/ProBoundsPointerArithmeticCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cppcoreguidelines/ProTypeConstCastCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cppcoreguidelines/ProTypeCstyleCastCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cppcoreguidelines/ProTypeReinterpretCastCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cppcoreguidelines/ProTypeStaticCastDowncastCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cppcoreguidelines/ProTypeUnionAccessCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cppcoreguidelines/ProTypeVarargCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cppcoreguidelines/RvalueReferenceParamNotMovedCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cppcoreguidelines/SlicingCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cppcoreguidelines/SpecialMemberFunctionsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cppcoreguidelines/VirtualClassDestructorCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/cppcoreguidelines' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/darwin/AvoidSpinlockCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/darwin/DispatchOnceNonstaticCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/darwin' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/fuchsia/DefaultArgumentsCallsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/fuchsia/DefaultArgumentsDeclarationsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/fuchsia/MultipleInheritanceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/fuchsia/OverloadedOperatorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/fuchsia/StaticallyConstructedObjectsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/fuchsia/TrailingReturnCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/fuchsia/VirtualInheritanceCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/fuchsia' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/google/AvoidCStyleCastsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/google/AvoidNSObjectNewCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/google/AvoidThrowingObjCExceptionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/google/AvoidUnderscoreInGoogletestNameCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/google/DefaultArgumentsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/google/ExplicitConstructorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/google/ExplicitMakePairCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/google/FunctionNamingCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/google/GlobalNamesInHeadersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/google/GlobalVariableDeclarationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/google/IntegerTypesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/google/OverloadedUnaryAndCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/google/TodoCommentCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/google/UnnamedNamespaceInHeaderCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/google/UpgradeGoogletestCaseCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/google/UsingNamespaceDirectiveCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/google' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/hicpp/ExceptionBaseclassCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/hicpp/MultiwayPathsCoveredCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/hicpp/NoAssemblerCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/hicpp/SignedBitwiseCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/hicpp' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/linuxkernel/MustCheckErrsCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/linuxkernel' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/llvm/HeaderGuardCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/llvm/IncludeOrderCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/llvm/PreferIsaOrDynCastInConditionalsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/llvm/PreferRegisterOverUnsignedCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/llvm/TwineLocalCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/llvm' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/llvmlibc/CalleeNamespaceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/llvmlibc/ImplementationInNamespaceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/llvmlibc/InlineFunctionDeclCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/llvmlibc/RestrictSystemLibcHeadersCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/llvmlibc' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/misc/ConfusableIdentifierCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/misc/ConfusableTable' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/misc/ConstCorrectnessCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/misc/DefinitionsInHeadersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/misc/HeaderIncludeCycleCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/misc/IncludeCleanerCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/misc/MisleadingBidirectional.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/misc/MisleadingIdentifier.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/misc/MisplacedConstCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/misc/NewDeleteOverloadsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/misc/NoRecursionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/misc/NonCopyableObjects.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/misc/NonPrivateMemberVariablesInClassesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/misc/RedundantExpressionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/misc/StaticAssertCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/misc/ThrowByValueCatchByReferenceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/misc/UnconventionalAssignOperatorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/misc/UniqueptrResetReleaseCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/misc/UnusedAliasDeclsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/misc/UnusedParametersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/misc/UnusedUsingDeclsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/misc/UseAnonymousNamespaceCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/misc' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/modernize/AvoidBindCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/modernize/AvoidCArraysCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/modernize/ConcatNestedNamespacesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/modernize/DeprecatedHeadersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/modernize/DeprecatedIosBaseAliasesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/modernize/IntegralLiteralExpressionMatcher.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/modernize/LoopConvertCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/modernize/LoopConvertUtils.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/modernize/MacroToEnumCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/modernize/MakeSharedCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/modernize/MakeSmartPtrCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/modernize/MakeUniqueCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/modernize/PassByValueCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/modernize/RawStringLiteralCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/modernize/RedundantVoidArgCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/modernize/ReplaceAutoPtrCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/modernize/ReplaceDisallowCopyAndAssignMacroCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/modernize/ReplaceRandomShuffleCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/modernize/ReturnBracedInitListCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/modernize/ShrinkToFitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/modernize/TypeTraitsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/modernize/UnaryStaticAssertCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/modernize/UseAutoCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/modernize/UseBoolLiteralsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/modernize/UseDefaultMemberInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/modernize/UseEmplaceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/modernize/UseEqualsDefaultCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/modernize/UseEqualsDeleteCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/modernize/UseNodiscardCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/modernize/UseNoexceptCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/modernize/UseNullptrCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/modernize/UseOverrideCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/modernize/UseStdPrintCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/modernize/UseTrailingReturnTypeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/modernize/UseTransparentFunctorsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/modernize/UseUncaughtExceptionsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/modernize/UseUsingCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/modernize' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/mpi/BufferDerefCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/mpi/TypeMismatchCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/mpi' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/objc/AssertEquals.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/objc/AvoidNSErrorInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/objc/DeallocInCategoryCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/objc/ForbiddenSubclassingCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/objc/MissingHashCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/objc/NSDateFormatterCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/objc/NSInvocationArgumentLifetimeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/objc/PropertyDeclarationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/objc/SuperSelfCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/objc' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/openmp/ExceptionEscapeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/openmp/UseDefaultNoneCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/openmp' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/performance/AvoidEndlCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/performance/FasterStringFindCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/performance/ForRangeCopyCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/performance/ImplicitConversionInLoopCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/performance/InefficientAlgorithmCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/performance/InefficientStringConcatenationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/performance/InefficientVectorOperationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/performance/MoveConstArgCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/performance/MoveConstructorInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/performance/NoAutomaticMoveCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/performance/NoIntToPtrCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/performance/NoexceptDestructorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/performance/NoexceptFunctionBaseCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/performance/NoexceptMoveConstructorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/performance/NoexceptSwapCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/performance/TriviallyDestructibleCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/performance/TypePromotionInMathFnCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/performance/UnnecessaryCopyInitialization.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/performance/UnnecessaryValueParamCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/performance' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/plugin' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/portability/RestrictSystemIncludesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/portability/SIMDIntrinsicsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/portability/StdAllocatorConstCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/portability' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/AvoidConstParamsInDecls.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/AvoidUnconditionalPreprocessorIfCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/BracesAroundStatementsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/ConstReturnTypeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/ContainerContainsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/ContainerDataPointerCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/ContainerSizeEmptyCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/ConvertMemberFunctionsToStatic.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/DeleteNullPointerCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/DuplicateIncludeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/ElseAfterReturnCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/FunctionCognitiveComplexityCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/FunctionSizeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/IdentifierLengthCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/IdentifierNamingCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/ImplicitBoolConversionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/InconsistentDeclarationParameterNameCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/IsolateDeclarationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/MagicNumbersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/MakeMemberFunctionConstCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/MisleadingIndentationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/MisplacedArrayIndexCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/NamedParameterCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/NamespaceCommentCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/NonConstParameterCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/OperatorsRepresentationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/QualifiedAutoCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/RedundantAccessSpecifiersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/RedundantControlFlowCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/RedundantDeclarationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/RedundantFunctionPtrDereferenceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/RedundantMemberInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/RedundantPreprocessorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/RedundantSmartptrGetCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/RedundantStringCStrCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/RedundantStringInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/SimplifyBooleanExprCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/SimplifySubscriptExprCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/StaticAccessedThroughInstanceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/StaticDefinitionInAnonymousNamespaceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/StringCompareCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/SuspiciousCallArgumentCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/UniqueptrDeleteReleaseCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/UppercaseLiteralSuffixCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability/UseAnyOfAllOfCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/readability' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/tool/ClangTidyMain.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/tool' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/utils/ASTUtils.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/utils/Aliasing.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/utils/DeclRefExprUtils.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/utils/ExceptionAnalyzer.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/utils/ExceptionSpecAnalyzer.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/utils/ExprSequence.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/utils/FileExtensionsUtils.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/utils/FixItHintUtils.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/utils/FormatStringConverter.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/utils/HeaderGuard.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/utils/IncludeInserter.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/utils/IncludeSorter.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/utils/LexerUtils.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/utils/Matchers.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/utils/NamespaceAliaser.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/utils/OptionsUtils.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/utils/RenamerClangTidyCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/utils/TransformerClangTidyCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/utils/TypeTraits.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/utils/UsingInserter.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/utils' removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/zircon/TemporaryObjectsCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/zircon' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/include/clang-tidy/' + rm -vf /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/clang/bash-autocomplete.sh removed '/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/clang/bash-autocomplete.sh' + ln -s clang.1.gz /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/man/man1/clang++.1.gz + ln -s clang.1.gz /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/man/man1/clang-17.1.gz + ln -s clang.1.gz /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/man/man1/clang++-17.1.gz + ln -s clang++ /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang++-17 + chmod u-x /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/man/man1/scan-build.1 + mkdir -p /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/include/ /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/lib/ /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/clang/17/share/ + ln -s /usr/share/clang/clang-format-diff.py /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-format-diff + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 17.0.6-5.ocs23 --unique-debug-suffix -17.0.6-5.ocs23.loongarch64 --unique-debug-src-base clang-17.0.6-5.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/clang-17.0.6.src extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-cl extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-change-namespace extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-refactor extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-check extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-17 extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/amdgpu-arch extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/find-all-symbols extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-pseudo extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-linker-wrapper extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-cpp extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/diagtool extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-offload-bundler extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-reorder-fields extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-tidy extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-offload-packager extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-format extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-apply-replacements extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/c-index-test extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/pp-trace extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-extdef-mapping extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-include-cleaner extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang++ extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-query extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-doc extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-include-fixer extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-rename extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/nvptx-arch extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/modularize extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-repl extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clangd extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-move extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-scan-deps extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/libclang-cpp.so.17 extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib64/libclang.so.17.0.6 134206 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs mangling shebang in /usr/bin/scan-build from /usr/bin/env perl to #!/usr/bin/perl mangling shebang in /usr/libexec/ccc-analyzer from /usr/bin/env perl to #!/usr/bin/perl mangling shebang in /usr/libexec/c++-analyzer from /usr/bin/env perl to #!/usr/bin/perl + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-fix-pyc-reproducibility /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/python3.11/site-packages Removed 7 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/python3.11/site-packages/clang/__pycache__/__init__.cpython-311.pyc Removed 997 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/python3.11/site-packages/clang/__pycache__/cindex.cpython-311.pyc Removed 1001 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/python3.11/site-packages/clang/__pycache__/cindex.cpython-311.opt-1.pyc Removed 16 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/python3.11/site-packages/clang/__pycache__/enumerations.cpython-311.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/python3.11/site-packages/clang/__pycache__/__init__.cpython-311.opt-1.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/python3.11/site-packages/clang/__pycache__/enumerations.cpython-311.opt-1.pyc Removed 130 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/python3.11/site-packages/libear/__pycache__/__init__.cpython-311.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/python3.11/site-packages/libear/__pycache__/__init__.cpython-311.opt-1.pyc Removed 82 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/__init__.cpython-311.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/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-5.ocs23.loongarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/analyze.cpython-311.pyc Removed 185 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/analyze.cpython-311.opt-1.pyc Removed 91 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/arguments.cpython-311.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/arguments.cpython-311.opt-1.pyc Removed 69 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/clang.cpython-311.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/clang.cpython-311.opt-1.pyc Removed 42 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/compilation.cpython-311.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/compilation.cpython-311.opt-1.pyc Removed 107 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/intercept.cpython-311.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/intercept.cpython-311.opt-1.pyc Removed 171 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/report.cpython-311.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/report.cpython-311.opt-1.pyc Removed 44 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/shell.cpython-311.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/shell.cpython-311.opt-1.pyc + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.LP4eNx + 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 -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 -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 -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 -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-5.ocs23.loongarch64//usr/lib64 + /usr/bin/ninja check-all -C loongarch64-OpenCloudOS-linux-gnu ninja: Entering directory `loongarch64-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/ForestTest.cpp.o [5/441] Building CXX object tools/extra/unittests/clang-include-fixer/CMakeFiles/ClangIncludeFixerTests.dir/FuzzySymbolIndexTests.cpp.o [6/441] Building CXX object tools/extra/include-cleaner/unittests/CMakeFiles/ClangIncludeCleanerTests.dir/TypesTest.cpp.o [7/441] Building CXX object tools/extra/pseudo/unittests/CMakeFiles/ClangPseudoTests.dir/LRTableTest.cpp.o [8/441] Building CXX object tools/extra/pseudo/unittests/CMakeFiles/ClangPseudoTests.dir/DisambiguateTest.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/unittests/clang-apply-replacements/CMakeFiles/ClangApplyReplacementsTests.dir/ApplyReplacementsTest.cpp.o [12/441] Building CXX object tools/extra/pseudo/unittests/CMakeFiles/ClangPseudoTests.dir/GrammarTest.cpp.o [13/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/GlobListTest.cpp.o [14/441] Building CXX object tools/extra/unittests/clang-doc/CMakeFiles/ClangDocTests.dir/ClangDocTest.cpp.o [15/441] Linking CXX executable tools/extra/unittests/clang-apply-replacements/ClangApplyReplacementsTests [16/441] Building CXX object tools/extra/include-cleaner/unittests/CMakeFiles/ClangIncludeCleanerTests.dir/IncludeSpellerTest.cpp.o [17/441] Building CXX object tools/extra/pseudo/unittests/CMakeFiles/ClangPseudoTests.dir/GLRTest.cpp.o [18/441] Building CXX object tools/extra/unittests/clang-include-fixer/CMakeFiles/ClangIncludeFixerTests.dir/IncludeFixerTest.cpp.o [19/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/OptionsProviderTest.cpp.o [20/441] Building CXX object tools/extra/unittests/clang-doc/CMakeFiles/ClangDocTests.dir/GeneratorTest.cpp.o [21/441] Building CXX object tools/extra/unittests/clang-doc/CMakeFiles/ClangDocTests.dir/HTMLGeneratorTest.cpp.o [22/441] Linking CXX executable tools/extra/pseudo/unittests/ClangPseudoTests [23/441] Building CXX object tools/extra/unittests/clang-doc/CMakeFiles/ClangDocTests.dir/YAMLGeneratorTest.cpp.o [24/441] Building CXX object tools/extra/include-cleaner/unittests/CMakeFiles/ClangIncludeCleanerTests.dir/WalkASTTest.cpp.o [25/441] Building CXX object lib/Testing/CMakeFiles/clangTesting.dir/TestAST.cpp.o [26/441] Building CXX object tools/extra/unittests/clang-doc/CMakeFiles/ClangDocTests.dir/MergeTest.cpp.o [27/441] Building CXX object tools/extra/unittests/clang-doc/CMakeFiles/ClangDocTests.dir/MDGeneratorTest.cpp.o [28/441] Linking CXX executable tools/extra/unittests/clang-include-fixer/ClangIncludeFixerTests [29/441] Linking CXX static library lib64/libclangTesting.a [30/441] Generating code completion model runtime... [31/441] Building CXX object unittests/Basic/CMakeFiles/BasicTests.dir/CharInfoTest.cpp.o [32/441] Building CXX object unittests/Basic/CMakeFiles/BasicTests.dir/DarwinSDKInfoTest.cpp.o [33/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 &); | ^~~~~~~~~~~~~~~~~~~~~ [34/441] Building CXX object tools/extra/unittests/clang-doc/CMakeFiles/ClangDocTests.dir/BitcodeTest.cpp.o [35/441] Building CXX object tools/extra/include-cleaner/unittests/CMakeFiles/ClangIncludeCleanerTests.dir/RecordTest.cpp.o [36/441] Building CXX object unittests/Basic/CMakeFiles/BasicTests.dir/FileEntryTest.cpp.o [37/441] Building CXX object unittests/Basic/CMakeFiles/BasicTests.dir/SanitizersTest.cpp.o [38/441] Building CXX object unittests/Basic/CMakeFiles/BasicTests.dir/LineOffsetMappingTest.cpp.o [39/441] Building CXX object tools/extra/unittests/clang-query/CMakeFiles/ClangQueryTests.dir/QueryEngineTest.cpp.o [40/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/ClangTidyDiagnosticConsumerTest.cpp.o [41/441] Building CXX object tools/extra/unittests/clang-move/CMakeFiles/ClangMoveTests.dir/ClangMoveTests.cpp.o [42/441] Building CXX object tools/extra/include-cleaner/unittests/CMakeFiles/ClangIncludeCleanerTests.dir/LocateSymbolTest.cpp.o [43/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/Annotations.cpp.o [44/441] Building CXX object tools/extra/include-cleaner/unittests/CMakeFiles/ClangIncludeCleanerTests.dir/AnalysisTest.cpp.o [45/441] Building CXX object unittests/Basic/CMakeFiles/BasicTests.dir/FileManagerTest.cpp.o [46/441] Building CXX object tools/extra/unittests/clang-query/CMakeFiles/ClangQueryTests.dir/QueryParserTest.cpp.o [47/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/CanonicalIncludesTests.cpp.o [48/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/DeclRefExprUtilsTest.cpp.o [49/441] Building CXX object tools/extra/unittests/clang-include-fixer/find-all-symbols/CMakeFiles/FindAllSymbolsTests.dir/FindAllSymbolsTests.cpp.o [50/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/IncludeCleanerTest.cpp.o [51/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/DecisionForestTests.cpp.o [52/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/DraftStoreTests.cpp.o [53/441] Building CXX object tools/extra/include-cleaner/unittests/CMakeFiles/ClangIncludeCleanerTests.dir/FindHeadersTest.cpp.o [54/441] Building CXX object tools/extra/unittests/clang-change-namespace/CMakeFiles/ClangChangeNamespaceTests.dir/ChangeNamespaceTests.cpp.o [55/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/ObjCModuleTest.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-doc/CMakeFiles/ClangDocTests.dir/SerializeTest.cpp.o [58/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/ClangTidyOptionsTest.cpp.o [59/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/CompileCommandsTests.cpp.o [60/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ConfigProviderTests.cpp.o [61/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/FileDistanceTests.cpp.o [62/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/UsingInserterTest.cpp.o [63/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/GoogleModuleTest.cpp.o [64/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ASTTests.cpp.o [65/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ConfigYAMLTests.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/FSTests.cpp.o [68/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ASTSignalsTests.cpp.o [69/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/CollectMacrosTests.cpp.o [70/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/ModernizeModuleTest.cpp.o [71/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ConfigCompileTests.cpp.o [72/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/IncludeInserterTest.cpp.o [73/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/LLVMModuleTest.cpp.o [74/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/AddConstTest.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/CodeCompletionStringsTests.cpp.o [77/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/FuzzyMatchTests.cpp.o [78/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/ReadabilityModuleTest.cpp.o [79/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/LoggerTests.cpp.o [80/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/JSONTransportTests.cpp.o [81/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/CompilerTests.cpp.o [82/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/LSPClient.cpp.o [83/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/PathMappingTests.cpp.o [84/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/FeatureModulesTests.cpp.o [85/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/GlobalCompilationDatabaseTests.cpp.o [86/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/DexTests.cpp.o [87/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/RIFFTests.cpp.o [88/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ExpectedTypeTest.cpp.o [89/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/DumpASTTests.cpp.o [90/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ClangdLSPServerTests.cpp.o [91/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ProjectAwareIndexTests.cpp.o [92/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/LSPBinderTests.cpp.o [93/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/TransformerClangTidyCheckTest.cpp.o [94/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/TestFS.cpp.o [95/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/BackgroundIndexTests.cpp.o [96/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ClangdTests.cpp.o [97/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/TestIndex.cpp.o [98/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ModulesTests.cpp.o [99/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/HeaderSourceSwitchTests.cpp.o [100/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/FindSymbolsTests.cpp.o [101/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/InsertionPointTests.cpp.o [102/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"); | ^ [103/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/DecisionForestRuntimeTest.cpp.o [104/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/IncludeCleanerTests.cpp.o [105/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/IndexActionTests.cpp.o [106/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ThreadCrashReporterTests.cpp.o [107/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/HeadersTests.cpp.o [108/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/TidyProviderTests.cpp.o [109/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/ContextTests.cpp.o [110/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/CancellationTests.cpp.o [111/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/OverlappingReplacementsTest.cpp.o [112/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/FunctionTests.cpp.o [113/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/SemanticSelectionTests.cpp.o [114/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/TestTracer.cpp.o [115/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/HoverTests.cpp.o [116/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/QualityTests.cpp.o [117/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/FileCacheTests.cpp.o [118/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/SelectionTests.cpp.o [119/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/DiagnosticsTests.cpp.o [120/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/SemanticHighlightingTests.cpp.o [121/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/PathTests.cpp.o [122/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/SymbolInfoTests.cpp.o [123/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/URITests.cpp.o [124/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/MarkupTests.cpp.o [125/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/InlayHintTests.cpp.o [126/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ReplayPeambleTests.cpp.o [127/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/MemoryTreeTests.cpp.o [128/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/FileIndexTests.cpp.o [129/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/ThreadingTests.cpp.o [130/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/SyncAPI.cpp.o [131/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/SerializationTests.cpp.o [132/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/TraceTests.cpp.o [133/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/CodeCompleteTests.cpp.o [134/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/StdLibTests.cpp.o [135/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/IndexTests.cpp.o [136/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/TestWorkspace.cpp.o [137/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/SourceCodeTests.cpp.o [138/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/PrintASTTests.cpp.o [139/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/RenameTests.cpp.o [140/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/PreambleTests.cpp.o [141/441] Linking CXX executable tools/extra/unittests/clang-move/ClangMoveTests [142/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/AnnotateHighlightingsTests.cpp.o [143/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/HeaderMapTest.cpp.o [144/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/DumpASTTests.cpp.o [145/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ParsedASTTests.cpp.o [146/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/ExpandMacroTests.cpp.o [147/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/DumpRecordLayoutTests.cpp.o [148/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/DependencyDirectivesScannerTest.cpp.o [149/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/DumpSymbolTests.cpp.o [150/441] Building CXX object unittests/Basic/CMakeFiles/BasicTests.dir/SarifTest.cpp.o [151/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/AddUsingTests.cpp.o [152/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/DefineOutlineTests.cpp.o [153/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/TypeHierarchyTests.cpp.o [154/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/ObjCMemberwiseInitializerTests.cpp.o [155/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/ExtractVariableTests.cpp.o [156/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/PopulateSwitchTests.cpp.o [157/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/ObjCLocalizeStringLiteralTests.cpp.o [158/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/ExpandDeducedTypeTests.cpp.o [159/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/DefineInlineTests.cpp.o [160/441] Building CXX object unittests/Basic/CMakeFiles/BasicTests.dir/SourceManagerTest.cpp.o [161/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()) | ^ [162/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/MemberwiseConstructorTests.cpp.o [163/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/ExtractFunctionTests.cpp.o [164/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/RawStringLiteralTests.cpp.o [165/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/HeaderSearchTest.cpp.o [166/441] Building CXX object unittests/Driver/CMakeFiles/ClangDriverTests.dir/ModuleCacheTest.cpp.o [167/441] Linking CXX executable tools/extra/include-cleaner/unittests/ClangIncludeCleanerTests [168/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/RemoveUsingNamespaceTests.cpp.o [169/441] Building CXX object unittests/Driver/CMakeFiles/ClangDriverTests.dir/DistroTest.cpp.o [170/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/ShowSelectionTreeTests.cpp.o [171/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/SpecialMembersTests.cpp.o [172/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/TestTU.cpp.o [173/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/TweakTests.cpp.o [174/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/ModuleDeclStateTest.cpp.o [175/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/SwapIfBranchesTests.cpp.o [176/441] Building CXX object unittests/Driver/CMakeFiles/ClangDriverTests.dir/MultilibBuilderTest.cpp.o [177/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/TweakTesting.cpp.o [178/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/PPMemoryAllocationsTest.cpp.o [179/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/PPConditionalDirectiveRecordTest.cpp.o [180/441] Building CXX object unittests/Driver/CMakeFiles/ClangDriverTests.dir/MultilibTest.cpp.o [181/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/PPDependencyDirectivesTest.cpp.o [182/441] Building CXX object unittests/Analysis/CMakeFiles/ClangAnalysisTests.dir/UnsafeBufferUsageTest.cpp.o [183/441] Building CXX object unittests/Driver/CMakeFiles/ClangDriverTests.dir/SanitizerArgsTest.cpp.o [184/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/LexerTest.cpp.o [185/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/XRefsTests.cpp.o [186/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/ArenaTest.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 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) | ^ [191/441] Building CXX object unittests/Driver/CMakeFiles/ClangDriverTests.dir/DXCModeTest.cpp.o [192/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/PPCallbacksTest.cpp.o [193/441] Building CXX object unittests/Driver/CMakeFiles/ClangDriverTests.dir/ToolChainTest.cpp.o [194/441] Linking CXX executable tools/extra/unittests/clang-doc/ClangDocTests [195/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/MapLatticeTest.cpp.o [196/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/AnalyzerOptionsTest.cpp.o [197/441] Building CXX object unittests/Analysis/CMakeFiles/ClangAnalysisTests.dir/MacroExpansionContextTest.cpp.o [198/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/APSIntTypeTest.cpp.o [199/441] Building CXX object unittests/Analysis/CMakeFiles/ClangAnalysisTests.dir/CFGTest.cpp.o [200/441] Building CXX object unittests/Analysis/CMakeFiles/ClangAnalysisTests.dir/CloneDetectionTest.cpp.o [201/441] Building CXX object unittests/Analysis/CMakeFiles/ClangAnalysisTests.dir/IntervalPartitionTest.cpp.o [202/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/CFGMatchSwitchTest.cpp.o [203/441] Building CXX object unittests/Analysis/CMakeFiles/ClangAnalysisTests.dir/CFGDominatorTree.cpp.o [204/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/ChromiumCheckModelTest.cpp.o [205/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/LoggerTest.cpp.o [206/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/DeterminismTest.cpp.o [207/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/DebugSupportTest.cpp.o [208/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/MatchSwitchTest.cpp.o [209/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/ConflictingEvalCallsTest.cpp.o [210/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/DataflowEnvironmentTest.cpp.o [211/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/NoStateChangeFuncVisitorTest.cpp.o [212/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/TestingSupport.cpp.o [213/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/CallEventTest.cpp.o [214/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/RecordOpsTest.cpp.o [215/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/SolverTest.cpp.o [216/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/TransferBranchTest.cpp.o [217/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/TestingSupportTest.cpp.o [218/441] Building CXX object unittests/Analysis/CMakeFiles/ClangAnalysisTests.dir/ExprMutationAnalyzerTest.cpp.o [219/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/SingleVarConstantPropagationTest.cpp.o [220/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/BugReportInterestingnessTest.cpp.o [221/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/RegisterCustomCheckersTest.cpp.o [222/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/TestReturnValueUnderConstruction.cpp.o [223/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/MultiVarConstantPropagationTest.cpp.o [224/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/ParamRegionTest.cpp.o [225/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/SignAnalysisTest.cpp.o [226/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/UncheckedOptionalAccessModelTest.cpp.o [227/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/CallDescriptionTest.cpp.o [228/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/FalsePositiveRefutationBRVisitorTest.cpp.o [229/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/CommentTextTest.cpp.o [230/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTVectorTest.cpp.o [231/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/StoreTest.cpp.o [232/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/SValTest.cpp.o [233/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/SymbolReaperTest.cpp.o [234/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/CommentParser.cpp.o [235/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/TypeErasedDataflowAnalysisTest.cpp.o [236/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTExprTest.cpp.o [237/441] Building CXX object unittests/ASTMatchers/CMakeFiles/ASTMatchersTests.dir/GtestMatchersTest.cpp.o [238/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/CommentLexer.cpp.o [239/441] Building CXX object unittests/ASTMatchers/Dynamic/CMakeFiles/DynamicASTMatchersTests.dir/RegistryTest.cpp.o [240/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/TransferTest.cpp.o [241/441] Building CXX object unittests/ASTMatchers/Dynamic/CMakeFiles/DynamicASTMatchersTests.dir/VariantValueTest.cpp.o [242/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/RangeSetTest.cpp.o [243/441] Building CXX object unittests/ASTMatchers/Dynamic/CMakeFiles/DynamicASTMatchersTests.dir/ParserTest.cpp.o [244/441] Building CXX object unittests/ASTMatchers/CMakeFiles/ASTMatchersTests.dir/ASTMatchersInternalTest.cpp.o [245/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterFixtures.cpp.o [246/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTContextParentMapTest.cpp.o [247/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterObjCTest.cpp.o [248/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/UnresolvedSetTest.cpp.o [249/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ExternalASTSourceTest.cpp.o [250/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/SizelessTypesTest.cpp.o [251/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTTypeTraitsTest.cpp.o [252/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/AttrTest.cpp.o [253/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/DataCollectionTest.cpp.o [254/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/HeaderIncludesTest.cpp.o [255/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/NamedDeclPrinterTest.cpp.o [256/441] Building CXX object unittests/CrossTU/CMakeFiles/CrossTUTests.dir/CrossTranslationUnitTest.cpp.o [257/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/DiagnosticsYamlTest.cpp.o [258/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/DeclTest.cpp.o [259/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/HeaderAnalysisTest.cpp.o [260/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/TemplateNameTest.cpp.o [261/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/RandstructTest.cpp.o [262/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/CompilationDatabaseTest.cpp.o [263/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/RecursiveASTVisitorTest.cpp.o [264/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTTraverserTest.cpp.o [265/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/DeclPrinterTest.cpp.o [266/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/StmtPrinterTest.cpp.o [267/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterVisibilityTest.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/TypePrinterTest.cpp.o [270/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/DependencyScannerTest.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/CastExprTest.cpp.o [273/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/StandardLibraryTest.cpp.o [274/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/CommentHandlerTest.cpp.o [275/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/FixItTest.cpp.o [276/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/SourceLocationTest.cpp.o [277/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterODRStrategiesTest.cpp.o [278/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/ASTSelectionTest.cpp.o [279/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/ExecutionTest.cpp.o [280/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/QualTypeNamesTest.cpp.o [281/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/LookupTest.cpp.o [282/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/StructuralEquivalenceTest.cpp.o [283/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/Class.cpp.o [284/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/ConstructExpr.cpp.o [285/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/Attr.cpp.o [286/441] Building CXX object unittests/ASTMatchers/CMakeFiles/ASTMatchersTests.dir/ASTMatchersNodeTest.cpp.o [287/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CXXMethodDecl.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/LexicallyOrderedRecursiveASTVisitorTest.cpp.o [290/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CXXBoolLiteralExpr.cpp.o [291/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CXXMemberCall.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/CXXOperatorCallExprTraverser.cpp.o [294/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/Concept.cpp.o [295/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/DeclRefExpr.cpp.o [296/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/InitListExprPostOrderNoQueue.cpp.o [297/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/ImplicitCtorInitializer.cpp.o [298/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/InitListExprPostOrder.cpp.o [299/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RewriterTest.cpp.o [300/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/InitListExprPreOrder.cpp.o [301/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/IntegerLiteral.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/RecursiveASTVisitorTests/LambdaDefaultCapture.cpp.o [305/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CallbacksCompoundAssignOperator.cpp.o [306/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CallbacksLeaf.cpp.o [307/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CallbacksBinaryOperator.cpp.o [308/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CallbacksUnaryOperator.cpp.o [309/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/LambdaExpr.cpp.o [310/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RefactoringActionRulesTest.cpp.o [311/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/LambdaTemplateParams.cpp.o [312/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CallbacksCallExpr.cpp.o [313/441] Building CXX object unittests/ASTMatchers/CMakeFiles/ASTMatchersTests.dir/ASTMatchersNarrowingTest.cpp.o [314/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/NestedNameSpecifiers.cpp.o [315/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/BracesInserterTest.cpp.o [316/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/MemberPointerTypeLoc.cpp.o [317/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/BracesRemoverTest.cpp.o [318/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/ParenExpr.cpp.o [319/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/TraversalScope.cpp.o [320/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTestPostOrderVisitor.cpp.o [321/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/DefinitionBlockSeparatorTest.cpp.o [322/441] Building CXX object unittests/Tooling/Syntax/CMakeFiles/SyntaxTests.dir/MutationsTest.cpp.o [323/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestJson.cpp.o [324/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestCSharp.cpp.o [325/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestJava.cpp.o [326/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/CleanupTest.cpp.o [327/441] Building CXX object unittests/Tooling/Syntax/CMakeFiles/SyntaxTests.dir/SynthesisTest.cpp.o [328/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/TemplateArgumentLocTraverser.cpp.o [329/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestMacroExpansion.cpp.o [330/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTestTypeLocVisitor.cpp.o [331/441] Building CXX object unittests/Tooling/Syntax/CMakeFiles/SyntaxTests.dir/TreeTestBase.cpp.o [332/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RefactoringCallbacksTest.cpp.o [333/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestTableGen.cpp.o [334/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestProto.cpp.o [335/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestObjC.cpp.o [336/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestSelective.cpp.o [337/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestTextProto.cpp.o [338/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestJS.cpp.o [339/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/SourceCodeBuildersTest.cpp.o [340/441] Building CXX object unittests/Tooling/Syntax/CMakeFiles/SyntaxTests.dir/TreeTest.cpp.o [341/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestVerilog.cpp.o [342/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestRawStrings.cpp.o [343/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/SortImportsTestJS.cpp.o [344/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatReplacementTest.cpp.o [345/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/IntegerLiteralSeparatorTest.cpp.o [346/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/SortImportsTestJava.cpp.o [347/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/FixedPointString.cpp.o [348/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/ToolingTest.cpp.o [349/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/ParsedSourceLocationTest.cpp.o [350/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/NamespaceEndCommentsFixerTest.cpp.o [351/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/UsingDeclarationsSorterTest.cpp.o [352/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTokenSourceTest.cpp.o [353/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/SortIncludesTest.cpp.o [354/441] Building CXX object unittests/Rewrite/CMakeFiles/RewriteTests.dir/RewriteBufferTest.cpp.o [355/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestComments.cpp.o [356/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/MacroExpanderTest.cpp.o [357/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/TextDiagnosticTest.cpp.o [358/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/MacroCallReconstructorTest.cpp.o [359/441] Building CXX object unittests/Tooling/Syntax/CMakeFiles/SyntaxTests.dir/BuildTreeTest.cpp.o [360/441] Building CXX object unittests/CodeGen/CMakeFiles/ClangCodeGenTests.dir/CheckTargetFeaturesTest.cpp.o [361/441] Building CXX object unittests/Tooling/Syntax/CMakeFiles/SyntaxTests.dir/TokensTest.cpp.o [362/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/StencilTest.cpp.o [363/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/QualifierFixerTest.cpp.o [364/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/CompilerInstanceTest.cpp.o [365/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTestDeclVisitor.cpp.o [366/441] Building CXX object unittests/Rewrite/CMakeFiles/RewriteTests.dir/RewriterTest.cpp.o [367/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/ASTUnitTest.cpp.o [368/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/PCHPreambleTest.cpp.o [369/441] Building CXX object unittests/libclang/CrashTests/CMakeFiles/libclangCrashTests.dir/LibclangCrashTest.cpp.o [370/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/CodeGenActionTest.cpp.o [371/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/ReparseWorkingDirTest.cpp.o [372/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/UtilsTest.cpp.o [373/441] Building CXX object unittests/DirectoryWatcher/CMakeFiles/DirectoryWatcherTests.dir/DirectoryWatcherTest.cpp.o [374/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/OutputStreamTest.cpp.o [375/441] Building CXX object unittests/libclang/CMakeFiles/libclangTests.dir/LibclangTest.cpp.o [376/441] Building CXX object unittests/Serialization/CMakeFiles/SerializationTests.dir/InMemoryModuleCacheTest.cpp.o [377/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); | ~~~~^~~ [378/441] Building CXX object unittests/Sema/CMakeFiles/SemaTests.dir/ExternalSemaSourceTest.cpp.o [379/441] Building CXX object unittests/Introspection/CMakeFiles/IntrospectionTests.dir/IntrospectionTest.cpp.o [380/441] Building CXX object unittests/Sema/CMakeFiles/SemaTests.dir/SemaLookupTest.cpp.o [381/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/CompilerInvocationTest.cpp.o [382/441] Building CXX object unittests/Interpreter/CMakeFiles/ClangReplInterpreterTests.dir/IncrementalProcessingTest.cpp.o [383/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/TransformerTest.cpp.o [384/441] Building CXX object unittests/CodeGen/CMakeFiles/ClangCodeGenTests.dir/BufferSourceTest.cpp.o [385/441] Building CXX object unittests/Sema/CMakeFiles/SemaTests.dir/CodeCompleteTest.cpp.o [386/441] Building CXX object unittests/CodeGen/CMakeFiles/ClangCodeGenTests.dir/TBAAMetadataTest.cpp.o [387/441] Building CXX object unittests/ASTMatchers/CMakeFiles/ASTMatchersTests.dir/ASTMatchersTraversalTest.cpp.o [388/441] Building CXX object unittests/CodeGen/CMakeFiles/ClangCodeGenTests.dir/CodeGenExternalTest.cpp.o [389/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterTest.cpp.o [390/441] Building CXX object unittests/Interpreter/ExceptionTests/CMakeFiles/ClangReplInterpreterExceptionTests.dir/InterpreterExceptionTest.cpp.o [391/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/FrontendActionTest.cpp.o [392/441] Building CXX object unittests/Sema/CMakeFiles/SemaTests.dir/GslOwnerPointerInference.cpp.o [393/441] Building CXX object unittests/Serialization/CMakeFiles/SerializationTests.dir/ModuleCacheTest.cpp.o [394/441] Building CXX object unittests/Sema/CMakeFiles/SemaTests.dir/SemaNoloadLookupTest.cpp.o [395/441] Building CXX object unittests/Support/CMakeFiles/ClangSupportTests.dir/TimeProfilerTest.cpp.o [396/441] Building CXX object unittests/Index/CMakeFiles/IndexTests.dir/IndexTests.cpp.o [397/441] Building CXX object unittests/Interpreter/CMakeFiles/ClangReplInterpreterTests.dir/InterpreterTest.cpp.o [398/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RefactoringTest.cpp.o [399/441] Building CXX object unittests/Serialization/CMakeFiles/SerializationTests.dir/VarDeclConstantInitTest.cpp.o [400/441] Building CXX object unittests/Rename/CMakeFiles/ClangRenameTests.dir/RenameFunctionTest.cpp.o [401/441] Building CXX object unittests/Rename/CMakeFiles/ClangRenameTests.dir/RenameClassTest.cpp.o [402/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/TokenAnnotatorTest.cpp.o [403/441] Building CXX object unittests/Serialization/CMakeFiles/SerializationTests.dir/NoCommentsTest.cpp.o [404/441] Building CXX object unittests/Rename/CMakeFiles/ClangRenameTests.dir/RenameAliasTest.cpp.o [405/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTest.cpp.o [406/441] Building CXX object unittests/Rename/CMakeFiles/ClangRenameTests.dir/RenameEnumTest.cpp.o [407/441] Building CXX object unittests/Rename/CMakeFiles/ClangRenameTests.dir/RenameMemberTest.cpp.o [408/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) { | ^~~~~~~~~~~~~~~ [409/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/SourceCodeTest.cpp.o [410/441] Linking CXX executable tools/extra/clangd/unittests/ClangdTests /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobal.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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; | [411/441] Linking CXX executable tools/extra/unittests/clang-include-fixer/find-all-symbols/FindAllSymbolsTests [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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 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/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/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; | ^ /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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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; | [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: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: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: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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:0, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:0, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:0, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:0, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:0, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:0, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:0, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:0, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:0, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:0, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -- Testing: 19712 tests, 32 workers -- Testing: FAIL: Clang :: Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp (393 of 19712) ******************** TEST 'Clang :: Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9722bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9720c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe97233d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffeb8c648 (linux-vdso.so.1+0x648) #4 0x000000fff21d5388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff21d5388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff21d5388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff21d5388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff21d5388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff21d5388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff21d5388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff21d5388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff1e4c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff1e4c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff1e4c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff1e4c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff1e4c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff1e4c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff1e4c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff1e4c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1e4fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1e4fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1e4fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1e4fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1e43430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1e43430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1e43430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff1e513b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff1e513b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff1e513b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1e43d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1e43d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1e43d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff1e5c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff1e5c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff1e5c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff1e631d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff1e631d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff1e631d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1dbe138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1dbe138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1dbe138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1dbe138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1dbe688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff1dbe688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff1dbe688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff1e259ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff1e259ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff1e259ac clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff1e259ac clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #50 0x000000fff1dd8d50 clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1318:0 #51 0x000000fff1de16a8 clang::ento::ExprEngine::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 #52 0x000000fff1de187c clang::ento::CoreEngine::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 0x000000fff1de1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #54 0x000000fff1de1c70 clang::ento::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 0x000000fff20ef03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff20ef03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff20ef03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff20ef03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff20ef03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff20f0224 llvm::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 0x000000fff20f0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff20f0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff20f4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff20f4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff20f4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff20f4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff20f4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000fff0336978 __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 0x000000fff0336978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000fff0336978 void clang::finalize>, 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 0x000000fff0336978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff1bafb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff1b6b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff1b6b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff1b6b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff1bff9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaab495c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaab499b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaab49b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaab492034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe89288c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe89289cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaab4920a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/Malloc+MismatchedDeallocator+NewDelete.cpp.script: line 2: 3860195 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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: FAIL: Clang :: Analysis/NewDelete-sized-deallocation.cpp (394 of 19712) ******************** TEST 'Clang :: Analysis/NewDelete-sized-deallocation.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe87e6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe87e4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe87e73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffdf10648 (linux-vdso.so.1+0x648) #4 0x000000fff1299388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1299388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1299388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1299388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1299388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1299388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1299388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1299388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff0f103a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff0f103a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff0f103a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff0f103a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff0f103a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff0f103a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff0f103a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff0f103a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0f13dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0f13dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0f13dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0f13dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0f07430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0f07430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0f07430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff0f153b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0f153b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0f153b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0f07d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0f07d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0f07d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff0f203b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff0f203b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff0f203b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff0f271d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff0f271d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff0f271d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0e82138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0e82138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0e82138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0e82138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff0e82688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff0e82688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff0e82688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff0ee99ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff0ee99ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff0ee99ac clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff0ee99ac clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #50 0x000000fff0e9cd50 clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1318:0 #51 0x000000fff0ea56a8 clang::ento::ExprEngine::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 #52 0x000000fff0ea5780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #53 0x000000fff0ea5a58 clang::ento::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 #54 0x000000fff0ea5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x000000fff0ea5c70 clang::ento::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 0x000000fff11b303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x000000fff11b303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x000000fff11b303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x000000fff11b303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x000000fff11b303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x000000fff11b4224 llvm::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 0x000000fff11b4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x000000fff11b4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x000000fff11b8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x000000fff11b8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x000000fff11b8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x000000fff11b8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x000000fff11b8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x000000ffef3fa978 __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 0x000000ffef3fa978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x000000ffef3fa978 void clang::finalize>, 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 0x000000ffef3fa978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x000000fff0c73b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x000000fff0c2f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x000000fff0c2f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x000000fff0c2f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x000000fff0cc39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x000000aaaea01c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x000000aaaea05b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x000000aaaea07234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x000000aaae9fe034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x000000ffe79ec8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #83 0x000000ffe79ec9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #84 0x000000aaae9fe0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete-sized-deallocation.cpp.script: line 18: 3860335 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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: FAIL: Clang :: Analysis/NewDelete-custom.cpp (395 of 19712) ******************** TEST 'Clang :: Analysis/NewDelete-custom.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6b6ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6b6cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6b6f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffdbb0648 (linux-vdso.so.1+0x648) #4 0x000000ffef621388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef621388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef621388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef621388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef621388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef621388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef621388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef621388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef2983a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef2983a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef2983a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef2983a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef2983a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef2983a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef2983a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef2983a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef29bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef29bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef29bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef29bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef28f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef28f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef28f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef29d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef29d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef29d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef28fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef28fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef28fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef2a83b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef2a83b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef2a83b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef2af1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef2af1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef2af1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef20a138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef20a138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef20a138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef20a138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffef20a688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffef20a688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffef20a688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000ffef2719ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000ffef2719ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000ffef2719ac clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000ffef2719ac clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #50 0x000000ffef224d50 clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1318:0 #51 0x000000ffef22d6a8 clang::ento::ExprEngine::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 #52 0x000000ffef22d87c clang::ento::CoreEngine::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 0x000000ffef22dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #54 0x000000ffef22dc70 clang::ento::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 0x000000ffef53b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000ffef53b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000ffef53b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000ffef53b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000ffef53b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000ffef53c224 llvm::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 0x000000ffef53c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000ffef53c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000ffef540604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000ffef540604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000ffef540604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000ffef540604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000ffef540604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffed782978 __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 0x000000ffed782978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffed782978 void clang::finalize>, 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 0x000000ffed782978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000ffeeffbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000ffeefb7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000ffeefb7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000ffeefb7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000ffef04b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaaabf9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaaabfdb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaaabff234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaaabf6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe5d748c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe5d749cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaaabf60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete-custom.cpp.script: line 2: 3860275 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDelete,cplusplus.NewDeleteLeaks,unix.Malloc -std=c++11 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-custom.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/NewDelete-atomics.cpp (397 of 19712) ******************** TEST 'Clang :: Analysis/NewDelete-atomics.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7a5ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7a5cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7a5f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc1d8648 (linux-vdso.so.1+0x648) #4 0x000000fff00e8f7c retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000fff00e8f7c retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff00e8f7c retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff00e8f7c IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff00e8f7c ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff00e8f7c MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff00e8f7c get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000fff00e8f7c 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 0x000000fff00f35ac llvm::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 0x000000fff00f35ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #14 0x000000fff00f35ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x000000fff00f35ac clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:429:50 #16 0x000000fff00f35ac 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:45 #17 0x000000fff00f4d9c clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:7 #18 0x000000fff00f4d9c clang::ento::AnyCXXConstructorCall::getInitialStackFrameContents(clang::StackFrameContext const*, llvm::SmallVectorImpl>&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:915:31 #19 0x000000fff01a7b90 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #20 0x000000fff01a7b90 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #21 0x000000fff0153e7c clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #22 0x000000fff0153e7c clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #23 0x000000fff0154058 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #24 0x000000fff0154058 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #25 0x000000fff0154058 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #26 0x000000fff0160020 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff0160020 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff0160020 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #29 0x000000fff0160b88 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #30 0x000000fff0160b88 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #31 0x000000fff0160b88 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x000000fff0160b88 clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #33 0x000000fff00f9670 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:706:0 #34 0x000000fff015eda0 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #35 0x000000fff015eda0 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #36 0x000000fff015eda0 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #37 0x000000fff015eda0 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #38 0x000000fff015eda0 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #39 0x000000fff015eda0 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #40 0x000000fff015eda0 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #41 0x000000fff011acdc clang::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 0x000000fff011acdc clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #43 0x000000fff011be0c clang::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 0x000000fff011d65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff011d87c clang::ento::CoreEngine::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 0x000000fff011dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #47 0x000000fff011dc70 clang::ento::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 0x000000fff042b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #49 0x000000fff042b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #50 0x000000fff042b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #51 0x000000fff042b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #52 0x000000fff042b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #53 0x000000fff042c224 llvm::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 0x000000fff042c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #55 0x000000fff042c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #56 0x000000fff0430604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x000000fff0430604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x000000fff0430604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #59 0x000000fff0430604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #60 0x000000fff0430604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #61 0x000000ffee672978 __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 0x000000ffee672978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #63 0x000000ffee672978 void clang::finalize>, 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 0x000000ffee672978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #65 0x000000ffefeebb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #66 0x000000ffefea7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #67 0x000000ffefea7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #68 0x000000ffefea7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #69 0x000000ffeff3b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #70 0x000000aaadc3dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #71 0x000000aaadc41b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #72 0x000000aaadc43234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #73 0x000000aaadc3a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #74 0x000000ffe6c648c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #75 0x000000ffe6c649cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #76 0x000000aaadc3a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete-atomics.cpp.script: line 8: 3860264 Segmentation fault /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/CheckNSError.m (398 of 19712) ******************** TEST 'Clang :: Analysis/CheckNSError.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9e66bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9e64c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9e673d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd9f8648 (linux-vdso.so.1+0x648) #4 0x000000fff2919388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2919388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2919388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2919388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2919388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2919388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2919388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2919388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff25903a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff25903a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff25903a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff25903a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff25903a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff25903a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff25903a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff25903a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff2593dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff2593dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff2593dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff2593dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff2587430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff2587430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff2587430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff25953b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff25953b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff25953b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff2587d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff2587d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff2587d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff25a03b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff25a03b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff25a03b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff25a71d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff25a71d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff25a71d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff2502138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff2502138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff2502138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff2502138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff2502688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff2502688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff2502688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff271a95c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #47 0x000000fff271a95c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #48 0x000000fff271a95c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:60 #49 0x000000fff271a95c checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/NonNullParamChecker.cpp:269:65 #50 0x000000fff271a95c void clang::ento::check::BeginFunction::_checkBeginFunction<(anonymous namespace)::NonNullParamChecker>(void*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:244:51 #51 0x000000fff24eacc8 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #52 0x000000fff24eacc8 clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:441:26 #53 0x000000fff2525f88 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:126:0 #54 0x000000fff283303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #55 0x000000fff283303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x000000fff283303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #57 0x000000fff283303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #58 0x000000fff283303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #59 0x000000fff2834224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #60 0x000000fff2834224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #61 0x000000fff2834224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #62 0x000000fff2838604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x000000fff2838604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x000000fff2838604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #65 0x000000fff2838604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #66 0x000000fff2838604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #67 0x000000fff0a7a978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #68 0x000000fff0a7a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #69 0x000000fff0a7a978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #70 0x000000fff0a7a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #71 0x000000fff22f3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #72 0x000000fff22af354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #73 0x000000fff22af354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #74 0x000000fff22af354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #75 0x000000fff23439a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #76 0x000000aaae941c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #77 0x000000aaae945b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #78 0x000000aaae947234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #79 0x000000aaae93e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #80 0x000000ffe906c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #81 0x000000ffe906c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #82 0x000000aaae93e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/CheckNSError.m.script: line 1: 3860119 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/MemRegion.cpp (399 of 19712) ******************** TEST 'Clang :: Analysis/MemRegion.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe89d2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe89d0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe89d33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffcf4648 (linux-vdso.so.1+0x648) #4 0x000000fff1087f68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff1087f68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff1087f68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff1087f68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff1087f68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff1087f68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff1087f68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff1087f68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000fff108fd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x000000fff108fd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x000000fff108fd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x000000fff108fd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x000000fff108fd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x000000fff108fd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x000000fff108fd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x000000fff108fd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x000000fff108fd94 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 0x000000fff109165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff1091780 clang::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 0x000000fff1091a58 clang::ento::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 0x000000fff1091c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x000000fff1091c70 clang::ento::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 0x000000fff139f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff139f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff139f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x000000fff139f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x000000fff139f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x000000fff13a0224 llvm::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 0x000000fff13a0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x000000fff13a0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x000000fff13a4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x000000fff13a4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x000000fff13a4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x000000fff13a4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x000000fff13a4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x000000ffef5e6978 __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 0x000000ffef5e6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x000000ffef5e6978 void clang::finalize>, 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 0x000000ffef5e6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x000000fff0e5fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x000000fff0e1b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x000000fff0e1b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x000000fff0e1b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x000000fff0eaf9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000000aaab239c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000000aaab23db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000000aaab23f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000000aaab236034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x000000ffe7bd88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #53 0x000000ffe7bd89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #54 0x000000aaab2360a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/MemRegion.cpp.script: line 1: 3860225 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/NSWindow.m (402 of 19712) ******************** TEST 'Clang :: Analysis/NSWindow.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9432bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9430c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe94333d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffdef4648 (linux-vdso.so.1+0x648) #4 0x000000fff1ad4f18 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1ad4f18 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1ad4f18 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1ad4f18 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1ad4f18 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1ad4f18 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 0x000000fff1ad4f18 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1ad4f18 llvm::IntrusiveRefCntPtr clang::ento::removeDeadImpl<(anonymous namespace)::DynamicTypeMap>(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:166:0 #12 0x000000fff1ed397c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x000000fff1ed397c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x000000fff1ed397c clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x000000fff1ed397c (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 0x000000fff1ab68e8 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #17 0x000000fff1ae81b4 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x000000fff1ae81b4 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x000000fff1ae81b4 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #20 0x000000fff1ae81b4 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #21 0x000000fff1ae81b4 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #22 0x000000fff1ae81b4 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #23 0x000000fff1ae81b4 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #24 0x000000fff1aefd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #25 0x000000fff1aefd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #26 0x000000fff1aefd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #27 0x000000fff1aefd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #28 0x000000fff1aefd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #29 0x000000fff1aefd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #30 0x000000fff1aefd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #31 0x000000fff1aefd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #32 0x000000fff1aefd94 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 0x000000fff1af165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff1af187c clang::ento::CoreEngine::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 0x000000fff1af1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #36 0x000000fff1af1c70 clang::ento::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 0x000000fff1dff03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #38 0x000000fff1dff03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #39 0x000000fff1dff03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #40 0x000000fff1dff03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #41 0x000000fff1dff03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #42 0x000000fff1e00224 llvm::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 0x000000fff1e00224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #44 0x000000fff1e00224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #45 0x000000fff1e04604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x000000fff1e04604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x000000fff1e04604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #48 0x000000fff1e04604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #49 0x000000fff1e04604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #50 0x000000fff0046978 __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 0x000000fff0046978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #52 0x000000fff0046978 void clang::finalize>, 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 0x000000fff0046978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #54 0x000000fff18bfb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #55 0x000000fff187b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #56 0x000000fff187b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #57 0x000000fff187b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #58 0x000000fff190f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #59 0x000000aaadfcdc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #60 0x000000aaadfd1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #61 0x000000aaadfd3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #62 0x000000aaadfca034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #63 0x000000ffe86388c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #64 0x000000ffe86389cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #65 0x000000aaadfca0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NSWindow.m.script: line 1: 3860244 Segmentation fault /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/CGColorSpace.c (403 of 19712) ******************** TEST 'Clang :: Analysis/CGColorSpace.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6f6abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6f68c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6f6b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff2bc648 (linux-vdso.so.1+0x648) #4 0x000000ffef886ca4 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000ffef886ca4 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffef886ca4 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffef886ca4 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffef886ca4 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffef886ca4 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 0x000000ffef886ca4 get<(anonymous namespace)::RefBindings> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000ffef886ca4 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 0x000000ffef5ee8e8 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x000000ffef6201b4 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x000000ffef6201b4 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x000000ffef6201b4 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #16 0x000000ffef6201b4 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #17 0x000000ffef6201b4 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #18 0x000000ffef6201b4 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #19 0x000000ffef6201b4 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #20 0x000000ffef627d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x000000ffef627d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x000000ffef627d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x000000ffef627d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x000000ffef627d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x000000ffef627d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x000000ffef627d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x000000ffef627d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x000000ffef627d94 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 0x000000ffef62965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef62987c clang::ento::CoreEngine::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 0x000000ffef629c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #32 0x000000ffef629c70 clang::ento::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 0x000000ffef93703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x000000ffef93703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x000000ffef93703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #36 0x000000ffef93703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #37 0x000000ffef93703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #38 0x000000ffef938224 llvm::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 0x000000ffef938224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #40 0x000000ffef938224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #41 0x000000ffef93c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x000000ffef93c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x000000ffef93c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #44 0x000000ffef93c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #45 0x000000ffef93c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #46 0x000000ffedb7e978 __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 0x000000ffedb7e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #48 0x000000ffedb7e978 void clang::finalize>, 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 0x000000ffedb7e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #50 0x000000ffef3f7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #51 0x000000ffef3b3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #52 0x000000ffef3b3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #53 0x000000ffef3b3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #54 0x000000ffef4479a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #55 0x000000aaad4a1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #56 0x000000aaad4a5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #57 0x000000aaad4a7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #58 0x000000aaad49e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #59 0x000000ffe61708c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #60 0x000000ffe61709cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #61 0x000000aaad49e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/CGColorSpace.c.script: line 1: 3860115 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/CFNumber.c (404 of 19712) ******************** TEST 'Clang :: Analysis/CFNumber.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8686bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8684c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe86873d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe15c648 (linux-vdso.so.1+0x648) #4 0x000000fff0fa2ca4 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff0fa2ca4 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff0fa2ca4 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff0fa2ca4 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff0fa2ca4 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff0fa2ca4 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 0x000000fff0fa2ca4 get<(anonymous namespace)::RefBindings> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff0fa2ca4 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 0x000000fff0d0a8e8 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x000000fff0d3c1b4 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x000000fff0d3c1b4 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x000000fff0d3c1b4 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #16 0x000000fff0d3c1b4 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #17 0x000000fff0d3c1b4 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #18 0x000000fff0d3c1b4 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #19 0x000000fff0d3c1b4 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #20 0x000000fff0d43d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x000000fff0d43d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x000000fff0d43d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x000000fff0d43d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x000000fff0d43d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x000000fff0d43d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x000000fff0d43d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x000000fff0d43d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x000000fff0d43d94 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 0x000000fff0d4565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff0d4587c clang::ento::CoreEngine::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 0x000000fff0d45c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #32 0x000000fff0d45c70 clang::ento::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 0x000000fff105303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x000000fff105303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x000000fff105303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #36 0x000000fff105303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #37 0x000000fff105303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #38 0x000000fff1054224 llvm::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 0x000000fff1054224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #40 0x000000fff1054224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #41 0x000000fff1058604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x000000fff1058604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x000000fff1058604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #44 0x000000fff1058604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #45 0x000000fff1058604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #46 0x000000ffef29a978 __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 0x000000ffef29a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #48 0x000000ffef29a978 void clang::finalize>, 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 0x000000ffef29a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #50 0x000000fff0b13b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #51 0x000000fff0acf354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #52 0x000000fff0acf354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #53 0x000000fff0acf354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #54 0x000000fff0b639a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #55 0x000000aaae88dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #56 0x000000aaae891b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #57 0x000000aaae893234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #58 0x000000aaae88a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #59 0x000000ffe788c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #60 0x000000ffe788c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #61 0x000000aaae88a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/CFNumber.c.script: line 1: 3860098 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/NewDelete-intersections.mm (406 of 19712) ******************** TEST 'Clang :: Analysis/NewDelete-intersections.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe68babb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe68b8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe68bb3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffce74648 (linux-vdso.so.1+0x648) #4 0x000000ffef36d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef36d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef36d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef36d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef36d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef36d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef36d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef36d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffeefe43a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffeefe43a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffeefe43a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffeefe43a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffeefe43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffeefe43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffeefe43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffeefe43a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffeefe7dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffeefe7dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffeefe7dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffeefe7dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffeefdb430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffeefdb430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffeefdb430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffeefe93b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffeefe93b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffeefe93b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffeefdbd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffeefdbd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffeefdbd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffeeff43b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffeeff43b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffeeff43b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffeeffb1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffeeffb1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffeeffb1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffeef56138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffeef56138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffeef56138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffeef56138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffeef56688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffeef56688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffeef56688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000ffeefbd9ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000ffeefbd9ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000ffeefbd9ac clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000ffeefbd9ac clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #50 0x000000ffeef70d50 clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1318:0 #51 0x000000ffeef796a8 clang::ento::ExprEngine::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 #52 0x000000ffeef79780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #53 0x000000ffeef79a58 clang::ento::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 #54 0x000000ffeef79c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x000000ffeef79c70 clang::ento::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 0x000000ffef28703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x000000ffef28703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x000000ffef28703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x000000ffef28703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x000000ffef28703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x000000ffef288224 llvm::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 0x000000ffef288224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x000000ffef288224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x000000ffef28c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x000000ffef28c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x000000ffef28c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x000000ffef28c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x000000ffef28c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x000000ffed4ce978 __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 0x000000ffed4ce978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x000000ffed4ce978 void clang::finalize>, 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 0x000000ffed4ce978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x000000ffeed47b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x000000ffeed03354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x000000ffeed03354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x000000ffeed03354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x000000ffeed979a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x000000aaae061c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x000000aaae065b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x000000aaae067234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x000000aaae05e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x000000ffe5ac08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #83 0x000000ffe5ac09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #84 0x000000aaae05e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete-intersections.mm.script: line 3: 3860308 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/CheckThatArraySubsciptNodeIsNotCollected.cpp (408 of 19712) ******************** TEST 'Clang :: Analysis/CheckThatArraySubsciptNodeIsNotCollected.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe79debb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe79dcc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe79df3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffd3c648 (linux-vdso.so.1+0x648) #4 0x000000fff0491388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0491388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0491388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0491388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0491388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0491388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0491388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0491388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff01083a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff01083a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff01083a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff01083a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff01083a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff01083a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff01083a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff01083a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff010bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff010bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff010bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff010bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff00ff430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff00ff430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff00ff430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff010d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff010d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff010d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff00ffd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff00ffd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff00ffd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff01183b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff01183b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff01183b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff011f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff011f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff011f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff007a138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff007a138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff007a138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff007a138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff05d0114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff05d0114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff05d0114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff008b190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff008b190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff008b190 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:0 #49 0x000000fff008b190 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:0 #50 0x000000fff008b190 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:0 #51 0x000000fff008b190 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:0 #52 0x000000fff008b190 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:0 #53 0x000000fff008b190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff008b190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff008b190 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:0 #56 0x000000fff008b7ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff009dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff009dc70 clang::ento::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 0x000000fff03ab03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff03ab03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff03ab03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff03ab03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff03ab03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff03ac224 llvm::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 0x000000fff03ac224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff03ac224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff03b0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff03b0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff03b0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff03b0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff03b0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffee5f2978 __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 0x000000ffee5f2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffee5f2978 void clang::finalize>, 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 0x000000ffee5f2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000ffefe6bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000ffefe27354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000ffefe27354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000ffefe27354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000ffefebb9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaaaea9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaaaeadb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaaaeaf234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaaaea6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe6be48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe6be49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaaaea60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/CheckThatArraySubsciptNodeIsNotCollected.cpp.script: line 1: 3860141 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/DynamicTypePropagation.m (410 of 19712) ******************** TEST 'Clang :: Analysis/DynamicTypePropagation.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6f76bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6f74c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6f773d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffdb34648 (linux-vdso.so.1+0x648) #4 0x000000ffef618f18 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef618f18 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef618f18 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef618f18 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef618f18 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef618f18 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 0x000000ffef618f18 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef618f18 llvm::IntrusiveRefCntPtr clang::ento::removeDeadImpl<(anonymous namespace)::DynamicTypeMap>(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:166:0 #12 0x000000ffefa1797c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x000000ffefa1797c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x000000ffefa1797c clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x000000ffefa1797c (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 0x000000ffef5fa8e8 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #17 0x000000ffef62c1b4 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x000000ffef62c1b4 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x000000ffef62c1b4 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #20 0x000000ffef62c1b4 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #21 0x000000ffef62c1b4 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #22 0x000000ffef62c1b4 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #23 0x000000ffef62c1b4 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #24 0x000000ffef633d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #25 0x000000ffef633d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #26 0x000000ffef633d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #27 0x000000ffef633d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #28 0x000000ffef633d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #29 0x000000ffef633d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #30 0x000000ffef633d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #31 0x000000ffef633d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #32 0x000000ffef633d94 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 0x000000ffef63565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef63587c clang::ento::CoreEngine::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 0x000000ffef635c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #36 0x000000ffef635c70 clang::ento::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 0x000000ffef94303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #38 0x000000ffef94303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #39 0x000000ffef94303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #40 0x000000ffef94303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #41 0x000000ffef94303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #42 0x000000ffef944224 llvm::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 0x000000ffef944224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #44 0x000000ffef944224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #45 0x000000ffef948604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x000000ffef948604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x000000ffef948604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #48 0x000000ffef948604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #49 0x000000ffef948604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #50 0x000000ffedb8a978 __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 0x000000ffedb8a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #52 0x000000ffedb8a978 void clang::finalize>, 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 0x000000ffedb8a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #54 0x000000ffef403b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #55 0x000000ffef3bf354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #56 0x000000ffef3bf354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #57 0x000000ffef3bf354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #58 0x000000ffef4539a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #59 0x000000aaad539c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #60 0x000000aaad53db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #61 0x000000aaad53f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #62 0x000000aaad536034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #63 0x000000ffe617c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #64 0x000000ffe617c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #65 0x000000aaad5360a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/DynamicTypePropagation.m.script: line 1: 3860187 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/MissingDealloc.m (411 of 19712) ******************** TEST 'Clang :: Analysis/MissingDealloc.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea01ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea01cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea01f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc6e8648 (linux-vdso.so.1+0x648) #4 0x000000fff2ad1388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2ad1388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2ad1388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2ad1388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2ad1388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2ad1388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2ad1388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2ad1388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff27483a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff27483a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff27483a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff27483a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff27483a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff27483a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff27483a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff27483a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff274bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff274bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff274bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff274bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff273f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff273f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff273f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff274d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff274d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff274d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff273fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff273fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff273fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff27583b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff27583b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff27583b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff275f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff275f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff275f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff26ba138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff26ba138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff26ba138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff26ba138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff26ba688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff26ba688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff26ba688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff2682b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff2682b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff2682b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff26ce6c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff26ce6c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff26ce6c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000fff26de010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff26de010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff26de010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff29eb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff29eb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff29eb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff29eb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff29eb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff29ec224 llvm::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 0x000000fff29ec224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff29ec224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff29f0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff29f0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff29f0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff29f0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff29f0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000fff0c32978 __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 0x000000fff0c32978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000fff0c32978 void clang::finalize>, 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 0x000000fff0c32978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff24abb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff2467354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff2467354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff2467354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff24fb9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaac6e1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaac6e5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaac6e7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaac6de034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe92248c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe92249cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaac6de0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/MissingDealloc.m.script: line 2: 3860227 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/CFRetainRelease_NSAssertionHandler.m (412 of 19712) ******************** TEST 'Clang :: Analysis/CFRetainRelease_NSAssertionHandler.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe75dabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe75d8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe75db3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe7d4648 (linux-vdso.so.1+0x648) #4 0x000000fff008d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff008d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff008d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff008d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff008d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff008d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff008d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff008d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffefd043a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffefd043a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffefd043a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffefd043a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffefd043a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffefd043a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffefd043a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffefd043a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffefd07dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffefd07dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffefd07dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffefd07dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffefcfb430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffefcfb430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffefcfb430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffefd093b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffefd093b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffefd093b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffefcfbd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffefcfbd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffefcfbd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffefd143b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffefd143b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffefd143b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffefd1b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffefd1b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffefd1b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffefc76138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffefc76138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffefc76138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffefc76138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffefc8be4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffefc8be4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffefc8be4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000ffefc8be4c 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:0 #47 0x000000ffefc97b90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000ffefc97b90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000ffefc97b90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000ffefc97b90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000ffefc97b90 clang::ento::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 #52 0x000000ffefc97e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000ffefc9965c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000ffefc9987c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000ffefc99c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000ffefc99c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000ffeffa703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000ffeffa703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000ffeffa703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000ffeffa703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000ffeffa703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000ffeffa8224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000ffeffa8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000ffeffa8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000ffeffac604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000ffeffac604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000ffeffac604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000ffeffac604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000ffeffac604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000ffee1ee978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000ffee1ee978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000ffee1ee978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000ffee1ee978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000ffefa67b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000ffefa23354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000ffefa23354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000ffefa23354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000ffefab79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaabe45c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaabe49b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaabe4b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaabe42034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe67e08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe67e09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaabe420a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/CFRetainRelease_NSAssertionHandler.m.script: line 1: 3860107 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (413 of 19712) ******************** TEST 'Clang :: Analysis/NSString.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe80c6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe80c4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe80c73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe3f8648 (linux-vdso.so.1+0x648) #4 0x000000fff0b79388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0b79388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0b79388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0b79388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0b79388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0b79388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0b79388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0b79388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff07f03a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff07f03a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff07f03a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff07f03a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff07f03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff07f03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff07f03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff07f03a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff07f3dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff07f3dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff07f3dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff07f3dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff07e7430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff07e7430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff07e7430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff07f53b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff07f53b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff07f53b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff07e7d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff07e7d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff07e7d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff08003b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff08003b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff08003b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff08071d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff08071d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff08071d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0762138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0762138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0762138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0762138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff0762688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff0762688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff0762688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff072ab4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff072ab4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff072ab4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff07766c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff07766c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff07766c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000fff0786010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff0786010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff0786010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff0a9303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff0a9303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff0a9303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff0a9303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff0a9303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff0a94224 llvm::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 0x000000fff0a94224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff0a94224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff0a98604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff0a98604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff0a98604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff0a98604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff0a98604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffeecda978 __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 0x000000ffeecda978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffeecda978 void clang::finalize>, 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 0x000000ffeecda978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff0553b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff050f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff050f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff050f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff05a39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaac7bdc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaac7c1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaac7c3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaac7ba034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe72cc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe72cc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaac7ba0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NSString.m.script: line 4: 3860237 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -analyzer-checker=core,osx.cocoa.NilArg,osx.cocoa.RetainCount,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSString.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/MismatchedDeallocator-path-notes.cpp (414 of 19712) ******************** TEST 'Clang :: Analysis/MismatchedDeallocator-path-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe809ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe809cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe809f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd378648 (linux-vdso.so.1+0x648) #4 0x000000fff0b51388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0b51388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0b51388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0b51388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0b51388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0b51388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0b51388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0b51388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff07c83a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff07c83a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff07c83a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff07c83a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff07c83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff07c83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff07c83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff07c83a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff07cbdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff07cbdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff07cbdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff07cbdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff07bf430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff07bf430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff07bf430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff07cd3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff07cd3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff07cd3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff07bfd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff07bfd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff07bfd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff07d83b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff07d83b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff07d83b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff07df1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff07df1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff07df1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff073a138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff073a138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff073a138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff073a138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff073a688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff073a688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff073a688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff07a19ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff07a19ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff07a19ac clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff07a19ac clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #50 0x000000fff0754d50 clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1318:0 #51 0x000000fff075d6a8 clang::ento::ExprEngine::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 #52 0x000000fff075d87c clang::ento::CoreEngine::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 0x000000fff075dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #54 0x000000fff075dc70 clang::ento::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 0x000000fff0a6b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff0a6b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff0a6b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff0a6b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff0a6b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff0a6c224 llvm::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 0x000000fff0a6c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff0a6c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff0a70604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff0a70604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff0a70604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff0a70604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff0a70604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffeecb2978 __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 0x000000ffeecb2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffeecb2978 void clang::finalize>, 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 0x000000ffeecb2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff052bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff04e7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff04e7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff04e7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff057b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaac5f5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaac5f9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaac5fb234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaac5f2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe72a48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe72a49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaac5f20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/MismatchedDeallocator-path-notes.cpp.script: line 3: 3860224 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/DeallocUseAfterFreeErrors.m (415 of 19712) ******************** TEST 'Clang :: Analysis/DeallocUseAfterFreeErrors.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6ce2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6ce0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6ce33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc358648 (linux-vdso.so.1+0x648) #4 0x000000ffef795388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef795388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef795388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef795388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef795388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef795388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef795388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef795388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef40c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef40c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef40c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef40c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef40c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef40c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef40c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef40c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef40fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef40fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef40fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef40fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef403430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef403430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef403430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef4113b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef4113b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef4113b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef403d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef403d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef403d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef41c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef41c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef41c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef4231d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef4231d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef4231d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef37e138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef37e138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef37e138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef37e138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffef37e688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffef37e688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffef37e688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000ffef346b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000ffef346b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000ffef346b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000ffef3926c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000ffef3926c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000ffef3926c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000ffef3a2010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000ffef3a2010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000ffef3a2010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000ffef6af03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000ffef6af03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000ffef6af03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000ffef6af03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000ffef6af03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000ffef6b0224 llvm::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 0x000000ffef6b0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000ffef6b0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000ffef6b4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000ffef6b4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000ffef6b4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000ffef6b4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000ffef6b4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffed8f6978 __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 0x000000ffed8f6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffed8f6978 void clang::finalize>, 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 0x000000ffed8f6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000ffef16fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000ffef12b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000ffef12b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000ffef12b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000ffef1bf9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaacca5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaacca9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaaccab234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaacca2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe5ee88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe5ee89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaacca20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/DeallocUseAfterFreeErrors.m.script: line 1: 3860165 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/NewDelete+MismatchedDeallocator_intersections.cpp (417 of 19712) ******************** TEST 'Clang :: Analysis/NewDelete+MismatchedDeallocator_intersections.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7382bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7380c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe73833d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff7dc648 (linux-vdso.so.1+0x648) #4 0x000000ffefe197f4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffefe197f4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffefe197f4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffefe197f4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffefe197f4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffefe197f4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffefe197f4 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffefe197f4 (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 0x000000ffefbe1fc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x000000ffefbe1fc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x000000ffefbe1fc8 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 0x000000ffefa13a28 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x000000ffefa13a28 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x000000ffefa13a28 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:29 #18 0x000000ffefa13a28 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x000000ffefabc43c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x000000ffefabc43c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x000000ffefabc43c clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x000000ffefabc43c clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x000000ffefac31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x000000ffefac31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x000000ffefac31d4 clang::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 0x000000ffefa1e230 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000ffefa1e230 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000ffefa1e230 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x000000ffefa1e230 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:0 #30 0x000000ffeff74114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffeff74114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffeff74114 clang::ento::ProgramState::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 0x000000ffefc04554 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x000000ffefc04554 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x000000ffefc04554 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x000000ffefc04554 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x000000ffefc04554 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x000000ffefc04554 (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 0x000000ffefc04a4c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #40 0x000000ffefc04a4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #41 0x000000ffefc04a4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #42 0x000000ffefc04a4c (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 #43 0x000000ffefc11610 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #44 0x000000ffefc11610 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 #45 0x000000ffefa14df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #46 0x000000ffefa14df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x000000ffefa14df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #48 0x000000ffefa14df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #49 0x000000ffefa14df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #50 0x000000ffefa66500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #51 0x000000ffefa66500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #52 0x000000ffefa66500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #53 0x000000ffefa66500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #54 0x000000ffefa66e4c clang::ento::ExprEngine::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 0x000000ffefa3ed1c clang::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 0x000000ffefa3ed1c clang::ento::ExprEngine::Visit(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 0x000000ffefa3fe0c clang::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 0x000000ffefa4165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffefa4187c clang::ento::CoreEngine::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 0x000000ffefa41c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #61 0x000000ffefa41c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #62 0x000000ffefd4f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #63 0x000000ffefd4f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #64 0x000000ffefd4f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #65 0x000000ffefd4f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #66 0x000000ffefd4f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #67 0x000000ffefd50224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #68 0x000000ffefd50224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #69 0x000000ffefd50224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #70 0x000000ffefd54604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x000000ffefd54604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x000000ffefd54604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #73 0x000000ffefd54604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #74 0x000000ffefd54604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #75 0x000000ffedf96978 __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 0x000000ffedf96978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #77 0x000000ffedf96978 void clang::finalize>, 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 0x000000ffedf96978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #79 0x000000ffef80fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #80 0x000000ffef7cb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #81 0x000000ffef7cb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #82 0x000000ffef7cb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #83 0x000000ffef85f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #84 0x000000aaab035c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #85 0x000000aaab039b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #86 0x000000aaab03b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #87 0x000000aaab032034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #88 0x000000ffe65888c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #89 0x000000ffe65889cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #90 0x000000aaab0320a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete+MismatchedDeallocator_intersections.cpp.script: line 2: 3860269 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/DeleteWithNonVirtualDtor.cpp (419 of 19712) ******************** TEST 'Clang :: Analysis/DeleteWithNonVirtualDtor.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe702abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7028c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe702b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcd38648 (linux-vdso.so.1+0x648) #4 0x000000ffefadd388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffefadd388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffefadd388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffefadd388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffefadd388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffefadd388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffefadd388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffefadd388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef7543a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef7543a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef7543a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef7543a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef7543a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef7543a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef7543a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef7543a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef757dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef757dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef757dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef757dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef74b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef74b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef74b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef7593b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef7593b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef7593b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef74bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef74bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef74bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef7643b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef7643b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef7643b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef76b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef76b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef76b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef6c6138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef6c6138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef6c6138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef6c6138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffef6c6688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffef6c6688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffef6c6688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000ffef72d9ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000ffef72d9ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000ffef72d9ac clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000ffef72d9ac clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #50 0x000000ffef6e0d50 clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1318:0 #51 0x000000ffef6e96a8 clang::ento::ExprEngine::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 #52 0x000000ffef6e9780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #53 0x000000ffef6e9a58 clang::ento::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 #54 0x000000ffef6e9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x000000ffef6e9c70 clang::ento::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 0x000000ffef9f703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x000000ffef9f703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x000000ffef9f703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x000000ffef9f703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x000000ffef9f703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x000000ffef9f8224 llvm::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 0x000000ffef9f8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x000000ffef9f8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x000000ffef9fc604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x000000ffef9fc604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x000000ffef9fc604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x000000ffef9fc604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x000000ffef9fc604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x000000ffedc3e978 __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 0x000000ffedc3e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x000000ffedc3e978 void clang::finalize>, 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 0x000000ffedc3e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x000000ffef4b7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x000000ffef473354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x000000ffef473354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x000000ffef473354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x000000ffef5079a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x000000aaadda5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x000000aaadda9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x000000aaaddab234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x000000aaadda2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x000000ffe62308c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #83 0x000000ffe62309cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #84 0x000000aaadda20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/DeleteWithNonVirtualDtor.cpp.script: line 1: 3860181 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/Issue56873.cpp (421 of 19712) ******************** TEST 'Clang :: Analysis/Issue56873.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe73a2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe73a0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe73a33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffdaa0648 (linux-vdso.so.1+0x648) #4 0x000000ffefe55388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffefe55388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffefe55388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffefe55388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffefe55388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffefe55388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffefe55388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffefe55388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffefacc3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffefacc3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffefacc3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffefacc3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffefacc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffefacc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffefacc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffefacc3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffefacfdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffefacfdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffefacfdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffefacfdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffefac3430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffefac3430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffefac3430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffefad13b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffefad13b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffefad13b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffefac3d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffefac3d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffefac3d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffefadc3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffefadc3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffefadc3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffefae31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffefae31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffefae31d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffefa3e138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffefa3e138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffefa3e138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffefa3e138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffefa3e688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffefa3e688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffefa3e688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000ffefaa59ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000ffefaa59ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000ffefaa59ac clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000ffefaa59ac clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #50 0x000000ffefa58d50 clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1318:0 #51 0x000000ffefa616a8 clang::ento::ExprEngine::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 #52 0x000000ffefa6187c clang::ento::CoreEngine::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 0x000000ffefa61c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #54 0x000000ffefa61c70 clang::ento::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 0x000000ffefd6f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000ffefd6f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000ffefd6f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000ffefd6f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000ffefd6f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000ffefd70224 llvm::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 0x000000ffefd70224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000ffefd70224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000ffefd74604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000ffefd74604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000ffefd74604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000ffefd74604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000ffefd74604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffedfb6978 __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 0x000000ffedfb6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffedfb6978 void clang::finalize>, 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 0x000000ffedfb6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000ffef82fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000ffef7eb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000ffef7eb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000ffef7eb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000ffef87f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaadc89c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaadc8db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaadc8f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaadc86034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe65a88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe65a89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaadc860a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/Issue56873.cpp.script: line 1: 3860199 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/NewDeleteLeaks-PR18394.cpp (422 of 19712) ******************** TEST 'Clang :: Analysis/NewDeleteLeaks-PR18394.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe91cabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe91c8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe91cb3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffe64648 (linux-vdso.so.1+0x648) #4 0x000000fff1c7d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1c7d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1c7d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1c7d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1c7d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1c7d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1c7d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1c7d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff18f43a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff18f43a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff18f43a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff18f43a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff18f43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff18f43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff18f43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff18f43a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff18f7dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff18f7dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff18f7dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff18f7dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff18eb430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff18eb430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff18eb430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff18f93b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff18f93b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff18f93b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff18ebd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff18ebd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff18ebd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff19043b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff19043b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff19043b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff190b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff190b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff190b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1866138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1866138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1866138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1866138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1866688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff1866688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff1866688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff18cd9ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff18cd9ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff18cd9ac clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff18cd9ac clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #50 0x000000fff1880d50 clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1318:0 #51 0x000000fff18896a8 clang::ento::ExprEngine::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 #52 0x000000fff1889780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #53 0x000000fff1889a58 clang::ento::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 #54 0x000000fff1889c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x000000fff1889c70 clang::ento::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 0x000000fff1b9703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x000000fff1b9703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x000000fff1b9703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x000000fff1b9703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x000000fff1b9703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x000000fff1b98224 llvm::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 0x000000fff1b98224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x000000fff1b98224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x000000fff1b9c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x000000fff1b9c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x000000fff1b9c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x000000fff1b9c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x000000fff1b9c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x000000ffefdde978 __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 0x000000ffefdde978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x000000ffefdde978 void clang::finalize>, 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 0x000000ffefdde978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x000000fff1657b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x000000fff1613354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x000000fff1613354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x000000fff1613354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x000000fff16a79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x000000aaad9cdc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x000000aaad9d1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x000000aaad9d3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x000000aaad9ca034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x000000ffe83d08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #83 0x000000ffe83d09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #84 0x000000aaad9ca0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDeleteLeaks-PR18394.cpp.script: line 1: 3860426 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-config graph-trim-interval=1 -analyzer-max-loop 1 -analyzer-checker=core,cplusplus.NewDeleteLeaks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDeleteLeaks-PR18394.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/NewDelete-variadic.cpp (423 of 19712) ******************** TEST 'Clang :: Analysis/NewDelete-variadic.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9a42bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9a40c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9a433d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffdb68648 (linux-vdso.so.1+0x648) #4 0x000000fff20fb664 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff20fb664 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff20fb664 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff20fb664 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff20fb664 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff20fb664 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff20fb664 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff20fb664 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 0x000000fff20fc08c 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 0x000000fff2101a18 clang::ento::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 0x000000fff2101c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x000000fff2101c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x000000fff240f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x000000fff240f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x000000fff240f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x000000fff240f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x000000fff240f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x000000fff2410224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x000000fff2410224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x000000fff2410224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x000000fff2414604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x000000fff2414604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x000000fff2414604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x000000fff2414604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x000000fff2414604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x000000fff0656978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x000000fff0656978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x000000fff0656978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x000000fff0656978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x000000fff1ecfb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x000000fff1e8b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x000000fff1e8b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x000000fff1e8b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x000000fff1f1f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000000aaac3a9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000000aaac3adb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000000aaac3af234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000000aaac3a6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x000000ffe8c488c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #43 0x000000ffe8c489cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #44 0x000000aaac3a60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete-variadic.cpp.script: line 1: 3860338 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/Checkers/RunLoopAutoreleaseLeakChecker.m (425 of 19712) ******************** TEST 'Clang :: Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea0cabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea0c8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea0cb3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc928648 (linux-vdso.so.1+0x648) #4 0x000000fff2b7d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2b7d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2b7d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2b7d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2b7d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2b7d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2b7d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2b7d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff27f43a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff27f43a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff27f43a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff27f43a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff27f43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff27f43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff27f43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff27f43a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff27f7dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff27f7dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff27f7dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff27f7dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff27eb430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff27eb430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff27eb430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff27f93b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff27f93b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff27f93b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff27ebd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff27ebd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff27ebd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff28043b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff28043b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff28043b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff280b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff280b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff280b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff2766138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff2766138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff2766138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff2766138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff2cbc114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff2cbc114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff2cbc114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff27ce404 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #47 0x000000fff27ce404 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #48 0x000000fff27ce404 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #49 0x000000fff27ce404 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #50 0x000000fff27ce404 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #51 0x000000fff27ce404 clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #52 0x000000fff278677c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #53 0x000000fff278677c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #54 0x000000fff2787e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x000000fff278965c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x000000fff278987c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x000000fff2789c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff2789c70 clang::ento::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 0x000000fff2a9703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff2a9703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff2a9703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff2a9703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff2a9703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff2a98224 llvm::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 0x000000fff2a98224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff2a98224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff2a9c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff2a9c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff2a9c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff2a9c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff2a9c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000fff0cde978 __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 0x000000fff0cde978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000fff0cde978 void clang::finalize>, 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 0x000000fff0cde978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff2557b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff2513354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff2513354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff2513354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff25a79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaad229c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaad22db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaad22f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaad226034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe92d08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe92d09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaad2260a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Checkers/Output/RunLoopAutoreleaseLeakChecker.m.script: line 6: 3860149 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/MismatchedDeallocator-checker-test.mm (427 of 19712) ******************** TEST 'Clang :: Analysis/MismatchedDeallocator-checker-test.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6b26bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6b24c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6b273d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff48c648 (linux-vdso.so.1+0x648) #4 0x000000ffef5d9388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef5d9388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef5d9388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef5d9388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef5d9388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef5d9388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef5d9388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef5d9388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef2503a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef2503a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef2503a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef2503a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef2503a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef2503a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef2503a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef2503a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef253dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef253dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef253dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef253dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef247430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef247430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef247430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef2553b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef2553b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef2553b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef247d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef247d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef247d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef2603b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef2603b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef2603b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef2671d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef2671d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef2671d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef1c2138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef1c2138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef1c2138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef1c2138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffef1c2688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffef1c2688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffef1c2688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000ffef2299ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000ffef2299ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000ffef2299ac clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000ffef2299ac clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #50 0x000000ffef1dcd50 clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1318:0 #51 0x000000ffef1e56a8 clang::ento::ExprEngine::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 #52 0x000000ffef1e5780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #53 0x000000ffef1e5a58 clang::ento::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 #54 0x000000ffef1e5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x000000ffef1e5c70 clang::ento::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 0x000000ffef4f303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x000000ffef4f303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x000000ffef4f303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x000000ffef4f303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x000000ffef4f303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x000000ffef4f4224 llvm::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 0x000000ffef4f4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x000000ffef4f4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x000000ffef4f8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x000000ffef4f8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x000000ffef4f8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x000000ffef4f8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x000000ffef4f8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x000000ffed73a978 __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 0x000000ffed73a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x000000ffed73a978 void clang::finalize>, 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 0x000000ffed73a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x000000ffeefb3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x000000ffeef6f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x000000ffeef6f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x000000ffeef6f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x000000ffef0039a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x000000aaaada1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x000000aaaada5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x000000aaaada7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x000000aaaad9e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x000000ffe5d2c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #83 0x000000ffe5d2c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #84 0x000000aaaad9e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/MismatchedDeallocator-checker-test.mm.script: line 2: 3860228 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.MismatchedDeallocator -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MismatchedDeallocator-checker-test.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/Malloc+MismatchedDeallocator_intersections.cpp (431 of 19712) ******************** TEST 'Clang :: Analysis/Malloc+MismatchedDeallocator_intersections.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8446bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8444c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe84473d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc660648 (linux-vdso.so.1+0x648) #4 0x000000fff0edd7f4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0edd7f4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0edd7f4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0edd7f4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0edd7f4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0edd7f4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0edd7f4 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0edd7f4 (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 0x000000fff0ca5fc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x000000fff0ca5fc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x000000fff0ca5fc8 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 0x000000fff0ad7a28 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x000000fff0ad7a28 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x000000fff0ad7a28 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:29 #18 0x000000fff0ad7a28 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x000000fff0b8043c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x000000fff0b8043c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x000000fff0b8043c clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x000000fff0b8043c clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x000000fff0b871d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x000000fff0b871d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x000000fff0b871d4 clang::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 0x000000fff0ae20e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff0ae20e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff0ae20e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x000000fff0ae20e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #30 0x000000fff1038114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1038114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1038114 clang::ento::ProgramState::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 0x000000fff0cc8554 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x000000fff0cc8554 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x000000fff0cc8554 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x000000fff0cc8554 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x000000fff0cc8554 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x000000fff0cc8554 (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 0x000000fff0cd591c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #40 0x000000fff0cd591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #41 0x000000fff0cd591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #42 0x000000fff0cd591c checkCXXNewOrCXXDelete /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1361:0 #43 0x000000fff0cd591c checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1484:0 #44 0x000000fff0cd591c 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 #45 0x000000fff0ad8df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #46 0x000000fff0ad8df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x000000fff0ad8df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #48 0x000000fff0ad8df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #49 0x000000fff0ad8df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #50 0x000000fff0b2a500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #51 0x000000fff0b2a500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #52 0x000000fff0b2a500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #53 0x000000fff0b2a500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #54 0x000000fff0b2ae4c clang::ento::ExprEngine::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 0x000000fff0b02d1c clang::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 0x000000fff0b02d1c clang::ento::ExprEngine::Visit(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 0x000000fff0b03e0c clang::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 0x000000fff0b0565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff0b0587c clang::ento::CoreEngine::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 0x000000fff0b05c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #61 0x000000fff0b05c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #62 0x000000fff0e1303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #63 0x000000fff0e1303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #64 0x000000fff0e1303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #65 0x000000fff0e1303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #66 0x000000fff0e1303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #67 0x000000fff0e14224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #68 0x000000fff0e14224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #69 0x000000fff0e14224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #70 0x000000fff0e18604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x000000fff0e18604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x000000fff0e18604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #73 0x000000fff0e18604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #74 0x000000fff0e18604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #75 0x000000ffef05a978 __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 0x000000ffef05a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #77 0x000000ffef05a978 void clang::finalize>, 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 0x000000ffef05a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #79 0x000000fff08d3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #80 0x000000fff088f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #81 0x000000fff088f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #82 0x000000fff088f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #83 0x000000fff09239a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #84 0x000000aaab05dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #85 0x000000aaab061b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #86 0x000000aaab063234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #87 0x000000aaab05a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #88 0x000000ffe764c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #89 0x000000ffe764c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #90 0x000000aaab05a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/Malloc+MismatchedDeallocator_intersections.cpp.script: line 1: 3860214 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,unix.MismatchedDeallocator -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Malloc+MismatchedDeallocator_intersections.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/NSContainers.m (433 of 19712) ******************** TEST 'Clang :: Analysis/NSContainers.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8772bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8770c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe87733d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc5d0648 (linux-vdso.so.1+0x648) #4 0x000000fff12123c4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff12123c4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff12123c4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff12123c4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff12123c4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff12123c4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff12123c4 get<(anonymous namespace)::NullabilityMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff12123c4 (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 0x000000fff0df68e8 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x000000fff0e281b4 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x000000fff0e281b4 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x000000fff0e281b4 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #16 0x000000fff0e281b4 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #17 0x000000fff0e281b4 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #18 0x000000fff0e281b4 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #19 0x000000fff0e281b4 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #20 0x000000fff0e2fd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x000000fff0e2fd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x000000fff0e2fd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x000000fff0e2fd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x000000fff0e2fd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x000000fff0e2fd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x000000fff0e2fd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x000000fff0e2fd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x000000fff0e2fd94 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 0x000000fff0e3165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff0e3187c clang::ento::CoreEngine::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 0x000000fff0e31c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #32 0x000000fff0e31c70 clang::ento::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 0x000000fff113f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x000000fff113f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x000000fff113f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #36 0x000000fff113f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #37 0x000000fff113f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #38 0x000000fff1140224 llvm::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 0x000000fff1140224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #40 0x000000fff1140224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #41 0x000000fff1144604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x000000fff1144604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x000000fff1144604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #44 0x000000fff1144604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #45 0x000000fff1144604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #46 0x000000ffef386978 __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 0x000000ffef386978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #48 0x000000ffef386978 void clang::finalize>, 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 0x000000ffef386978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #50 0x000000fff0bffb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #51 0x000000fff0bbb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #52 0x000000fff0bbb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #53 0x000000fff0bbb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #54 0x000000fff0c4f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #55 0x000000aaacb05c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #56 0x000000aaacb09b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #57 0x000000aaacb0b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #58 0x000000aaacb02034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #59 0x000000ffe79788c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #60 0x000000ffe79789cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #61 0x000000aaacb020a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NSContainers.m.script: line 1: 3860235 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/CFContainers.mm (435 of 19712) ******************** TEST 'Clang :: Analysis/CFContainers.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe92debb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe92dcc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe92df3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffeb38648 (linux-vdso.so.1+0x648) #4 0x000000fff1d728d4 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1d728d4 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1d728d4 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1d728d4 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1d728d4 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1d728d4 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 0x000000fff1d728d4 get<(anonymous namespace)::ArraySizeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1d728d4 remove<(anonymous namespace)::ArraySizeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:669:0 #12 0x000000fff1d728d4 remove<(anonymous namespace)::ArraySizeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:854:0 #13 0x000000fff1d728d4 (anonymous namespace)::ObjCContainersChecker::checkPointerEscape(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const&, clang::ento::CallEvent const*, clang::ento::PointerEscapeKind) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ObjCContainersChecker.cpp:167:0 #14 0x000000fff1ba2ea4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #15 0x000000fff1ba2ea4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #16 0x000000fff1ba2ea4 llvm::IntrusiveRefCntPtr clang::ento::check::PointerEscape::_checkPointerEscape<(anonymous namespace)::ObjCContainersChecker>(void*, llvm::IntrusiveRefCntPtr, llvm::DenseSet> const&, clang::ento::CallEvent const*, clang::ento::PointerEscapeKind, clang::ento::RegionAndSymbolInvalidationTraits*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:386:0 #17 0x000000fff196f890 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #18 0x000000fff196f890 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #19 0x000000fff196f890 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, llvm::DenseSet> const&, clang::ento::CallEvent const*, clang::ento::PointerEscapeKind, clang::ento::RegionAndSymbolInvalidationTraits*)>::operator()(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const&, clang::ento::CallEvent const*, clang::ento::PointerEscapeKind, clang::ento::RegionAndSymbolInvalidationTraits*) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:29 #20 0x000000fff196f890 clang::ento::CheckerManager::runCheckersForPointerEscape(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const&, clang::ento::CallEvent const*, clang::ento::PointerEscapeKind, clang::ento::RegionAndSymbolInvalidationTraits*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:630:33 #21 0x000000fff19746b0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:206:9 #22 0x000000fff19746b0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #23 0x000000fff19746b0 clang::ento::ExprEngine::notifyCheckersOfPointerEscape(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, clang::ento::CallEvent const*, clang::ento::RegionAndSymbolInvalidationTraits&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3553:79 #24 0x000000fff19d3240 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #25 0x000000fff19d3240 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #26 0x000000fff19d3240 clang::ento::ProgramState::invalidateRegionsImpl(llvm::ArrayRef, clang::Expr const*, unsigned int, clang::LocationContext const*, bool, llvm::DenseSet>*, clang::ento::RegionAndSymbolInvalidationTraits*, clang::ento::CallEvent const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:211:0 #27 0x000000fff1972d0c std::_Rb_tree, std::less, std::allocator>::~_Rb_tree() /usr/include/c++/12/bits/stl_tree.h:986:0 #28 0x000000fff1972d0c std::set, std::allocator>::~set() /usr/include/c++/12/bits/stl_set.h:281:0 #29 0x000000fff1972d0c llvm::SmallSet>::~SmallSet() /usr/include/llvm/ADT/SmallSet.h:135:0 #30 0x000000fff1972d0c clang::ento::CallEvent::invalidateRegions(unsigned int, llvm::IntrusiveRefCntPtr) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:286:1 #31 0x000000fff19dfd98 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #32 0x000000fff19dfd98 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #33 0x000000fff19dfd98 clang::ento::ExprEngine::conservativeEvalCall(clang::ento::CallEvent const&, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:833:0 #34 0x000000fff19e08f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #35 0x000000fff19e08f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #36 0x000000fff19e08f4 clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1266:0 #37 0x000000fff1979670 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:706:0 #38 0x000000fff19c2440 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #39 0x000000fff19c2440 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #40 0x000000fff19c2440 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #41 0x000000fff19c2440 clang::ento::ExprEngine::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 #42 0x000000fff19c2e4c clang::ento::ExprEngine::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 #43 0x000000fff199ad1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #44 0x000000fff199ad1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #45 0x000000fff199be0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #46 0x000000fff199d65c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #47 0x000000fff199d87c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #48 0x000000fff199dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #49 0x000000fff199dc70 clang::ento::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 0x000000fff1cab03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #51 0x000000fff1cab03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #52 0x000000fff1cab03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #53 0x000000fff1cab03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #54 0x000000fff1cab03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #55 0x000000fff1cac224 llvm::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 0x000000fff1cac224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x000000fff1cac224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #58 0x000000fff1cb0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x000000fff1cb0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x000000fff1cb0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x000000fff1cb0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x000000fff1cb0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x000000ffefef2978 __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 0x000000ffefef2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x000000ffefef2978 void clang::finalize>, 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 0x000000ffefef2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x000000fff176bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #68 0x000000fff1727354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #69 0x000000fff1727354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #70 0x000000fff1727354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #71 0x000000fff17bb9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #72 0x000000aaac6a9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #73 0x000000aaac6adb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #74 0x000000aaac6af234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #75 0x000000aaac6a6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #76 0x000000ffe84e48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #77 0x000000ffe84e49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #78 0x000000aaac6a60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/CFContainers.mm.script: line 1: 3860099 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/NewDeleteLeaks-PR19102.cpp (437 of 19712) ******************** TEST 'Clang :: Analysis/NewDeleteLeaks-PR19102.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe89e6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe89e4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe89e73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe6f8648 (linux-vdso.so.1+0x648) #4 0x000000fff1499388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1499388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1499388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1499388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1499388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1499388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1499388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1499388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff11103a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff11103a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff11103a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff11103a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff11103a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff11103a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff11103a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff11103a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1113dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1113dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1113dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1113dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1107430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1107430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1107430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff11153b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff11153b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff11153b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1107d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1107d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1107d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff11203b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff11203b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff11203b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff11271d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff11271d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff11271d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1082138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1082138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1082138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1082138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1082688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff1082688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff1082688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff10e99ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff10e99ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff10e99ac clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff10e99ac clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #50 0x000000fff109cd50 clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1318:0 #51 0x000000fff10a56a8 clang::ento::ExprEngine::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 #52 0x000000fff10a5780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #53 0x000000fff10a5a58 clang::ento::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 #54 0x000000fff10a5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x000000fff10a5c70 clang::ento::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 0x000000fff13b303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x000000fff13b303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x000000fff13b303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x000000fff13b303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x000000fff13b303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x000000fff13b4224 llvm::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 0x000000fff13b4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x000000fff13b4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x000000fff13b8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x000000fff13b8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x000000fff13b8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x000000fff13b8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x000000fff13b8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x000000ffef5fa978 __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 0x000000ffef5fa978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x000000ffef5fa978 void clang::finalize>, 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 0x000000ffef5fa978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x000000fff0e73b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x000000fff0e2f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x000000fff0e2f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x000000fff0e2f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x000000fff0ec39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x000000aaae845c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x000000aaae849b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x000000aaae84b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x000000aaae842034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x000000ffe7bec8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #83 0x000000ffe7bec9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #84 0x000000aaae8420a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDeleteLeaks-PR19102.cpp.script: line 1: 3860437 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/NSPanel.m (440 of 19712) ******************** TEST 'Clang :: Analysis/NSPanel.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8806bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8804c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe88073d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd3c8648 (linux-vdso.so.1+0x648) #4 0x000000fff12b9388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff12b9388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff12b9388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff12b9388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff12b9388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff12b9388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff12b9388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff12b9388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff0f303a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff0f303a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff0f303a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff0f303a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff0f303a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff0f303a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff0f303a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff0f303a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0f33dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0f33dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0f33dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0f33dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0f27430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0f27430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0f27430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff0f353b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0f353b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0f353b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0f27d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0f27d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0f27d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff0f403b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff0f403b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff0f403b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff0f471d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff0f471d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff0f471d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0ea2138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0ea2138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0ea2138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0ea2138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff0ea2688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff0ea2688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff0ea2688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff0e6ab4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff0e6ab4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff0e6ab4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff0eb66c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff0eb66c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff0eb66c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000fff0ec6010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff0ec6010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff0ec6010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff11d303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff11d303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff11d303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff11d303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff11d303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff11d4224 llvm::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 0x000000fff11d4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff11d4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff11d8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff11d8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff11d8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff11d8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff11d8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffef41a978 __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 0x000000ffef41a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffef41a978 void clang::finalize>, 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 0x000000ffef41a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff0c93b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff0c4f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff0c4f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff0c4f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff0ce39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaac189c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaac18db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaac18f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaac186034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe7a0c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe7a0c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaac1860a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NSPanel.m.script: line 1: 3860233 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-path-notes.cpp (443 of 19712) ******************** TEST 'Clang :: Analysis/NewDelete-path-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe9cbebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9cbcc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9cbf3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffec64648 (linux-vdso.so.1+0x648) #4 0x000000fff2771388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2771388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2771388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2771388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2771388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2771388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2771388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2771388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff23e83a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff23e83a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff23e83a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff23e83a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff23e83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff23e83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff23e83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff23e83a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff23ebdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff23ebdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff23ebdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff23ebdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff23df430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff23df430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff23df430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff23ed3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff23ed3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff23ed3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff23dfd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff23dfd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff23dfd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff23f83b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff23f83b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff23f83b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff23ff1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff23ff1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff23ff1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff235a138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff235a138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff235a138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff235a138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff28b0114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff28b0114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff28b0114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff2545414 (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 #47 0x000000fff254ceac llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #48 0x000000fff254ceac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #49 0x000000fff254ceac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #50 0x000000fff254ceac checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:2865:0 #51 0x000000fff254ceac 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 #52 0x000000fff2350df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #53 0x000000fff2350df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #54 0x000000fff2350df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #55 0x000000fff2350df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #56 0x000000fff2350df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #57 0x000000fff23c1f70 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #58 0x000000fff23c1f70 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #59 0x000000fff23c1f70 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #60 0x000000fff23c1f70 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #61 0x000000fff23c1f70 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #62 0x000000fff23c1f70 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #63 0x000000fff23c1f70 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 #64 0x000000fff237b4e4 clang::ento::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 #65 0x000000fff237be0c clang::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 0x000000fff237d65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff237d87c clang::ento::CoreEngine::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 0x000000fff237dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #69 0x000000fff237dc70 clang::ento::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 0x000000fff268b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #71 0x000000fff268b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #72 0x000000fff268b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #73 0x000000fff268b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #74 0x000000fff268b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #75 0x000000fff268c224 llvm::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 0x000000fff268c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x000000fff268c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #78 0x000000fff2690604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x000000fff2690604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x000000fff2690604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x000000fff2690604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x000000fff2690604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x000000fff08d2978 __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 0x000000fff08d2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x000000fff08d2978 void clang::finalize>, 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 0x000000fff08d2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x000000fff214bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #88 0x000000fff2107354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #89 0x000000fff2107354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #90 0x000000fff2107354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #91 0x000000fff219b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #92 0x000000aaae1e9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x000000aaae1edb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x000000aaae1ef234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x000000aaae1e6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x000000ffe8ec48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #97 0x000000ffe8ec49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #98 0x000000aaae1e60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete-path-notes.cpp.script: line 3: 3860311 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/DeallocMissingRelease.m (444 of 19712) ******************** TEST 'Clang :: Analysis/DeallocMissingRelease.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe731ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe731cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe731f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc884648 (linux-vdso.so.1+0x648) #4 0x000000ffefdd1388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffefdd1388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffefdd1388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffefdd1388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffefdd1388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffefdd1388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffefdd1388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffefdd1388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffefa483a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffefa483a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffefa483a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffefa483a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffefa483a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffefa483a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffefa483a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffefa483a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffefa4bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffefa4bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffefa4bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffefa4bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffefa3f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffefa3f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffefa3f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffefa4d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffefa4d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffefa4d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffefa3fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffefa3fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffefa3fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffefa583b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffefa583b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffefa583b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffefa5f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffefa5f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffefa5f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef9ba138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef9ba138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef9ba138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef9ba138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffef9ba688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffef9ba688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffef9ba688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000ffef982b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000ffef982b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000ffef982b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000ffef9ce6c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000ffef9ce6c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000ffef9ce6c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000ffef9de010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000ffef9de010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000ffef9de010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000ffefceb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000ffefceb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000ffefceb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000ffefceb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000ffefceb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000ffefcec224 llvm::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 0x000000ffefcec224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000ffefcec224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000ffefcf0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000ffefcf0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000ffefcf0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000ffefcf0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000ffefcf0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffedf32978 __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 0x000000ffedf32978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffedf32978 void clang::finalize>, 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 0x000000ffedf32978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000ffef7abb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000ffef767354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000ffef767354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000ffef767354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000ffef7fb9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaac4bdc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaac4c1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaac4c3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaac4ba034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe65248c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe65249cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaac4ba0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/DeallocMissingRelease.m.script: line 3: 3860170 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.Dealloc -fblocks -triple x86_64-apple-ios4.0 -DMACOS=0 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DeallocMissingRelease.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/NewDelete-checker-test.cpp (445 of 19712) ******************** TEST 'Clang :: Analysis/NewDelete-checker-test.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8eaabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8ea8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8eab3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffdd80648 (linux-vdso.so.1+0x648) #4 0x000000fff19417f4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff19417f4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff19417f4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff19417f4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff19417f4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff19417f4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff19417f4 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff19417f4 (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 0x000000fff1709fc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x000000fff1709fc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x000000fff1709fc8 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 0x000000fff153ba28 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x000000fff153ba28 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x000000fff153ba28 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:29 #18 0x000000fff153ba28 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x000000fff15e443c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x000000fff15e443c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x000000fff15e443c clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x000000fff15e443c clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x000000fff15eb1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x000000fff15eb1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x000000fff15eb1d4 clang::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 0x000000fff1546230 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff1546230 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff1546230 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x000000fff1546230 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:0 #30 0x000000fff1a9c114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1a9c114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1a9c114 clang::ento::ProgramState::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 0x000000fff172c554 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x000000fff172c554 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x000000fff172c554 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x000000fff172c554 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x000000fff172c554 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x000000fff172c554 (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 0x000000fff173991c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #40 0x000000fff173991c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #41 0x000000fff173991c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #42 0x000000fff173991c checkCXXNewOrCXXDelete /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1361:0 #43 0x000000fff173991c checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1484:0 #44 0x000000fff173991c 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 #45 0x000000fff153cdf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #46 0x000000fff153cdf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x000000fff153cdf0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #48 0x000000fff153cdf0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #49 0x000000fff153cdf0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #50 0x000000fff158e500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #51 0x000000fff158e500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #52 0x000000fff158e500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #53 0x000000fff158e500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #54 0x000000fff158ee4c clang::ento::ExprEngine::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 0x000000fff1566d1c clang::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 0x000000fff1566d1c clang::ento::ExprEngine::Visit(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 0x000000fff1567e0c clang::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 0x000000fff156965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff156987c clang::ento::CoreEngine::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 0x000000fff1569c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #61 0x000000fff1569c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #62 0x000000fff187703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #63 0x000000fff187703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #64 0x000000fff187703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #65 0x000000fff187703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #66 0x000000fff187703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #67 0x000000fff1878224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #68 0x000000fff1878224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #69 0x000000fff1878224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #70 0x000000fff187c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x000000fff187c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x000000fff187c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #73 0x000000fff187c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #74 0x000000fff187c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #75 0x000000ffefabe978 __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 0x000000ffefabe978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #77 0x000000ffefabe978 void clang::finalize>, 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 0x000000ffefabe978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #79 0x000000fff1337b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #80 0x000000fff12f3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #81 0x000000fff12f3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #82 0x000000fff12f3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #83 0x000000fff13879a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #84 0x000000aaac385c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #85 0x000000aaac389b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #86 0x000000aaac38b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #87 0x000000aaac382034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #88 0x000000ffe80b08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #89 0x000000ffe80b09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #90 0x000000aaac3820a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete-checker-test.cpp.script: line 6: 3860277 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/NewDeleteLeaks.cpp (448 of 19712) ******************** TEST 'Clang :: Analysis/NewDeleteLeaks.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9742bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9740c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe97433d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd1a4648 (linux-vdso.so.1+0x648) #4 0x000000fff21f5388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff21f5388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff21f5388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff21f5388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff21f5388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff21f5388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff21f5388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff21f5388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff1e6c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff1e6c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff1e6c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff1e6c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff1e6c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff1e6c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff1e6c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff1e6c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1e6fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1e6fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1e6fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1e6fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1e63430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1e63430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1e63430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff1e713b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff1e713b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff1e713b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1e63d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1e63d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1e63d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff1e7c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff1e7c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff1e7c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff1e831d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff1e831d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff1e831d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1dde138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1dde138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1dde138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1dde138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1dde688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff1dde688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff1dde688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff1e459ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff1e459ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff1e459ac clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff1e459ac clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #50 0x000000fff1df8d50 clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1318:0 #51 0x000000fff1e016a8 clang::ento::ExprEngine::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 #52 0x000000fff1e01780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #53 0x000000fff1e01a58 clang::ento::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 #54 0x000000fff1e01c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x000000fff1e01c70 clang::ento::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 0x000000fff210f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x000000fff210f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x000000fff210f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x000000fff210f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x000000fff210f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x000000fff2110224 llvm::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 0x000000fff2110224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x000000fff2110224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x000000fff2114604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x000000fff2114604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x000000fff2114604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x000000fff2114604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x000000fff2114604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x000000fff0356978 __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 0x000000fff0356978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x000000fff0356978 void clang::finalize>, 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 0x000000fff0356978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x000000fff1bcfb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x000000fff1b8b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x000000fff1b8b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x000000fff1b8b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x000000fff1c1f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x000000aaac5bdc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x000000aaac5c1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x000000aaac5c3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x000000aaac5ba034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x000000ffe89488c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #83 0x000000ffe89489cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #84 0x000000aaac5ba0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDeleteLeaks.cpp.script: line 2: 3867650 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/UserNullabilityAnnotations.m (450 of 19712) ******************** TEST 'Clang :: Analysis/UserNullabilityAnnotations.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8b62bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8b60c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8b633d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffed14648 (linux-vdso.so.1+0x648) #4 0x000000fff1615388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1615388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1615388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1615388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1615388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1615388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1615388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1615388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff128c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff128c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff128c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff128c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff128c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff128c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff128c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff128c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff128fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff128fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff128fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff128fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1283430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1283430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1283430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff12913b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff12913b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff12913b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1283d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1283d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1283d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff129c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff129c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff129c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff12a31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff12a31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff12a31d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff11fe138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff11fe138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff11fe138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff11fe138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff11fe688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff11fe688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff11fe688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff141695c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #47 0x000000fff141695c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #48 0x000000fff141695c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:60 #49 0x000000fff141695c checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/NonNullParamChecker.cpp:269:65 #50 0x000000fff141695c void clang::ento::check::BeginFunction::_checkBeginFunction<(anonymous namespace)::NonNullParamChecker>(void*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:244:51 #51 0x000000fff11e6cc8 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #52 0x000000fff11e6cc8 clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:441:26 #53 0x000000fff1221f88 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:126:0 #54 0x000000fff152f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #55 0x000000fff152f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x000000fff152f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #57 0x000000fff152f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #58 0x000000fff152f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #59 0x000000fff1530224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #60 0x000000fff1530224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #61 0x000000fff1530224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #62 0x000000fff1534604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x000000fff1534604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x000000fff1534604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #65 0x000000fff1534604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #66 0x000000fff1534604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #67 0x000000ffef776978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #68 0x000000ffef776978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #69 0x000000ffef776978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #70 0x000000ffef776978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #71 0x000000fff0fefb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #72 0x000000fff0fab354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #73 0x000000fff0fab354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #74 0x000000fff0fab354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #75 0x000000fff103f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #76 0x000000aaac629c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #77 0x000000aaac62db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #78 0x000000aaac62f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #79 0x000000aaac626034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #80 0x000000ffe7d688c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #81 0x000000ffe7d689cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #82 0x000000aaac6260a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/UserNullabilityAnnotations.m.script: line 1: 3868490 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/OSAtomic_mac.cpp (451 of 19712) ******************** TEST 'Clang :: Analysis/OSAtomic_mac.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea3c2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea3c0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea3c33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff484648 (linux-vdso.so.1+0x648) #4 0x000000fff2aeca78 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff2aeca78 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff2aeca78 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff2aeca78 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff2aeca78 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff2aeca78 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff2aeca78 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff2aeca78 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2507:63 #12 0x000000fff2aeca78 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2494:46 #13 0x000000fff2aeca78 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2487:73 #14 0x000000fff2aeca78 trackDisequality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2155:72 #15 0x000000fff2aeca78 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2241:31 #16 0x000000fff2aeca78 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #17 0x000000fff2aeca78 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #18 0x000000fff2aeca78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #19 0x000000fff2aeca78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #20 0x000000fff2aeca78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #21 0x000000fff2aeca78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #22 0x000000fff2aefaec llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #23 0x000000fff2aefaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #24 0x000000fff2aefaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x000000fff2aefaec (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:31 #26 0x000000fff2aee65c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x000000fff2aee65c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x000000fff2aee65c 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 0x000000fff2ae3d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x000000fff2ae3d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x000000fff2ae3d18 clang::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 0x000000fff2afc3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #33 0x000000fff2afc3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #34 0x000000fff2afc3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #35 0x000000fff2b031d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #36 0x000000fff2b031d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #37 0x000000fff2b031d4 clang::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 0x000000fff2a5e0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #39 0x000000fff2a5e0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #40 0x000000fff2a5e0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #41 0x000000fff2a5e0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #42 0x000000fff2a73e4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x000000fff2a73e4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x000000fff2a73e4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #45 0x000000fff2a73e4c 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:0 #46 0x000000fff2a7fb90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #47 0x000000fff2a7fb90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #48 0x000000fff2a7fb90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #49 0x000000fff2a7fb90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #50 0x000000fff2a7fb90 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #51 0x000000fff2a7fe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #52 0x000000fff2a8165c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #53 0x000000fff2a8187c clang::ento::CoreEngine::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 0x000000fff2a81c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x000000fff2a81c70 clang::ento::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 0x000000fff2d8f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x000000fff2d8f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x000000fff2d8f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x000000fff2d8f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x000000fff2d8f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x000000fff2d90224 llvm::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 0x000000fff2d90224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x000000fff2d90224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x000000fff2d94604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x000000fff2d94604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x000000fff2d94604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x000000fff2d94604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x000000fff2d94604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x000000fff0fd6978 __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 0x000000fff0fd6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x000000fff0fd6978 void clang::finalize>, 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 0x000000fff0fd6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x000000fff284fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x000000fff280b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x000000fff280b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x000000fff280b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x000000fff289f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x000000aaabba9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x000000aaabbadb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x000000aaabbaf234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x000000aaabba6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x000000ffe95c88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #83 0x000000ffe95c89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #84 0x000000aaabba60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/OSAtomic_mac.cpp.script: line 1: 3867808 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (452 of 19712) ******************** TEST 'Clang :: Analysis/ObjCProperties.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6856bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6854c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe68573d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd87c648 (linux-vdso.so.1+0x648) #4 0x000000ffef309388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef309388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef309388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef309388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef309388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef309388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef309388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef309388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffeef803a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffeef803a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffeef803a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffeef803a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffeef803a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffeef803a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffeef803a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffeef803a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffeef83dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffeef83dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffeef83dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffeef83dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffeef77430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffeef77430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffeef77430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffeef853b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffeef853b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffeef853b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffeef77d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffeef77d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffeef77d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffeef903b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffeef903b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffeef903b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffeef971d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffeef971d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffeef971d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffeeef2138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffeeef2138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffeeef2138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffeeef2138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffeeef2688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffeeef2688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffeeef2688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000ffeeebab4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000ffeeebab4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000ffeeebab4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000ffeef066c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000ffeef066c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000ffeef066c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000ffeef16010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000ffeef16010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000ffeef16010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000ffef22303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000ffef22303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000ffef22303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000ffef22303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000ffef22303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000ffef224224 llvm::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 0x000000ffef224224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000ffef224224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000ffef228604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000ffef228604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000ffef228604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000ffef228604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000ffef228604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffed46a978 __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 0x000000ffed46a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffed46a978 void clang::finalize>, 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 0x000000ffed46a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000ffeece3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000ffeec9f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000ffeec9f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000ffeec9f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000ffeed339a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaad059c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaad05db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaad05f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaad056034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe5a5c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe5a5c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaad0560a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ObjCProperties.m.script: line 1: 3867965 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/NoReturn.m (453 of 19712) ******************** TEST 'Clang :: Analysis/NoReturn.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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 0x000000ffe874abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8748c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe874b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd84c648 (linux-vdso.so.1+0x648) #4 0x000000fff0e989e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0e989e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0e989e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0e989e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000fff0e989e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000fff0e989e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000fff0e00278 llvm::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 0x000000fff0e00278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000fff0e00278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000fff0e00278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000fff0e07d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #15 0x000000fff0e07d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #16 0x000000fff0e07d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #17 0x000000fff0e07d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #18 0x000000fff0e07d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #19 0x000000fff0e07d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #20 0x000000fff0e07d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #21 0x000000fff0e07d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #22 0x000000fff0e07d94 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 #23 0x000000fff0e0965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff0e09780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #25 0x000000fff0e09a58 clang::ento::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 #26 0x000000fff0e09c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000fff0e09c70 clang::ento::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 0x000000fff111703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000fff111703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000fff111703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000fff111703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000fff111703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000fff1118224 llvm::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 0x000000fff1118224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000fff1118224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000fff111c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000fff111c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000fff111c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000fff111c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000fff111c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000ffef35e978 __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 0x000000ffef35e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x000000ffef35e978 void clang::finalize>, 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 0x000000ffef35e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x000000fff0bd7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x000000fff0b93354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x000000fff0b93354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x000000fff0b93354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x000000fff0c279a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #50 0x000000aaabd39c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x000000aaabd3db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x000000aaabd3f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x000000aaabd36034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x000000ffe79508c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #55 0x000000ffe79509cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #56 0x000000aaabd360a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NoReturn.m.script: line 1: 3867694 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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/PR47511.cpp (454 of 19712) ******************** TEST 'Clang :: Analysis/PR47511.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9f2ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9f2cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9f2f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffeb90648 (linux-vdso.so.1+0x648) #4 0x000000fff29e1388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff29e1388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff29e1388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff29e1388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff29e1388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff29e1388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff29e1388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff29e1388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff26583a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff26583a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff26583a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff26583a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff26583a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff26583a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff26583a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff26583a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff265bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff265bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff265bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff265bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff264f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff264f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff264f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff265d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff265d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff265d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff264fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff264fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff264fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff26683b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff26683b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff26683b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff266f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff266f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff266f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff25ca138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff25ca138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff25ca138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff25ca138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff25ca688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff25ca688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff25ca688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff2592b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff2592b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff2592b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff25de674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff25de674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff25de674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000fff25ee010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff25ee010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff25ee010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff28fb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff28fb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff28fb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff28fb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff28fb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff28fc224 llvm::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 0x000000fff28fc224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff28fc224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff2900604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff2900604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff2900604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff2900604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff2900604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000fff0b42978 __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 0x000000fff0b42978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000fff0b42978 void clang::finalize>, 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 0x000000fff0b42978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff23bbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff2377354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff2377354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff2377354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff240b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaae98dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaae991b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaae993234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaae98a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe91348c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe91349cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaae98a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR47511.cpp.script: line 1: 3868261 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/ObjCRetSigs.m (455 of 19712) ******************** TEST 'Clang :: Analysis/ObjCRetSigs.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6a22bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6a20c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6a233d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff5a4648 (linux-vdso.so.1+0x648) #4 0x000000ffef4d5388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef4d5388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef4d5388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef4d5388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef4d5388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef4d5388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef4d5388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef4d5388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef14c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef14c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef14c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef14c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef14c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef14c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef14c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef14c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef14fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef14fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef14fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef14fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef143430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef143430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef143430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef1513b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef1513b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef1513b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef143d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef143d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef143d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef15c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef15c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef15c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef1631d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef1631d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef1631d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef0be138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef0be138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef0be138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef0be138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffef0be688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffef0be688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffef0be688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000ffef086b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000ffef086b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000ffef086b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000ffef0d26c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000ffef0d26c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000ffef0d26c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000ffef0e2010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000ffef0e2010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000ffef0e2010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000ffef3ef03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000ffef3ef03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000ffef3ef03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000ffef3ef03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000ffef3ef03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000ffef3f0224 llvm::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 0x000000ffef3f0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000ffef3f0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000ffef3f4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000ffef3f4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000ffef3f4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000ffef3f4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000ffef3f4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffed636978 __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 0x000000ffed636978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffed636978 void clang::finalize>, 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 0x000000ffed636978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000ffeeeafb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000ffeee6b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000ffeee6b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000ffeee6b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000ffeeeff9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaab6fdc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaab701b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaab703234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaab6fa034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe5c288c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe5c289cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaab6fa0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ObjCRetSigs.m.script: line 1: 3868062 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/PR49642.c (456 of 19712) ******************** TEST 'Clang :: Analysis/PR49642.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe703ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe703cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe703f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc660648 (linux-vdso.so.1+0x648) #4 0x000000ffefaf1388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffefaf1388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffefaf1388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffefaf1388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffefaf1388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffefaf1388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffefaf1388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffefaf1388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef7683a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef7683a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef7683a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef7683a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef7683a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef7683a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef7683a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef7683a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef768e78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef768e78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef768e78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef768e78 (anonymous namespace)::RangeConstraintManager::assumeSymLE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3214:31 #24 0x000000ffef75f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef75f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef75f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef76d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef76d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef76d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef75fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef75fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef75fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef7783b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef7783b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef7783b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef77f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef77f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef77f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef6da138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef6da138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef6da138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef6da138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffef6efe4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffef6efe4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffef6efe4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000ffef6efe4c 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:0 #47 0x000000ffef6fbb90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000ffef6fbb90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000ffef6fbb90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000ffef6fbb90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000ffef6fbb90 clang::ento::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 #52 0x000000ffef6fbe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000ffef6fd65c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000ffef6fd87c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000ffef6fdc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000ffef6fdc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000ffefa0b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000ffefa0b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000ffefa0b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000ffefa0b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000ffefa0b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000ffefa0c224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000ffefa0c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000ffefa0c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000ffefa10604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000ffefa10604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000ffefa10604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000ffefa10604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000ffefa10604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000ffedc52978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000ffedc52978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000ffedc52978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000ffedc52978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000ffef4cbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000ffef487354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000ffef487354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000ffef487354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000ffef51b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaab3b9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaab3bdb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaab3bf234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaab3b6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe62448c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe62449cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaab3b60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR49642.c.script: line 1: 3868353 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-implicit-function-declaration -Wno-implicit-int -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR49642.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -- ******************** Testing: 0 FAIL: Clang :: Analysis/PR24184.cpp (458 of 19712) ******************** TEST 'Clang :: Analysis/PR24184.cpp' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8c6abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8c68c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8c6b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe91c648 (linux-vdso.so.1+0x648) #4 0x000000fff171d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff171d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff171d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff171d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff171d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff171d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff171d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff171d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff13943a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff13943a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff13943a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff13943a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff13943a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff13943a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff13943a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff13943a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1397dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1397dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1397dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1397dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff138b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff138b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff138b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff13993b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff13993b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff13993b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff138bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff138bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff138bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff13a43b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff13a43b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff13a43b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff13ab1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff13ab1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff13ab1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1306138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1306138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1306138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1306138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff185c114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff185c114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff185c114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff144ede0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff144ede0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:0 #48 0x000000fff144ede0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #49 0x000000fff144ede0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:0 #50 0x000000fff12ee208 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #51 0x000000fff131806c clang::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 0x000000fff131806c 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:0 #53 0x000000fff131b978 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #54 0x000000fff131b978 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #55 0x000000fff131b978 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x000000fff131b978 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:0 #57 0x000000fff1363ecc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff1363ecc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff1363ecc 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 #60 0x000000fff1326708 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #61 0x000000fff1326708 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #62 0x000000fff1326708 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #63 0x000000fff1327e0c clang::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 0x000000fff132965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff132987c clang::ento::CoreEngine::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 0x000000fff1329c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #67 0x000000fff1329c70 clang::ento::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 0x000000fff163703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #69 0x000000fff163703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #70 0x000000fff163703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #71 0x000000fff163703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #72 0x000000fff163703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #73 0x000000fff1638224 llvm::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 0x000000fff1638224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #75 0x000000fff1638224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #76 0x000000fff163c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #77 0x000000fff163c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #78 0x000000fff163c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #79 0x000000fff163c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #80 0x000000fff163c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #81 0x000000ffef87e978 __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 0x000000ffef87e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #83 0x000000ffef87e978 void clang::finalize>, 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 0x000000ffef87e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #85 0x000000fff10f7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #86 0x000000fff10b3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #87 0x000000fff10b3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #88 0x000000fff10b3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #89 0x000000fff11479a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #90 0x000000aaaade9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #91 0x000000aaaadedb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #92 0x000000aaaadef234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #93 0x000000aaaade6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #94 0x000000ffe7e708c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #95 0x000000ffe7e709cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #96 0x000000aaaade60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR24184.cpp.script: line 2: 3868125 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/PR35418.cpp (459 of 19712) ******************** TEST 'Clang :: Analysis/PR35418.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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 0x000000ffe90aabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe90a8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe90ab3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff5d8648 (linux-vdso.so.1+0x648) #4 0x000000fff1b5d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1b5d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1b5d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1b5d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1b5d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1b5d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1b5d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1b5d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff17d43a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff17d43a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff17d43a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff17d43a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff17d43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff17d43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff17d43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff17d43a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff17d4e78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff17d4e78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff17d4e78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff17d4e78 (anonymous namespace)::RangeConstraintManager::assumeSymLE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3214:31 #24 0x000000fff17cb430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff17cb430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff17cb430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff17d93b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff17d93b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff17d93b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff17cbd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff17cbd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff17cbd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff17e43b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff17e43b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff17e43b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff17eb1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff17eb1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff17eb1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1746138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1746138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1746138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1746138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff175be4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff175be4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff175be4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000fff175be4c 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:0 #47 0x000000fff1767b90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000fff1767b90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000fff1767b90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000fff1767b90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000fff1767b90 clang::ento::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 #52 0x000000fff1767e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000fff176965c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000fff176987c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000fff1769c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000fff1769c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000fff1a7703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff1a7703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff1a7703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000fff1a7703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000fff1a7703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000fff1a78224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000fff1a78224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000fff1a78224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000fff1a7c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000fff1a7c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000fff1a7c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000fff1a7c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000fff1a7c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000ffefcbe978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000ffefcbe978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000ffefcbe978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000ffefcbe978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000fff1537b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000fff14f3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000fff14f3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000fff14f3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000fff15879a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaaea35c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaaea39b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaaea3b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaaea32034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe82b08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe82b09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaaea320a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR35418.cpp.script: line 1: 3868135 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR35418.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/SpecialFunctionsCFError.cpp (460 of 19712) ******************** TEST 'Clang :: Analysis/SpecialFunctionsCFError.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6b86bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6b84c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6b873d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc5c8648 (linux-vdso.so.1+0x648) #4 0x000000ffef639388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef639388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef639388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef639388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef639388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef639388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef639388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef639388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef2b03a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef2b03a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef2b03a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef2b03a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef2b03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef2b03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef2b03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef2b03a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef2b3dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef2b3dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef2b3dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef2b3dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef2a7430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef2a7430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef2a7430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef2b53b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef2b53b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef2b53b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef2a7d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef2a7d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef2a7d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef2c03b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef2c03b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef2c03b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef2c71d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef2c71d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef2c71d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef222138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef222138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef222138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef222138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffef222688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffef222688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffef222688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000ffef1eab4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000ffef1eab4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000ffef1eab4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000ffef236674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000ffef236674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000ffef236674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000ffef246010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000ffef246010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000ffef246010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000ffef55303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000ffef55303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000ffef55303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000ffef55303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000ffef55303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000ffef554224 llvm::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 0x000000ffef554224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000ffef554224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000ffef558604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000ffef558604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000ffef558604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000ffef558604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000ffef558604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffed79a978 __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 0x000000ffed79a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffed79a978 void clang::finalize>, 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 0x000000ffed79a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000ffef013b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000ffeefcf354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000ffeefcf354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000ffeefcf354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000ffef0639a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaab955c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaab959b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaab95b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaab952034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe5d8c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe5d8c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaab9520a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/SpecialFunctionsCFError.cpp.script: line 1: 3868478 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/PR3991.m (461 of 19712) ******************** TEST 'Clang :: Analysis/PR3991.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7c6ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7c6cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7c6f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd1b0648 (linux-vdso.so.1+0x648) #4 0x000000fff0721388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0721388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0721388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0721388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0721388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0721388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0721388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0721388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff03983a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff03983a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff03983a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff03983a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff03983a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff03983a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff03983a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff03983a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff039bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff039bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff039bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff039bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff038f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff038f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff038f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff039d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff039d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff039d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff038fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff038fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff038fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff03a83b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff03a83b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff03a83b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff03af1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff03af1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff03af1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff030a138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff030a138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff030a138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff030a138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff030a688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff030a688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff030a688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff02d2b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff02d2b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff02d2b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff031e6c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff031e6c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff031e6c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000fff032e010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff032e010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff032e010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff063b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff063b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff063b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff063b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff063b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff063c224 llvm::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 0x000000fff063c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff063c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff0640604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff0640604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff0640604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff0640604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff0640604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffee882978 __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 0x000000ffee882978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffee882978 void clang::finalize>, 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 0x000000ffee882978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff00fbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff00b7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff00b7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff00b7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff014b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaae17dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaae181b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaae183234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaae17a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe6e748c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe6e749cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaae17a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR3991.m.script: line 1: 3868218 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/PR46264.cpp (462 of 19712) ******************** TEST 'Clang :: Analysis/PR46264.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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 0x000000ffe7872bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7870c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe78733d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffee30648 (linux-vdso.so.1+0x648) #4 0x000000fff0325388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0325388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0325388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0325388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0325388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0325388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0325388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0325388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffeff9c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffeff9c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffeff9c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffeff9c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffeff9c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffeff9c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffeff9c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffeff9c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffeff9fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffeff9fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffeff9fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffeff9fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffeff93430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffeff93430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffeff93430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffeffa13b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffeffa13b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffeffa13b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffeff93d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffeff93d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffeff93d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffeffac3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffeffac3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffeffac3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffeffb31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffeffb31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffeffb31d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffeff0e138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffeff0e138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffeff0e138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffeff0e138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffeff0e688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffeff0e688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffeff0e688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000ffefed6b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000ffefed6b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000ffefed6b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000ffeff22674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000ffeff22674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000ffeff22674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000ffeff32010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000ffeff32010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000ffeff32010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff023f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff023f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff023f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff023f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff023f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff0240224 llvm::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 0x000000fff0240224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff0240224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff0244604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff0244604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff0244604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff0244604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff0244604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffee486978 __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 0x000000ffee486978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffee486978 void clang::finalize>, 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 0x000000ffee486978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000ffefcffb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000ffefcbb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000ffefcbb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000ffefcbb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000ffefd4f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaad9d9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaad9ddb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaad9df234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaad9d6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe6a788c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe6a789cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaad9d60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR46264.cpp.script: line 1: 3868258 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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/PR60412.cpp (464 of 19712) ******************** TEST 'Clang :: Analysis/PR60412.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7e3abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7e38c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7e3b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff838648 (linux-vdso.so.1+0x648) #4 0x000000fff04eff68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff04eff68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff04eff68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff04eff68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff04eff68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff04eff68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff04eff68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff04eff68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000fff04f7d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x000000fff04f7d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x000000fff04f7d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x000000fff04f7d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x000000fff04f7d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x000000fff04f7d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x000000fff04f7d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x000000fff04f7d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x000000fff04f7d94 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 0x000000fff04f965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff04f9780 clang::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 0x000000fff04f9a58 clang::ento::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 0x000000fff04f9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x000000fff04f9c70 clang::ento::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 0x000000fff080703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff080703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff080703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x000000fff080703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x000000fff080703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x000000fff0808224 llvm::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 0x000000fff0808224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x000000fff0808224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x000000fff080c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x000000fff080c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x000000fff080c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x000000fff080c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x000000fff080c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x000000ffeea4e978 __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 0x000000ffeea4e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x000000ffeea4e978 void clang::finalize>, 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 0x000000ffeea4e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x000000fff02c7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x000000fff0283354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x000000fff0283354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x000000fff0283354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x000000fff03179a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000000aaae1e9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000000aaae1edb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000000aaae1ef234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000000aaae1e6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x000000ffe70408c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #53 0x000000ffe70409cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #54 0x000000aaae1e60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR60412.cpp.script: line 1: 3868419 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/additive-folding-range-constraints.c (465 of 19712) ******************** TEST 'Clang :: Analysis/additive-folding-range-constraints.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7162bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7160c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe71633d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffeb38648 (linux-vdso.so.1+0x648) #4 0x000000ffef8b09e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef8b09e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef8b09e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef8b09e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000ffef8b09e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000ffef8b09e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000ffef818278 llvm::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 0x000000ffef818278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000ffef818278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000ffef818278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000ffef81fd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #15 0x000000ffef81fd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #16 0x000000ffef81fd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #17 0x000000ffef81fd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #18 0x000000ffef81fd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #19 0x000000ffef81fd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #20 0x000000ffef81fd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #21 0x000000ffef81fd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #22 0x000000ffef81fd94 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 #23 0x000000ffef82165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef821780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #25 0x000000ffef821a58 clang::ento::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 #26 0x000000ffef821c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000ffef821c70 clang::ento::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 0x000000ffefb2f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000ffefb2f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000ffefb2f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000ffefb2f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000ffefb2f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000ffefb30224 llvm::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 0x000000ffefb30224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000ffefb30224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000ffefb34604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000ffefb34604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000ffefb34604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000ffefb34604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000ffefb34604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000ffedd76978 __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 0x000000ffedd76978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x000000ffedd76978 void clang::finalize>, 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 0x000000ffedd76978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x000000ffef5efb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x000000ffef5ab354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x000000ffef5ab354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x000000ffef5ab354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x000000ffef63f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #50 0x000000aaab0ddc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x000000aaab0e1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x000000aaab0e3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x000000aaab0da034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x000000ffe63688c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #55 0x000000ffe63689cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #56 0x000000aaab0da0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/additive-folding-range-constraints.c.script: line 1: 3868573 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/PR49490.cpp (466 of 19712) ******************** TEST 'Clang :: Analysis/PR49490.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe73a2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe73a0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe73a33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc344648 (linux-vdso.so.1+0x648) #4 0x000000ffefa2cf7c retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000ffefa2cf7c retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffefa2cf7c retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffefa2cf7c IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffefa2cf7c ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffefa2cf7c MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000ffefa2cf7c get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000ffefa2cf7c 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 0x000000ffefa8497c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x000000ffefa8497c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x000000ffefa8497c 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 #15 0x000000ffefa855dc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x000000ffefa855dc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x000000ffefa855dc 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 #18 0x000000ffefaa2ee0 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 #19 0x000000ffefa5ecdc clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #20 0x000000ffefa5ecdc clang::ento::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 #21 0x000000ffefa5fe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #22 0x000000ffefa6165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffefa6187c clang::ento::CoreEngine::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 0x000000ffefa61c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x000000ffefa61c70 clang::ento::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 0x000000ffefd6f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000ffefd6f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000ffefd6f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x000000ffefd6f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x000000ffefd6f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x000000ffefd70224 llvm::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 0x000000ffefd70224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x000000ffefd70224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x000000ffefd74604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x000000ffefd74604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x000000ffefd74604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x000000ffefd74604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x000000ffefd74604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x000000ffedfb6978 __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 0x000000ffedfb6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x000000ffedfb6978 void clang::finalize>, 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 0x000000ffedfb6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x000000ffef82fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x000000ffef7eb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x000000ffef7eb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x000000ffef7eb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x000000ffef87f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000000aaab889c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000000aaab88db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000000aaab88f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000000aaab886034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x000000ffe65a88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #53 0x000000ffe65a89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #54 0x000000aaab8860a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR49490.cpp.script: line 1: 3868306 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/PR50268.c (467 of 19712) ******************** TEST 'Clang :: Analysis/PR50268.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea4b6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea4b4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea4b73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcbb4648 (linux-vdso.so.1+0x648) #4 0x000000fff2c049e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2c049e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2c049e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2c049e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000fff2c049e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000fff2c049e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000fff2b6c278 llvm::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 0x000000fff2b6c278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000fff2b6c278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000fff2b6c278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000fff2b73d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #15 0x000000fff2b73d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #16 0x000000fff2b73d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #17 0x000000fff2b73d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #18 0x000000fff2b73d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #19 0x000000fff2b73d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #20 0x000000fff2b73d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #21 0x000000fff2b73d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #22 0x000000fff2b73d94 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 #23 0x000000fff2b7565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff2b75780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #25 0x000000fff2b75a58 clang::ento::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 #26 0x000000fff2b75c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000fff2b75c70 clang::ento::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 0x000000fff2e8303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000fff2e8303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000fff2e8303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000fff2e8303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000fff2e8303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000fff2e84224 llvm::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 0x000000fff2e84224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000fff2e84224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000fff2e88604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000fff2e88604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000fff2e88604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000fff2e88604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000fff2e88604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000fff10ca978 __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 0x000000fff10ca978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x000000fff10ca978 void clang::finalize>, 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 0x000000fff10ca978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x000000fff2943b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x000000fff28ff354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x000000fff28ff354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x000000fff28ff354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x000000fff29939a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #50 0x000000aaac4f1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x000000aaac4f5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x000000aaac4f7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x000000aaac4ee034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x000000ffe96bc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #55 0x000000ffe96bc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #56 0x000000aaac4ee0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR50268.c.script: line 1: 3868400 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR50268.c -analyzer-config eagerly-assume=true -- ******************** Testing: 0 FAIL: Clang :: Analysis/PR2978.m (468 of 19712) ******************** TEST 'Clang :: Analysis/PR2978.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7ffabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7ff8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7ffb3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd6dc648 (linux-vdso.so.1+0x648) #4 0x000000fff0aad388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0aad388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0aad388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0aad388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0aad388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0aad388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0aad388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0aad388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff07243a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff07243a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff07243a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff07243a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff07243a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff07243a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff07243a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff07243a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0727dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0727dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0727dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0727dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff071b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff071b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff071b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff07293b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff07293b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff07293b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff071bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff071bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff071bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff07343b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff07343b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff07343b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff073b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff073b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff073b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0696138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0696138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0696138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0696138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff0696688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff0696688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff0696688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff065eb4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff065eb4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff065eb4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff06aa6c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff06aa6c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff06aa6c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000fff06ba010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff06ba010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff06ba010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff09c703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff09c703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff09c703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff09c703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff09c703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff09c8224 llvm::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 0x000000fff09c8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff09c8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff09cc604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff09cc604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff09cc604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff09cc604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff09cc604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffeec0e978 __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 0x000000ffeec0e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffeec0e978 void clang::finalize>, 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 0x000000ffeec0e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff0487b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff0443354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff0443354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff0443354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff04d79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaad171c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaad175b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaad177234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaad16e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe72008c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe72009cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaad16e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR2978.m.script: line 1: 3868117 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/a_flaky_crash.cpp (470 of 19712) ******************** TEST 'Clang :: Analysis/a_flaky_crash.cpp' FAILED ******************** Script: -- : 'RUN: at line 22'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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 0x000000ffe998ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe998cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe998f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffeae8648 (linux-vdso.so.1+0x648) #4 0x000000fff206a244 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff206a244 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff206a244 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff206a244 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x000000fff206a244 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x000000fff206a244 Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:27 #10 0x000000fff206a244 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:89 #11 0x000000fff206a244 llvm::IntrusiveRefCntPtr clang::ento::ProgramState::set<(anonymous namespace)::ObjectsUnderConstruction>(clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:63 #12 0x000000fff204210c 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:600:0 #13 0x000000fff2071208 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #14 0x000000fff2071208 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x000000fff2071208 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:507:68 #16 0x000000fff208f7a4 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x000000fff208f7a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x000000fff208f7a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x000000fff208f7a4 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 #20 0x000000fff208f7a4 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 #21 0x000000fff204acdc clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #22 0x000000fff204acdc clang::ento::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 #23 0x000000fff204be0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #24 0x000000fff204d65c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #25 0x000000fff204d87c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #26 0x000000fff204dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000fff204dc70 clang::ento::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 0x000000fff235b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000fff235b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000fff235b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000fff235b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000fff235b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000fff235c224 llvm::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 0x000000fff235c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000fff235c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000fff2360604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000fff2360604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000fff2360604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000fff2360604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000fff2360604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000fff05a2978 __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 0x000000fff05a2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x000000fff05a2978 void clang::finalize>, 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 0x000000fff05a2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x000000fff1e1bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x000000fff1dd7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x000000fff1dd7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x000000fff1dd7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x000000fff1e6b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #50 0x000000aaadbfdc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x000000aaadc01b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x000000aaadc03234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x000000aaadbfa034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x000000ffe8b948c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #55 0x000000ffe8b949cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #56 0x000000aaadbfa0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/a_flaky_crash.cpp.script: line 256: 3868603 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/additive-folding.cpp (472 of 19712) ******************** TEST 'Clang :: Analysis/additive-folding.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7982bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7980c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe79833d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff238648 (linux-vdso.so.1+0x648) #4 0x000000fff0435388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0435388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0435388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0435388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0435388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0435388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0435388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0435388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff00ac3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff00ac3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff00ac3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff00ac3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff00ac3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff00ac3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff00ac3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff00ac3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff00afdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff00afdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff00afdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff00afdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff00a3430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff00a3430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff00a3430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff00b13b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff00b13b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff00b13b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff00a3d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff00a3d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff00a3d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff00bc3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff00bc3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff00bc3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff00c31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff00c31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff00c31d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff001e0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff001e0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff001e0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff001e0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff0574114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff0574114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff0574114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff002f190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff002f190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff002f190 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:0 #49 0x000000fff002f190 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:0 #50 0x000000fff002f190 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:0 #51 0x000000fff002f190 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:0 #52 0x000000fff002f190 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:0 #53 0x000000fff002f190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff002f190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff002f190 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:0 #56 0x000000fff002f7ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff0041c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff0041c70 clang::ento::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 0x000000fff034f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff034f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff034f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff034f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff034f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff0350224 llvm::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 0x000000fff0350224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff0350224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff0354604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff0354604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff0354604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff0354604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff0354604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffee596978 __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 0x000000ffee596978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffee596978 void clang::finalize>, 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 0x000000ffee596978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000ffefe0fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000ffefdcb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000ffefdcb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000ffefdcb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000ffefe5f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaaae55c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaaae59b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaaae5b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaaae52034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe6b888c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe6b889cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaaae520a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/additive-folding.cpp.script: line 1: 3869654 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/analyzeOneFunction.m (473 of 19712) ******************** TEST 'Clang :: Analysis/analyzeOneFunction.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe95eabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe95e8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe95eb3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff400648 (linux-vdso.so.1+0x648) #4 0x000000fff209d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff209d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff209d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff209d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff209d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff209d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff209d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff209d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff1d143a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff1d143a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff1d143a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff1d143a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff1d143a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff1d143a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff1d143a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff1d143a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1d17dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1d17dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1d17dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1d17dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1d0b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1d0b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1d0b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff1d193b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff1d193b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff1d193b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1d0bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1d0bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1d0bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff1d243b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff1d243b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff1d243b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff1d2b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff1d2b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff1d2b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1c86138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1c86138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1c86138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1c86138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1c86688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff1c86688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff1c86688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff1c4eb4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff1c4eb4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff1c4eb4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff1c9a6c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff1c9a6c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff1c9a6c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000fff1caa010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff1caa010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff1caa010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff1fb703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff1fb703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff1fb703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff1fb703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff1fb703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff1fb8224 llvm::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 0x000000fff1fb8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff1fb8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff1fbc604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff1fbc604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff1fbc604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff1fbc604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff1fbc604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000fff01fe978 __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 0x000000fff01fe978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000fff01fe978 void clang::finalize>, 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 0x000000fff01fe978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff1a77b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff1a33354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff1a33354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff1a33354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff1ac79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaabeadc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaabeb1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaabeb3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaabeaa034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe87f08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe87f09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaabeaa0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/analyzeOneFunction.m.script: line 1: 3869885 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/analysis-after-multiple-dtors.cpp (477 of 19712) ******************** TEST 'Clang :: Analysis/analysis-after-multiple-dtors.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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 0x000000ffe9932bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9930c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe99333d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc57c648 (linux-vdso.so.1+0x648) #4 0x000000fff1fe7f68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff1fe7f68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff1fe7f68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff1fe7f68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff1fe7f68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff1fe7f68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff1fe7f68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff1fe7f68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000fff1fefd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x000000fff1fefd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x000000fff1fefd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x000000fff1fefd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x000000fff1fefd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x000000fff1fefd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x000000fff1fefd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x000000fff1fefd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x000000fff1fefd94 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 0x000000fff1ff165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff1ff1780 clang::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 0x000000fff1ff1a58 clang::ento::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 0x000000fff1ff1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x000000fff1ff1c70 clang::ento::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 0x000000fff22ff03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff22ff03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff22ff03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x000000fff22ff03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x000000fff22ff03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x000000fff2300224 llvm::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 0x000000fff2300224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x000000fff2300224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x000000fff2304604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x000000fff2304604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x000000fff2304604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x000000fff2304604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x000000fff2304604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x000000fff0546978 __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 0x000000fff0546978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x000000fff0546978 void clang::finalize>, 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 0x000000fff0546978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x000000fff1dbfb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x000000fff1d7b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x000000fff1d7b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x000000fff1d7b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x000000fff1e0f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000000aaacd35c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000000aaacd39b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000000aaacd3b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000000aaacd32034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x000000ffe8b388c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #53 0x000000ffe8b389cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #54 0x000000aaacd320a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/analysis-after-multiple-dtors.cpp.script: line 1: 3869812 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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/array-punned-region.c (478 of 19712) ******************** TEST 'Clang :: Analysis/array-punned-region.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe81aabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe81a8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe81ab3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe05c648 (linux-vdso.so.1+0x648) #4 0x000000fff0a5c3c8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff0a5c3c8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff0a5c3c8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff0a5c3c8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x000000fff0a5c3c8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x000000fff0a5c3c8 Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:27 #10 0x000000fff0a5c3c8 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::RegionState>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::RegionState>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::RegionState>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::RegionState>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:89 #11 0x000000fff0a6b270 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #12 0x000000fff0a6b270 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #13 0x000000fff0a6b270 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x000000fff0a6b270 set<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #15 0x000000fff0a6b270 checkPostStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PointerArithChecker.cpp:270:0 #16 0x000000fff0a6b270 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 #17 0x000000fff082dea8 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #18 0x000000fff082dea8 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:26 #19 0x000000fff0866730 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #20 0x000000fff0866730 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2259:0 #21 0x000000fff0867e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #22 0x000000fff086965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff086987c clang::ento::CoreEngine::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 0x000000fff0869c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x000000fff0869c70 clang::ento::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 0x000000fff0b7703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff0b7703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff0b7703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x000000fff0b7703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x000000fff0b7703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x000000fff0b78224 llvm::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 0x000000fff0b78224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x000000fff0b78224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x000000fff0b7c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x000000fff0b7c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x000000fff0b7c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x000000fff0b7c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x000000fff0b7c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x000000ffeedbe978 __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 0x000000ffeedbe978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x000000ffeedbe978 void clang::finalize>, 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 0x000000ffeedbe978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x000000fff0637b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x000000fff05f3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x000000fff05f3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x000000fff05f3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x000000fff06879a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000000aaace61c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000000aaace65b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000000aaace67234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000000aaace5e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x000000ffe73b08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #53 0x000000ffe73b09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #54 0x000000aaace5e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/array-punned-region.c.script: line 2: 3870228 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/additive-op-on-sym-int-expr.c (479 of 19712) ******************** TEST 'Clang :: Analysis/additive-op-on-sym-int-expr.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9612bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9610c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe96133d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff48c648 (linux-vdso.so.1+0x648) #4 0x000000fff20c5388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff20c5388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff20c5388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff20c5388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff20c5388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff20c5388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff20c5388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff20c5388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff1d3c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff1d3c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff1d3c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff1d3c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff1d3c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff1d3c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff1d3c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff1d3c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1d3fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1d3fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1d3fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1d3fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1d3e65c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1d3e65c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1d3e65c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000fff1d41444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff1d41444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff1d41444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000fff1d33d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1d33d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1d33d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff1d4c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff1d4c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff1d4c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff1d531d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff1d531d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff1d531d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1cae138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1cae138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1cae138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1cae138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff2204114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff2204114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff2204114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff1cbf190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff1cbf190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff1cbf190 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:0 #49 0x000000fff1cbf190 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:0 #50 0x000000fff1cbf190 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:0 #51 0x000000fff1cbf190 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:0 #52 0x000000fff1cbf190 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:0 #53 0x000000fff1cbf190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff1cbf190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff1cbf190 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:0 #56 0x000000fff1cbf7ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff1cd1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff1cd1c70 clang::ento::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 0x000000fff1fdf03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff1fdf03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff1fdf03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff1fdf03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff1fdf03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff1fe0224 llvm::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 0x000000fff1fe0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff1fe0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff1fe4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff1fe4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff1fe4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff1fe4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff1fe4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000fff0226978 __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 0x000000fff0226978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000fff0226978 void clang::finalize>, 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 0x000000fff0226978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff1a9fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff1a5b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff1a5b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff1a5b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff1aef9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaac441c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaac445b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaac447234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaac43e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe88188c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe88189cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaac43e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/additive-op-on-sym-int-expr.c.script: line 1: 3869702 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple=x86_64-unknown-linux-gnu -analyzer-checker=core,apiModeling,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/additive-op-on-sym-int-expr.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/array-bound-v2-constraint-check.c (480 of 19712) ******************** TEST 'Clang :: Analysis/array-bound-v2-constraint-check.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea23ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea23cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea23f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffdbec648 (linux-vdso.so.1+0x648) #4 0x000000fff2915510 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000fff2915510 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff2915510 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff2915510 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff2915510 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff2915510 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff2915510 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000fff2915510 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x000000fff2915510 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x000000fff2915608 (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 0x000000fff29826e4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #15 0x000000fff29826e4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #16 0x000000fff29826e4 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #17 0x000000fff29826e4 (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 #18 0x000000fff2981e7c clang::ento::BinarySymExprImpl::getLHS() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:443:0 #19 0x000000fff2981e7c VisitSymIntExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1271:0 #20 0x000000fff2981e7c 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 #21 0x000000fff2def6f4 llvm::DenseMap, llvm::detail::DenseMapPair>::~DenseMap() /usr/include/llvm/ADT/DenseMap.h:782:0 #22 0x000000fff2def6f4 ~Simplifier /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1211:0 #23 0x000000fff2def6f4 (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 #24 0x000000fff2960030 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #25 0x000000fff2960030 (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 #26 0x000000fff29804d8 (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 #27 0x000000fff29a55c4 llvm::CastInfo::doCastIfPossible(clang::ento::SVal const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h:571:5 #28 0x000000fff29a55c4 decltype(auto) llvm::dyn_cast(clang::ento::SVal const&) /usr/include/llvm/Support/Casting.h:651:52 #29 0x000000fff29a55c4 std::optional clang::ento::SVal::getAs() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h:105:29 #30 0x000000fff29a55c4 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:92 #31 0x000000fff2ceea3c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #32 0x000000fff2ceea3c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #33 0x000000fff2ceea3c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x000000fff2ceea3c (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 #35 0x000000fff28c2208 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #36 0x000000fff28ec06c clang::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 0x000000fff28ec06c 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:0 #38 0x000000fff28ef978 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #39 0x000000fff28ef978 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #40 0x000000fff28ef978 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff28ef978 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:0 #42 0x000000fff2937ecc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x000000fff2937ecc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x000000fff2937ecc 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 #45 0x000000fff28fa708 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #46 0x000000fff28fa708 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #47 0x000000fff28fa708 clang::ento::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 #48 0x000000fff28fbe0c clang::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 0x000000fff28fd65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff28fd87c clang::ento::CoreEngine::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 0x000000fff28fdc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #52 0x000000fff28fdc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #53 0x000000fff2c0b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x000000fff2c0b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x000000fff2c0b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #56 0x000000fff2c0b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #57 0x000000fff2c0b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #58 0x000000fff2c0c224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #59 0x000000fff2c0c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #60 0x000000fff2c0c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #61 0x000000fff2c10604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x000000fff2c10604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x000000fff2c10604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #64 0x000000fff2c10604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #65 0x000000fff2c10604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #66 0x000000fff0e52978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #67 0x000000fff0e52978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #68 0x000000fff0e52978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #69 0x000000fff0e52978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #70 0x000000fff26cbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #71 0x000000fff2687354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #72 0x000000fff2687354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #73 0x000000fff2687354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #74 0x000000fff271b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #75 0x000000aaad0d9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #76 0x000000aaad0ddb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #77 0x000000aaad0df234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #78 0x000000aaad0d6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #79 0x000000ffe94448c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #80 0x000000ffe94449cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #81 0x000000aaad0d60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/array-bound-v2-constraint-check.c.script: line 1: 3870203 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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.c (481 of 19712) ******************** TEST 'Clang :: Analysis/array-struct.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe88b2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe88b0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe88b33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe5ec648 (linux-vdso.so.1+0x648) #4 0x000000fff1365388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1365388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1365388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1365388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1365388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1365388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1365388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1365388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff0fdc3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff0fdc3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff0fdc3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff0fdc3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff0fdc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff0fdc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff0fdc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff0fdc3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0fdfdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0fdfdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0fdfdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0fdfdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0fd3430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0fd3430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0fd3430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff0fe13b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0fe13b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0fe13b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0fd3d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0fd3d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0fd3d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff0fec3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff0fec3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff0fec3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff0ff31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff0ff31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff0ff31d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0f4e138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0f4e138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0f4e138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0f4e138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff14a4114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff14a4114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff14a4114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff1096de0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff1096de0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:0 #48 0x000000fff1096de0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #49 0x000000fff1096de0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:0 #50 0x000000fff0f36208 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #51 0x000000fff0f6006c clang::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 0x000000fff0f6006c 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:0 #53 0x000000fff0f72428 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #54 0x000000fff0f72428 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #55 0x000000fff0f72428 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x000000fff0f72428 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:0 #57 0x000000fff0faa95c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff0faa95c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff0faa95c 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 #60 0x000000fff0f6fab8 clang::ento::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 #61 0x000000fff0f6fe0c clang::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 0x000000fff0f7165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff0f7187c clang::ento::CoreEngine::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 0x000000fff0f71c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #65 0x000000fff0f71c70 clang::ento::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 0x000000fff127f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #67 0x000000fff127f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #68 0x000000fff127f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #69 0x000000fff127f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #70 0x000000fff127f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #71 0x000000fff1280224 llvm::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 0x000000fff1280224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x000000fff1280224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #74 0x000000fff1284604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x000000fff1284604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x000000fff1284604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x000000fff1284604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x000000fff1284604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x000000ffef4c6978 __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 0x000000ffef4c6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x000000ffef4c6978 void clang::finalize>, 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 0x000000ffef4c6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x000000fff0d3fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #84 0x000000fff0cfb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #85 0x000000fff0cfb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #86 0x000000fff0cfb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #87 0x000000fff0d8f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #88 0x000000aaac605c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x000000aaac609b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x000000aaac60b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x000000aaac602034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x000000ffe7ab88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #93 0x000000ffe7ab89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #94 0x000000aaac6020a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/array-struct.c.script: line 1: 3870287 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (482 of 19712) ******************** TEST 'Clang :: Analysis/analyzer-stats.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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: 135 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe68d2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe68d0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe68d33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd548648 (linux-vdso.so.1+0x648) #4 0x000000ffef385388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef385388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef385388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef385388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef385388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef385388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef385388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef385388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffeeffc3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffeeffc3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffeeffc3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffeeffc3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffeeffc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffeeffc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffeeffc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffeeffc3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffeefffdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffeefffdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffeefffdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffeefffdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffeeffe65c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffeeffe65c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffeeffe65c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000ffef001444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef001444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef001444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000ffeeff3d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffeeff3d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffeeff3d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef00c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef00c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef00c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef0131d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef0131d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef0131d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffeef6e138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffeef6e138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffeef6e138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffeef6e138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffef4c4114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000ffef4c4114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000ffef4c4114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000ffeef7f190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000ffeef7f190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000ffeef7f190 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:0 #49 0x000000ffeef7f190 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:0 #50 0x000000ffeef7f190 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:0 #51 0x000000ffeef7f190 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:0 #52 0x000000ffeef7f190 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:0 #53 0x000000ffeef7f190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000ffeef7f190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000ffeef7f190 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:0 #56 0x000000ffeef7f7ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000ffeef91c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000ffeef91c70 clang::ento::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 0x000000ffef29f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000ffef29f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000ffef29f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000ffef29f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000ffef29f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000ffef2a0224 llvm::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 0x000000ffef2a0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000ffef2a0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000ffef2a4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000ffef2a4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000ffef2a4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000ffef2a4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000ffef2a4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffed4e6978 __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 0x000000ffed4e6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffed4e6978 void clang::finalize>, 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 0x000000ffed4e6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000ffeed5fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000ffeed1b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000ffeed1b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000ffeed1b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000ffeedaf9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaac1c9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaac1cdb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaac1cf234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaac1c6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe5ad88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe5ad89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaac1c60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/analyzer-stats.c.script: line 1: 3870207 Bus error (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-struct-region.c (485 of 19712) ******************** TEST 'Clang :: Analysis/array-struct-region.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe860abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8608c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe860b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd7e8648 (linux-vdso.so.1+0x648) #4 0x000000fff0ef98b4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0ef98b4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0ef98b4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0ef98b4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0ef98b4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0ef98b4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0ef98b4 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x000000fff0ef98b4 getArrayRegion /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PointerArithChecker.cpp:130:0 #12 0x000000fff0ef98b4 (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 0x000000fff0efa154 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PointerArithChecker.cpp:313:0 #14 0x000000fff0efa154 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 0x000000fff0c8dea8 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #16 0x000000fff0c8dea8 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:26 #17 0x000000fff0cbaf08 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x000000fff0cbaf08 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x000000fff0cbaf08 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #20 0x000000fff0cbaf08 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #21 0x000000fff0cbaf08 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #22 0x000000fff0cbaf08 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #23 0x000000fff0cbaf08 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:0 #24 0x000000fff0cc7564 clang::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 0x000000fff0cc7564 clang::ento::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 0x000000fff0cc7e0c clang::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 0x000000fff0cc965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff0cc987c clang::ento::CoreEngine::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 0x000000fff0cc9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #30 0x000000fff0cc9c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #31 0x000000fff0fd703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #32 0x000000fff0fd703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #33 0x000000fff0fd703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #34 0x000000fff0fd703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #35 0x000000fff0fd703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #36 0x000000fff0fd8224 llvm::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 0x000000fff0fd8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #38 0x000000fff0fd8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #39 0x000000fff0fdc604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #40 0x000000fff0fdc604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #41 0x000000fff0fdc604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #42 0x000000fff0fdc604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #43 0x000000fff0fdc604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #44 0x000000ffef21e978 __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 0x000000ffef21e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x000000ffef21e978 void clang::finalize>, 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 0x000000ffef21e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x000000fff0a97b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #49 0x000000fff0a53354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #50 0x000000fff0a53354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #51 0x000000fff0a53354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #52 0x000000fff0ae79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #53 0x000000aaae745c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #54 0x000000aaae749b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #55 0x000000aaae74b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #56 0x000000aaae742034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #57 0x000000ffe78108c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #58 0x000000ffe78109cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #59 0x000000aaae7420a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/array-struct-region.c.script: line 1: 3870249 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-init-loop.cpp (486 of 19712) ******************** TEST 'Clang :: Analysis/array-init-loop.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 2. While analyzing stack: #0 Calling crash::S::S(const S &) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-init-loop.cpp:313:8: Error evaluating statement #0 0x000000ffe6dd2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6dd0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6dd33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffde04648 (linux-vdso.so.1+0x648) #4 0x000000ffef5209e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef5209e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef5209e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef5209e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000ffef5209e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000ffef5209e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000ffef488278 llvm::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 0x000000ffef488278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000ffef488278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000ffef488278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000ffef48fd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #15 0x000000ffef48fd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #16 0x000000ffef48fd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #17 0x000000ffef48fd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #18 0x000000ffef48fd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #19 0x000000ffef48fd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #20 0x000000ffef48fd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #21 0x000000ffef48fd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #22 0x000000ffef48fd94 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 #23 0x000000ffef49165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef491780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #25 0x000000ffef491a58 clang::ento::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 #26 0x000000ffef491c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000ffef491c70 clang::ento::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 0x000000ffef79f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000ffef79f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000ffef79f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000ffef79f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000ffef79f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000ffef7a0224 llvm::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 0x000000ffef7a0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000ffef7a0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000ffef7a4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000ffef7a4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000ffef7a4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000ffef7a4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000ffef7a4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000ffed9e6978 __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 0x000000ffed9e6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x000000ffed9e6978 void clang::finalize>, 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 0x000000ffed9e6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x000000ffef25fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x000000ffef21b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x000000ffef21b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x000000ffef21b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x000000ffef2af9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #50 0x000000aaabef5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x000000aaabef9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x000000aaabefb234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x000000aaabef2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x000000ffe5fd88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #55 0x000000ffe5fd89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #56 0x000000aaabef20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/array-init-loop.cpp.script: line 1: 3870224 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/atomics.c (487 of 19712) ******************** TEST 'Clang :: Analysis/atomics.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea02ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea02cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea02f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffff1c648 (linux-vdso.so.1+0x648) #4 0x000000fff277c9e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff277c9e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff277c9e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff277c9e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000fff277c9e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000fff277c9e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000fff26e4278 llvm::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 0x000000fff26e4278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000fff26e4278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000fff26e4278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000fff2711e10 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #15 0x000000fff2711e10 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 #16 0x000000fff26e7b44 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #17 0x000000fff26e7b44 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #18 0x000000fff26e7b44 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #19 0x000000fff26e7b44 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2951:0 #20 0x000000fff26e808c 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 0x000000fff26eda18 clang::ento::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 0x000000fff26edc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #23 0x000000fff26edc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #24 0x000000fff29fb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #25 0x000000fff29fb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #26 0x000000fff29fb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #27 0x000000fff29fb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #28 0x000000fff29fb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #29 0x000000fff29fc224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #30 0x000000fff29fc224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #31 0x000000fff29fc224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #32 0x000000fff2a00604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #33 0x000000fff2a00604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #34 0x000000fff2a00604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #35 0x000000fff2a00604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #36 0x000000fff2a00604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #37 0x000000fff0c42978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #38 0x000000fff0c42978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #39 0x000000fff0c42978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #40 0x000000fff0c42978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #41 0x000000fff24bbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #42 0x000000fff2477354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #43 0x000000fff2477354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #44 0x000000fff2477354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #45 0x000000fff250b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #46 0x000000aaadc55c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #47 0x000000aaadc59b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #48 0x000000aaadc5b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #49 0x000000aaadc52034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #50 0x000000ffe92348c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #51 0x000000ffe92349cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #52 0x000000aaadc520a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/atomics.c.script: line 1: 3870544 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/atomics.c -analyzer-config eagerly-assume=false -- ******************** Testing: 0 FAIL: Clang :: Analysis/assume-controlled-environment.c (488 of 19712) ******************** TEST 'Clang :: Analysis/assume-controlled-environment.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe882abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8828c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe882b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc8e8648 (linux-vdso.so.1+0x648) #4 0x000000fff12d3688 llvm::ImutAVLTree>>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff12d3688 llvm::IntrusiveRefCntPtrInfo>>>>::retain(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff12d3688 llvm::IntrusiveRefCntPtr>>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff12d3688 llvm::IntrusiveRefCntPtr>>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff12d3688 llvm::ImmutableMap>, llvm::ImutKeyValueInfo>>>::ImmutableMap(llvm::ImutAVLTree>>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff12d3688 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 0x000000fff12d3688 get<(anonymous namespace)::TaintArgsOnPostVisit> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff12d3688 (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 0x000000fff0ebcdf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #13 0x000000fff0ebcdf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x000000fff0ebcdf0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #15 0x000000fff0ebcdf0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #16 0x000000fff0ebcdf0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #17 0x000000fff0f0e500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #18 0x000000fff0f0e500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #19 0x000000fff0f0e500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #20 0x000000fff0f0e500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #21 0x000000fff0f0ee4c clang::ento::ExprEngine::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 #22 0x000000fff0ee6d1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #23 0x000000fff0ee6d1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #24 0x000000fff0ee7e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #25 0x000000fff0ee965c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #26 0x000000fff0ee987c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #27 0x000000fff0ee9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #28 0x000000fff0ee9c70 clang::ento::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 0x000000fff11f703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x000000fff11f703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x000000fff11f703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #32 0x000000fff11f703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #33 0x000000fff11f703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #34 0x000000fff11f8224 llvm::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 0x000000fff11f8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x000000fff11f8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #37 0x000000fff11fc604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x000000fff11fc604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x000000fff11fc604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x000000fff11fc604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x000000fff11fc604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x000000ffef43e978 __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 0x000000ffef43e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x000000ffef43e978 void clang::finalize>, 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 0x000000ffef43e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x000000fff0cb7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #47 0x000000fff0c73354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #48 0x000000fff0c73354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #49 0x000000fff0c73354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #50 0x000000fff0d079a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #51 0x000000aaaea29c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x000000aaaea2db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x000000aaaea2f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x000000aaaea26034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x000000ffe7a308c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #56 0x000000ffe7a309cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #57 0x000000aaaea260a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/assume-controlled-environment.c.script: line 2: 3870543 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify=untrusted-env /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/assume-controlled-environment.c -analyzer-checker=core -analyzer-checker=alpha.security.taint -analyzer-checker=debug.TaintTest -- ******************** Testing: 0 FAIL: Clang :: Analysis/array-struct-region.cpp (489 of 19712) ******************** TEST 'Clang :: Analysis/array-struct-region.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7bc2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7bc0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7bc33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff010648 (linux-vdso.so.1+0x648) #4 0x000000fff0675388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0675388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0675388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0675388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0675388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0675388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0675388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0675388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff02ec3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff02ec3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff02ec3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff02ec3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff02ec3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff02ec3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff02ec3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff02ec3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff02efdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff02efdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff02efdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff02efdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff02e3430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff02e3430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff02e3430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff02f13b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff02f13b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff02f13b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff02e3d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff02e3d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff02e3d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff02fc3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff02fc3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff02fc3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff03031d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff03031d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff03031d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff025e138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff025e138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff025e138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff025e138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff0273e4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff0273e4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff0273e4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000fff0273e4c 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:0 #47 0x000000fff027fb90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000fff027fb90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000fff027fb90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000fff027fb90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000fff027fb90 clang::ento::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 #52 0x000000fff027fe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000fff028165c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000fff028187c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000fff0281c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000fff0281c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000fff058f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff058f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff058f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000fff058f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000fff058f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000fff0590224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000fff0590224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000fff0590224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000fff0594604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000fff0594604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000fff0594604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000fff0594604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000fff0594604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000ffee7d6978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000ffee7d6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000ffee7d6978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000ffee7d6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000fff004fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000fff000b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000fff000b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000fff000b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000fff009f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaab8cdc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaab8d1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaab8d3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaab8ca034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe6dc88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe6dc89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaab8ca0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/array-struct-region.cpp.script: line 6: 3870258 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/autoreleasewritechecker_test.m (490 of 19712) ******************** TEST 'Clang :: Analysis/autoreleasewritechecker_test.m' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7b7abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7b78c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7b7b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcb3c648 (linux-vdso.so.1+0x648) #4 0x000000fff021cf18 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff021cf18 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff021cf18 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff021cf18 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff021cf18 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff021cf18 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 0x000000fff021cf18 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff021cf18 llvm::IntrusiveRefCntPtr clang::ento::removeDeadImpl<(anonymous namespace)::DynamicTypeMap>(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:166:0 #12 0x000000fff061b97c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x000000fff061b97c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x000000fff061b97c clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x000000fff061b97c (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 0x000000fff01fe8e8 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #17 0x000000fff02301b4 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x000000fff02301b4 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x000000fff02301b4 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #20 0x000000fff02301b4 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #21 0x000000fff02301b4 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #22 0x000000fff02301b4 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #23 0x000000fff02301b4 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #24 0x000000fff0237d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #25 0x000000fff0237d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #26 0x000000fff0237d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #27 0x000000fff0237d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #28 0x000000fff0237d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #29 0x000000fff0237d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #30 0x000000fff0237d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #31 0x000000fff0237d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #32 0x000000fff0237d94 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 0x000000fff023965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff023987c clang::ento::CoreEngine::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 0x000000fff0239c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #36 0x000000fff0239c70 clang::ento::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 0x000000fff054703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #38 0x000000fff054703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #39 0x000000fff054703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #40 0x000000fff054703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #41 0x000000fff054703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #42 0x000000fff0548224 llvm::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 0x000000fff0548224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #44 0x000000fff0548224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #45 0x000000fff054c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x000000fff054c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x000000fff054c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #48 0x000000fff054c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #49 0x000000fff054c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #50 0x000000ffee78e978 __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 0x000000ffee78e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #52 0x000000ffee78e978 void clang::finalize>, 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 0x000000ffee78e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #54 0x000000fff0007b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #55 0x000000ffeffc3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #56 0x000000ffeffc3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #57 0x000000ffeffc3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #58 0x000000fff00579a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #59 0x000000aaaea61c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #60 0x000000aaaea65b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #61 0x000000aaaea67234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #62 0x000000aaaea5e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #63 0x000000ffe6d808c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #64 0x000000ffe6d809cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #65 0x000000aaaea5e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/autoreleasewritechecker_test.m.script: line 2: 3872418 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DARC -fobjc-arc -analyzer-checker=core,osx.cocoa.AutoreleaseWrite /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/autoreleasewritechecker_test.m -triple x86_64-darwin -fblocks -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/bitwise-ops-nocrash.c (491 of 19712) ******************** TEST 'Clang :: Analysis/bitwise-ops-nocrash.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8822bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8820c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe88233d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcdd8648 (linux-vdso.so.1+0x648) #4 0x000000fff12d5388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff12d5388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff12d5388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff12d5388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff12d5388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff12d5388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff12d5388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff12d5388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff0f4c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff0f4c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff0f4c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff0f4c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff0f4c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff0f4c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff0f4c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff0f4c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0f51068 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0f51068 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0f51068 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0f51068 (anonymous namespace)::RangeConstraintManager::assumeSymWithinInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3224:34 #24 0x000000fff0f43a38 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0f43a38 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0f43a38 clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:129:64 #27 0x000000fff0f43f54 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0f43f54 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0f43f54 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #30 0x000000fff0ebe808 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x000000fff0ebe808 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x000000fff0ebe808 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:0 #33 0x000000fff0ebe808 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #34 0x000000fff0edc7b8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #35 0x000000fff0edc7b8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #36 0x000000fff0edc7b8 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:0 #37 0x000000fff0edc7b8 clang::ento::ExprEngine::processSwitch(clang::ento::SwitchNodeBuilder&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3004:0 #38 0x000000fff0edcc18 clang::ento::CoreEngine::HandleBlockExit(clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:422:0 #39 0x000000fff0ee1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #40 0x000000fff0ee1c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #41 0x000000fff11ef03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #42 0x000000fff11ef03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #43 0x000000fff11ef03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #44 0x000000fff11ef03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #45 0x000000fff11ef03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #46 0x000000fff11f0224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #47 0x000000fff11f0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #48 0x000000fff11f0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #49 0x000000fff11f4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #50 0x000000fff11f4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #51 0x000000fff11f4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #52 0x000000fff11f4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #53 0x000000fff11f4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #54 0x000000ffef436978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #55 0x000000ffef436978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #56 0x000000ffef436978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #57 0x000000ffef436978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #58 0x000000fff0cafb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #59 0x000000fff0c6b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #60 0x000000fff0c6b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #61 0x000000fff0c6b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #62 0x000000fff0cff9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #63 0x000000aaad6a5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #64 0x000000aaad6a9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #65 0x000000aaad6ab234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #66 0x000000aaad6a2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #67 0x000000ffe7a288c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #68 0x000000ffe7a289cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #69 0x000000aaad6a20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/bitwise-ops-nocrash.c.script: line 1: 3872462 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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.cpp (492 of 19712) ******************** TEST 'Clang :: Analysis/block-in-critical-section.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe99c6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe99c4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe99c73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffc00648 (linux-vdso.so.1+0x648) #4 0x000000fff207f664 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff207f664 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff207f664 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff207f664 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff207f664 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff207f664 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff207f664 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff207f664 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 0x000000fff208008c 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 0x000000fff2085a18 clang::ento::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 0x000000fff2085c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x000000fff2085c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x000000fff239303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x000000fff239303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x000000fff239303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x000000fff239303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x000000fff239303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x000000fff2394224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x000000fff2394224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x000000fff2394224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x000000fff2398604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x000000fff2398604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x000000fff2398604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x000000fff2398604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x000000fff2398604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x000000fff05da978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x000000fff05da978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x000000fff05da978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x000000fff05da978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x000000fff1e53b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x000000fff1e0f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x000000fff1e0f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x000000fff1e0f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x000000fff1ea39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000000aaaacbdc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000000aaaacc1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000000aaaacc3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000000aaaacba034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x000000ffe8bcc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #43 0x000000ffe8bcc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #44 0x000000aaaacba0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/block-in-critical-section.cpp.script: line 1: 3872473 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/base-init.cpp (495 of 19712) ******************** TEST 'Clang :: Analysis/base-init.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe84d2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe84d0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe84d33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd90c648 (linux-vdso.so.1+0x648) #4 0x000000fff0b87f68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff0b87f68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff0b87f68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff0b87f68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff0b87f68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff0b87f68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff0b87f68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff0b87f68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000fff0b8fd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x000000fff0b8fd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x000000fff0b8fd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x000000fff0b8fd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x000000fff0b8fd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x000000fff0b8fd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x000000fff0b8fd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x000000fff0b8fd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x000000fff0b8fd94 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 0x000000fff0b9165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff0b91780 clang::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 0x000000fff0b91a58 clang::ento::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 0x000000fff0b91c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x000000fff0b91c70 clang::ento::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 0x000000fff0e9f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff0e9f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff0e9f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x000000fff0e9f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x000000fff0e9f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x000000fff0ea0224 llvm::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 0x000000fff0ea0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x000000fff0ea0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x000000fff0ea4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x000000fff0ea4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x000000fff0ea4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x000000fff0ea4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x000000fff0ea4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x000000ffef0e6978 __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 0x000000ffef0e6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x000000ffef0e6978 void clang::finalize>, 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 0x000000ffef0e6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x000000fff095fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x000000fff091b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x000000fff091b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x000000fff091b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x000000fff09af9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000000aaad995c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000000aaad999b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000000aaad99b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000000aaad992034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x000000ffe76d88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #53 0x000000ffe76d89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #54 0x000000aaad9920a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/base-init.cpp.script: line 1: 3872456 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/bitwise-ops.c (500 of 19712) ******************** TEST 'Clang :: Analysis/bitwise-ops.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8f4ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8f4cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8f4f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffedd4648 (linux-vdso.so.1+0x648) #4 0x000000fff1a01388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1a01388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1a01388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1a01388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1a01388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1a01388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1a01388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1a01388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff16783a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff16783a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff16783a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff16783a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff16783a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff16783a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff16783a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff16783a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff167bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff167bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff167bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff167bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff166f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff166f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff166f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff167d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff167d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff167d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff166fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff166fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff166fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff16883b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff16883b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff16883b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff168f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff168f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff168f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff15ea0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff15ea0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff15ea0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff15ea0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff15ffe4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff15ffe4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff15ffe4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000fff15ffe4c 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:0 #47 0x000000fff160bb90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000fff160bb90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000fff160bb90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000fff160bb90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000fff160bb90 clang::ento::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 #52 0x000000fff160be0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000fff160d65c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000fff160d87c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000fff160dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000fff160dc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000fff191b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff191b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff191b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000fff191b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000fff191b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000fff191c224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000fff191c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000fff191c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000fff1920604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000fff1920604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000fff1920604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000fff1920604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000fff1920604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000ffefb62978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000ffefb62978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000ffefb62978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000ffefb62978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000fff13dbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000fff1397354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000fff1397354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000fff1397354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000fff142b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaac015c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaac019b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaac01b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaac012034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe81548c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe81549cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaac0120a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/bitwise-ops.c.script: line 1: 3872468 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/bstring.c (503 of 19712) ******************** TEST 'Clang :: Analysis/bstring.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9982bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9980c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe99833d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe27c648 (linux-vdso.so.1+0x648) #4 0x000000fff2435388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2435388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2435388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2435388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2435388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2435388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2435388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2435388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff20ac3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff20ac3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff20ac3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff20ac3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff20ac3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff20ac3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff20ac3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff20ac3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff20afdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff20afdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff20afdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff20afdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff20a3430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff20a3430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff20a3430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff20b13b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff20b13b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff20b13b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff20a3d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff20a3d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff20a3d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff20bc3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff20bc3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff20bc3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff20c31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff20c31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff20c31d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff201e0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff201e0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff201e0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff201e0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff257a41c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff257a41c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff257a41c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff257a41c (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:61 #47 0x000000fff2534800 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #48 0x000000fff2534800 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #49 0x000000fff2534800 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #50 0x000000fff2534800 (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 #51 0x000000fff20e60a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x000000fff20e60a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x000000fff20e60a4 (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 #54 0x000000fff20ebde8 std::_Function_base::~_Function_base() /usr/include/c++/12/bits/std_function.h:243:11 #55 0x000000fff20ebde8 ~function /usr/include/c++/12/bits/std_function.h:334:11 #56 0x000000fff20ebde8 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2516:1 #57 0x000000fff20ebde8 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 #58 0x000000fff201d588 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #59 0x000000fff2066440 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #60 0x000000fff2066440 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #61 0x000000fff2066440 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #62 0x000000fff2066440 clang::ento::ExprEngine::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 #63 0x000000fff2066e4c clang::ento::ExprEngine::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 #64 0x000000fff203ed1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #65 0x000000fff203ed1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #66 0x000000fff203fe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #67 0x000000fff204165c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #68 0x000000fff204187c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #69 0x000000fff2041c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #70 0x000000fff2041c70 clang::ento::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 0x000000fff234f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #72 0x000000fff234f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #73 0x000000fff234f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #74 0x000000fff234f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #75 0x000000fff234f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #76 0x000000fff2350224 llvm::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 0x000000fff2350224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #78 0x000000fff2350224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #79 0x000000fff2354604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #80 0x000000fff2354604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #81 0x000000fff2354604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #82 0x000000fff2354604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #83 0x000000fff2354604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #84 0x000000fff0596978 __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 0x000000fff0596978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #86 0x000000fff0596978 void clang::finalize>, 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 0x000000fff0596978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #88 0x000000fff1e0fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #89 0x000000fff1dcb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #90 0x000000fff1dcb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #91 0x000000fff1dcb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #92 0x000000fff1e5f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #93 0x000000aaab461c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #94 0x000000aaab465b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #95 0x000000aaab467234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #96 0x000000aaab45e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #97 0x000000ffe8b888c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #98 0x000000ffe8b889cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #99 0x000000aaab45e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/bstring.c.script: line 4: 3872598 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/bsd-string.c (506 of 19712) ******************** TEST 'Clang :: Analysis/bsd-string.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe906ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe906cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe906f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc910648 (linux-vdso.so.1+0x648) #4 0x000000fff1c1fac8 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1c1fac8 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1c1fac8 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1c1fac8 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1c1fac8 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1c1fac8 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 0x000000fff1c1fac8 get<(anonymous namespace)::CStringLength> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1c1fac8 (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 0x000000fff17d23ac 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:307:3 #13 0x000000fff16ff5a0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #14 0x000000fff16ff5a0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x000000fff16ff5a0 clang::ento::CheckerFn, clang::ento::SymbolReaper&)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:12 #16 0x000000fff16ff5a0 clang::ento::CheckerManager::runCheckersForLiveSymbols(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:547:23 #17 0x000000fff17240b0 llvm::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 0x000000fff17240b0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #19 0x000000fff17240b0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x000000fff17240b0 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #21 0x000000fff1751e10 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #22 0x000000fff1751e10 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 #23 0x000000fff1727b44 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #24 0x000000fff1727b44 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #25 0x000000fff1727b44 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #26 0x000000fff1727b44 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 #27 0x000000fff172808c 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 #28 0x000000fff172da18 clang::ento::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 #29 0x000000fff172dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #30 0x000000fff172dc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #31 0x000000fff1a3b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #32 0x000000fff1a3b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #33 0x000000fff1a3b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #34 0x000000fff1a3b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #35 0x000000fff1a3b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #36 0x000000fff1a3c224 llvm::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 0x000000fff1a3c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #38 0x000000fff1a3c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #39 0x000000fff1a40604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #40 0x000000fff1a40604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #41 0x000000fff1a40604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #42 0x000000fff1a40604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #43 0x000000fff1a40604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #44 0x000000ffefc82978 __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 0x000000ffefc82978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x000000ffefc82978 void clang::finalize>, 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 0x000000ffefc82978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x000000fff14fbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #49 0x000000fff14b7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #50 0x000000fff14b7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #51 0x000000fff14b7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #52 0x000000fff154b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #53 0x000000aaae9e5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #54 0x000000aaae9e9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #55 0x000000aaae9eb234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #56 0x000000aaae9e2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #57 0x000000ffe82748c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #58 0x000000ffe82749cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #59 0x000000aaae9e20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/bsd-string.c.script: line 1: 3872589 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/bool-assignment.c (508 of 19712) ******************** TEST 'Clang :: Analysis/bool-assignment.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe76e6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe76e4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe76e73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff2b0648 (linux-vdso.so.1+0x648) #4 0x000000fff018f688 llvm::ImutAVLTree>>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff018f688 llvm::IntrusiveRefCntPtrInfo>>>>::retain(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff018f688 llvm::IntrusiveRefCntPtr>>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff018f688 llvm::IntrusiveRefCntPtr>>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff018f688 llvm::ImmutableMap>, llvm::ImutKeyValueInfo>>>::ImmutableMap(llvm::ImutAVLTree>>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff018f688 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 0x000000fff018f688 get<(anonymous namespace)::TaintArgsOnPostVisit> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff018f688 (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 0x000000ffefd78df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #13 0x000000ffefd78df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x000000ffefd78df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #15 0x000000ffefd78df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #16 0x000000ffefd78df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #17 0x000000ffefdca500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #18 0x000000ffefdca500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #19 0x000000ffefdca500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #20 0x000000ffefdca500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #21 0x000000ffefdcae4c clang::ento::ExprEngine::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 #22 0x000000ffefda2d1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #23 0x000000ffefda2d1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #24 0x000000ffefda3e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #25 0x000000ffefda565c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #26 0x000000ffefda587c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #27 0x000000ffefda5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #28 0x000000ffefda5c70 clang::ento::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 0x000000fff00b303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x000000fff00b303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x000000fff00b303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #32 0x000000fff00b303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #33 0x000000fff00b303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #34 0x000000fff00b4224 llvm::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 0x000000fff00b4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x000000fff00b4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #37 0x000000fff00b8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x000000fff00b8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x000000fff00b8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x000000fff00b8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x000000fff00b8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x000000ffee2fa978 __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 0x000000ffee2fa978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x000000ffee2fa978 void clang::finalize>, 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 0x000000ffee2fa978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x000000ffefb73b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #47 0x000000ffefb2f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #48 0x000000ffefb2f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #49 0x000000ffefb2f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #50 0x000000ffefbc39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #51 0x000000aaad2c5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x000000aaad2c9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x000000aaad2cb234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x000000aaad2c2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x000000ffe68ec8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #56 0x000000ffe68ec9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #57 0x000000aaad2c20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/bool-assignment.c.script: line 2: 3872578 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core.BoolAssignment,alpha.security.taint -verify -std=c99 -Dbool=_Bool /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bool-assignment.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/block-in-critical-section.m (511 of 19712) ******************** TEST 'Clang :: Analysis/block-in-critical-section.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7deebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7decc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7def3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffb98648 (linux-vdso.so.1+0x648) #4 0x000000fff08a1388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff08a1388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff08a1388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff08a1388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff08a1388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff08a1388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff08a1388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff08a1388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff05183a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff05183a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff05183a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff05183a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff05183a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff05183a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff05183a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff05183a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff051bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff051bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff051bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff051bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff050f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff050f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff050f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff051d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff051d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff051d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff050fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff050fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff050fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff05283b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff05283b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff05283b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff052f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff052f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff052f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff048a138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff048a138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff048a138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff048a138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff09e0114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff09e0114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff09e0114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff04f2404 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #47 0x000000fff04f2404 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #48 0x000000fff04f2404 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #49 0x000000fff04f2404 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #50 0x000000fff04f2404 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #51 0x000000fff04f2404 clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #52 0x000000fff04aa77c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #53 0x000000fff04aa77c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #54 0x000000fff04abe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x000000fff04ad65c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x000000fff04ad87c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x000000fff04adc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff04adc70 clang::ento::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 0x000000fff07bb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff07bb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff07bb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff07bb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff07bb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff07bc224 llvm::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 0x000000fff07bc224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff07bc224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff07c0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff07c0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff07c0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff07c0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff07c0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffeea02978 __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 0x000000ffeea02978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffeea02978 void clang::finalize>, 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 0x000000ffeea02978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff027bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff0237354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff0237354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff0237354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff02cb9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaae26dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaae271b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaae273234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaae26a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe6ff48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe6ff49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaae26a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/block-in-critical-section.m.script: line 1: 3872545 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.BlockInCriticalSection -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/block-in-critical-section.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/blocks.m (512 of 19712) ******************** TEST 'Clang :: Analysis/blocks.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7c36bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7c34c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7c373d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffcb8648 (linux-vdso.so.1+0x648) #4 0x000000fff06e9388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff06e9388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff06e9388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff06e9388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff06e9388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff06e9388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff06e9388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff06e9388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff03603a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff03603a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff03603a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff03603a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff03603a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff03603a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff03603a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff03603a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0363dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0363dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0363dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0363dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0357430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0357430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0357430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff03653b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff03653b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff03653b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0357d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0357d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0357d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff03703b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff03703b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff03703b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff03771d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff03771d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff03771d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff02d2138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff02d2138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff02d2138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff02d2138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff02d2688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff02d2688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff02d2688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff029ab4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff029ab4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff029ab4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff02e66c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff02e66c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff02e66c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000fff02f6010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff02f6010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff02f6010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff060303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff060303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff060303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff060303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff060303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff0604224 llvm::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 0x000000fff0604224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff0604224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff0608604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff0608604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff0608604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff0608604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff0608604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffee84a978 __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 0x000000ffee84a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffee84a978 void clang::finalize>, 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 0x000000ffee84a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff00c3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff007f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff007f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff007f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff01139a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaad765c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaad769b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaad76b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaad762034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe6e3c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe6e3c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaad7620a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/blocks.m.script: line 2: 3872562 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core -fblocks -verify -Wno-strict-prototypes /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/bstring.cpp (513 of 19712) ******************** TEST 'Clang :: Analysis/bstring.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8d3abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8d38c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8d3b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd2dc648 (linux-vdso.so.1+0x648) #4 0x000000fff17ed388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff17ed388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff17ed388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff17ed388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff17ed388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff17ed388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff17ed388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff17ed388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff14643a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff14643a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff14643a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff14643a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff14643a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff14643a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff14643a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff14643a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1467dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1467dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1467dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1467dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff145b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff145b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff145b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff14693b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff14693b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff14693b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff145bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff145bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff145bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff14743b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff14743b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff14743b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff147b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff147b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff147b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff13d6138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff13d6138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff13d6138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff13d6138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff13d6688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff13d6688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff13d6688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff139eb4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff139eb4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff139eb4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff13ea674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff13ea674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff13ea674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000fff13fa010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff13fa010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff13fa010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff170703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff170703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff170703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff170703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff170703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff1708224 llvm::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 0x000000fff1708224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff1708224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff170c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff170c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff170c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff170c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff170c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffef94e978 __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 0x000000ffef94e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffef94e978 void clang::finalize>, 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 0x000000ffef94e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff11c7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff1183354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff1183354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff1183354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff12179a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaac469c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaac46db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaac46f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaac466034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe7f408c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe7f409cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaac4660a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/bstring.cpp.script: line 5: 3872602 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/blocks.mm (514 of 19712) ******************** TEST 'Clang :: Analysis/blocks.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7d8abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7d88c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7d8b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd140648 (linux-vdso.so.1+0x648) #4 0x000000fff0414f7c retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000fff0414f7c retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff0414f7c retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff0414f7c IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff0414f7c ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff0414f7c MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff0414f7c get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000fff0414f7c 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 0x000000fff041ec10 llvm::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 0x000000fff041ec10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #14 0x000000fff041ec10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x000000fff041ec10 clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:429:50 #16 0x000000fff041ec10 clang::ento::CallEvent::invalidateRegions(unsigned int, llvm::IntrusiveRefCntPtr) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:272:40 #17 0x000000fff048bd98 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #18 0x000000fff048bd98 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #19 0x000000fff048bd98 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 #20 0x000000fff048c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x000000fff048c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x000000fff048c8f4 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 #23 0x000000fff0425670 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:706:0 #24 0x000000fff048ada0 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #25 0x000000fff048ada0 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #26 0x000000fff048ada0 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #27 0x000000fff048ada0 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #28 0x000000fff048ada0 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #29 0x000000fff048ada0 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #30 0x000000fff048ada0 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 #31 0x000000fff0446cdc clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #32 0x000000fff0446cdc clang::ento::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 #33 0x000000fff0447e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #34 0x000000fff044965c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #35 0x000000fff044987c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #36 0x000000fff0449c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #37 0x000000fff0449c70 clang::ento::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 0x000000fff075703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #39 0x000000fff075703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #40 0x000000fff075703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #41 0x000000fff075703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #42 0x000000fff075703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #43 0x000000fff0758224 llvm::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 0x000000fff0758224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #45 0x000000fff0758224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #46 0x000000fff075c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #47 0x000000fff075c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #48 0x000000fff075c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #49 0x000000fff075c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #50 0x000000fff075c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #51 0x000000ffee99e978 __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 0x000000ffee99e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #53 0x000000ffee99e978 void clang::finalize>, 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 0x000000ffee99e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #55 0x000000fff0217b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #56 0x000000fff01d3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #57 0x000000fff01d3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #58 0x000000fff01d3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #59 0x000000fff02679a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #60 0x000000aaad7f1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #61 0x000000aaad7f5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #62 0x000000aaad7f7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #63 0x000000aaad7ee034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #64 0x000000ffe6f908c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #65 0x000000ffe6f909cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #66 0x000000aaad7ee0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/blocks.mm.script: line 5: 3872572 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/call-and-message.m (515 of 19712) ******************** TEST 'Clang :: Analysis/call-and-message.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call-and-message.m.tmp.plist 1. parser at end of file #0 0x000000ffe9c2ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9c2cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9c2f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffcd4648 (linux-vdso.so.1+0x648) #4 0x000000fff26e1388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff26e1388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff26e1388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff26e1388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff26e1388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff26e1388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff26e1388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff26e1388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff23583a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff23583a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff23583a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff23583a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff23583a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff23583a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff23583a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff23583a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff235bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff235bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff235bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff235bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff234f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff234f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff234f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff235d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff235d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff235d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff234fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff234fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff234fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff23683b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff23683b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff23683b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff236f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff236f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff236f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff22ca138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff22ca138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff22ca138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff22ca138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff22ca688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff22ca688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff22ca688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff2292b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff2292b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff2292b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff22de6c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff22de6c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff22de6c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000fff22ee010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff22ee010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff22ee010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff25fb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff25fb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff25fb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff25fb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff25fb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff25fc224 llvm::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 0x000000fff25fc224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff25fc224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff2600604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff2600604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff2600604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff2600604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff2600604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000fff0842978 __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 0x000000fff0842978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000fff0842978 void clang::finalize>, 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 0x000000fff0842978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff20bbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff2077354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff2077354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff2077354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff210b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaab079c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaab07db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaab07f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaab076034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe8e348c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe8e349cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaab0760a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call-and-message.m.script: line 2: 3872837 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call-and-message.m.tmp.plist -- ******************** Testing: 0 FAIL: Clang :: Analysis/call-invalidation.cpp (516 of 19712) ******************** TEST 'Clang :: Analysis/call-invalidation.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7bb6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7bb4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7bb73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffdaa8648 (linux-vdso.so.1+0x648) #4 0x000000fff026f664 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff026f664 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff026f664 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff026f664 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff026f664 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff026f664 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff026f664 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff026f664 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 0x000000fff027008c 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 0x000000fff0275a18 clang::ento::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 0x000000fff0275c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x000000fff0275c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x000000fff058303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x000000fff058303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x000000fff058303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x000000fff058303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x000000fff058303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x000000fff0584224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x000000fff0584224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x000000fff0584224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x000000fff0588604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x000000fff0588604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x000000fff0588604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x000000fff0588604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x000000fff0588604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x000000ffee7ca978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x000000ffee7ca978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x000000ffee7ca978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x000000ffee7ca978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x000000fff0043b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x000000ffeffff354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x000000ffeffff354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x000000ffeffff354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x000000fff00939a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000000aaad04dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000000aaad051b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000000aaad053234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000000aaad04a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x000000ffe6dbc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #43 0x000000ffe6dbc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #44 0x000000aaad04a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call-invalidation.cpp.script: line 1: 3872846 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/builtin-functions.cpp (517 of 19712) ******************** TEST 'Clang :: Analysis/builtin-functions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6b42bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6b40c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6b433d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd9c0648 (linux-vdso.so.1+0x648) #4 0x000000ffef5f5388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef5f5388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef5f5388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef5f5388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef5f5388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef5f5388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef5f5388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef5f5388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef26c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef26c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef26c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef26c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef26c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef26c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef26c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef26c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef26fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef26fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef26fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef26fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef263430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef263430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef263430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef2713b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef2713b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef2713b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef263d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef263d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef263d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef27c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef27c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef27c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef2831d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef2831d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef2831d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef1de0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef1de0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef1de0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef1de0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000ffef1f3e4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffef1f3e4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffef1f3e4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000ffef1f3e4c 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:0 #47 0x000000ffef1ffb90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000ffef1ffb90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000ffef1ffb90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000ffef1ffb90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000ffef1ffb90 clang::ento::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 #52 0x000000ffef1ffe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000ffef20165c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000ffef20187c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000ffef201c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000ffef201c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000ffef50f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000ffef50f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000ffef50f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000ffef50f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000ffef50f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000ffef510224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000ffef510224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000ffef510224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000ffef514604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000ffef514604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000ffef514604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000ffef514604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000ffef514604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000ffed756978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000ffed756978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000ffed756978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000ffed756978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000ffeefcfb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000ffeef8b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000ffeef8b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000ffeef8b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000ffef01f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaacecdc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaaced1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaaced3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaaceca034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe5d488c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe5d489cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaaceca0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/builtin-functions.cpp.script: line 1: 3872747 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/builtin-functions.cpp -std=c++11 -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/c11lock.c (518 of 19712) ******************** TEST 'Clang :: Analysis/c11lock.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8f56bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8f54c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8f573d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffca74648 (linux-vdso.so.1+0x648) #4 0x000000fff1b0dcc8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1b0dcc8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1b0dcc8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1b0dcc8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1b0dcc8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1b0dcc8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1b0dcc8 get<(anonymous namespace)::LockMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1b0dcc8 (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:0 #12 0x000000fff15da8e8 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x000000fff160c1b4 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x000000fff160c1b4 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x000000fff160c1b4 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #16 0x000000fff160c1b4 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #17 0x000000fff160c1b4 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #18 0x000000fff160c1b4 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #19 0x000000fff160c1b4 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #20 0x000000fff1613d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x000000fff1613d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x000000fff1613d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x000000fff1613d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x000000fff1613d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x000000fff1613d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x000000fff1613d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x000000fff1613d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x000000fff1613d94 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 0x000000fff161565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff161587c clang::ento::CoreEngine::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 0x000000fff1615c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #32 0x000000fff1615c70 clang::ento::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 0x000000fff192303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x000000fff192303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x000000fff192303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #36 0x000000fff192303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #37 0x000000fff192303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #38 0x000000fff1924224 llvm::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 0x000000fff1924224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #40 0x000000fff1924224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #41 0x000000fff1928604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x000000fff1928604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x000000fff1928604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #44 0x000000fff1928604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #45 0x000000fff1928604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #46 0x000000ffefb6a978 __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 0x000000ffefb6a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #48 0x000000ffefb6a978 void clang::finalize>, 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 0x000000ffefb6a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #50 0x000000fff13e3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #51 0x000000fff139f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #52 0x000000fff139f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #53 0x000000fff139f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #54 0x000000fff14339a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #55 0x000000aaaea79c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #56 0x000000aaaea7db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #57 0x000000aaaea7f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #58 0x000000aaaea76034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #59 0x000000ffe815c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #60 0x000000ffe815c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #61 0x000000aaaea760a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/c11lock.c.script: line 1: 3872771 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/bstring_UninitRead.c (519 of 19712) ******************** TEST 'Clang :: Analysis/bstring_UninitRead.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7a92bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7a90c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7a933d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd6b4648 (linux-vdso.so.1+0x648) #4 0x000000fff0545388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0545388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0545388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0545388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0545388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0545388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0545388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0545388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff01bc3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff01bc3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff01bc3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff01bc3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff01bc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff01bc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff01bc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff01bc3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff01bfdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff01bfdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff01bfdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff01bfdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff01b3430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff01b3430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff01b3430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff01c13b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff01c13b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff01c13b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff01b3d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff01b3d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff01b3d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff01cc3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff01cc3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff01cc3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff01d31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff01d31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff01d31d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff012e0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff012e0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff012e0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff012e0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff068a41c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff068a41c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff068a41c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff068a41c (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:61 #47 0x000000fff068a4f4 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #48 0x000000fff068a4f4 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1324:25 #49 0x000000fff068a4f4 (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:56 #50 0x000000fff0644d58 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:206:0 #51 0x000000fff0644d58 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #52 0x000000fff0644d58 (anonymous namespace)::CStringChecker::evalCopyCommon(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::IntrusiveRefCntPtr, (anonymous namespace)::SizeArgExpr, (anonymous namespace)::DestinationArgExpr, (anonymous namespace)::SourceArgExpr, bool, bool, (anonymous namespace)::CharKind) const (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:1304:0 #53 0x000000fff01f60a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #54 0x000000fff01f60a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #55 0x000000fff01f60a4 (anonymous namespace)::CStringChecker::evalMemcpy(clang::ento::CheckerContext&, clang::CallExpr const*, (anonymous namespace)::CharKind) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:1383:17 #56 0x000000fff01fbde8 std::_Function_base::~_Function_base() /usr/include/c++/12/bits/std_function.h:243:11 #57 0x000000fff01fbde8 ~function /usr/include/c++/12/bits/std_function.h:334:11 #58 0x000000fff01fbde8 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2516:1 #59 0x000000fff01fbde8 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 #60 0x000000fff012d588 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #61 0x000000fff0176440 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #62 0x000000fff0176440 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #63 0x000000fff0176440 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #64 0x000000fff0176440 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #65 0x000000fff0176e4c clang::ento::ExprEngine::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 0x000000fff014ed1c clang::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 0x000000fff014ed1c clang::ento::ExprEngine::Visit(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 0x000000fff014fe0c clang::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 0x000000fff015165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff015187c clang::ento::CoreEngine::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 0x000000fff0151c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #72 0x000000fff0151c70 clang::ento::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 0x000000fff045f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #74 0x000000fff045f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #75 0x000000fff045f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #76 0x000000fff045f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #77 0x000000fff045f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #78 0x000000fff0460224 llvm::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 0x000000fff0460224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #80 0x000000fff0460224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #81 0x000000fff0464604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #82 0x000000fff0464604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #83 0x000000fff0464604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #84 0x000000fff0464604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #85 0x000000fff0464604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #86 0x000000ffee6a6978 __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 0x000000ffee6a6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #88 0x000000ffee6a6978 void clang::finalize>, 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 0x000000ffee6a6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #90 0x000000ffeff1fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #91 0x000000ffefedb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #92 0x000000ffefedb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #93 0x000000ffefedb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #94 0x000000ffeff6f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #95 0x000000aaae27dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #96 0x000000aaae281b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #97 0x000000aaae283234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #98 0x000000aaae27a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #99 0x000000ffe6c988c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #100 0x000000ffe6c989cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #101 0x000000aaae27a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/bstring_UninitRead.c.script: line 1: 3872639 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring_UninitRead.c -analyzer-checker=core,alpha.unix.cstring -- ******************** Testing: 0 FAIL: Clang :: Analysis/bug_hash_test.m (521 of 19712) ******************** TEST 'Clang :: Analysis/bug_hash_test.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7da6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7da4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7da73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd5f4648 (linux-vdso.so.1+0x648) #4 0x000000fff0859388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0859388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0859388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0859388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0859388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0859388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0859388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0859388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff04d03a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff04d03a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff04d03a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff04d03a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff04d03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff04d03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff04d03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff04d03a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff04d3dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff04d3dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff04d3dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff04d3dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff04c7430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff04c7430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff04c7430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff04d53b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff04d53b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff04d53b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff04c7d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff04c7d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff04c7d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff04e03b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff04e03b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff04e03b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff04e71d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff04e71d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff04e71d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0442138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0442138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0442138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0442138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff0442688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff0442688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff0442688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff040ab4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff040ab4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff040ab4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff04566c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff04566c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff04566c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000fff0466010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff0466010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff0466010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff077303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff077303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff077303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff077303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff077303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff0774224 llvm::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 0x000000fff0774224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff0774224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff0778604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff0778604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff0778604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff0778604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff0778604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffee9ba978 __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 0x000000ffee9ba978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffee9ba978 void clang::finalize>, 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 0x000000ffee9ba978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff0233b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff01ef354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff01ef354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff01ef354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff02839a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaae2d5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaae2d9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaae2db234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaae2d2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe6fac8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe6fac9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaae2d20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/bug_hash_test.m.script: line 1: 3872707 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/cast-to-struct.cpp (522 of 19712) ******************** TEST 'Clang :: Analysis/cast-to-struct.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe96e6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe96e4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe96e73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff7c0648 (linux-vdso.so.1+0x648) #4 0x000000fff1d9f664 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff1d9f664 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff1d9f664 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff1d9f664 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff1d9f664 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff1d9f664 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff1d9f664 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff1d9f664 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 0x000000fff1da008c 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 0x000000fff1da5a18 clang::ento::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 0x000000fff1da5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x000000fff1da5c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x000000fff20b303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x000000fff20b303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x000000fff20b303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x000000fff20b303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x000000fff20b303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x000000fff20b4224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x000000fff20b4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x000000fff20b4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x000000fff20b8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x000000fff20b8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x000000fff20b8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x000000fff20b8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x000000fff20b8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x000000fff02fa978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x000000fff02fa978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x000000fff02fa978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x000000fff02fa978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x000000fff1b73b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x000000fff1b2f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x000000fff1b2f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x000000fff1b2f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x000000fff1bc39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000000aaaadc1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000000aaaadc5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000000aaaadc7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000000aaaadbe034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x000000ffe88ec8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #43 0x000000ffe88ec9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #44 0x000000aaaadbe0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cast-to-struct.cpp.script: line 1: 3872893 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/blocks-no-inline.c (523 of 19712) ******************** TEST 'Clang :: Analysis/blocks-no-inline.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe839ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe839cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe839f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffa04648 (linux-vdso.so.1+0x648) #4 0x000000fff0e51388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0e51388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0e51388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0e51388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0e51388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0e51388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0e51388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0e51388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff0ac83a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff0ac83a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff0ac83a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff0ac83a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff0ac83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff0ac83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff0ac83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff0ac83a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0acbdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0acbdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0acbdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0acbdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0abf430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0abf430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0abf430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff0acd3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0acd3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0acd3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0abfd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0abfd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0abfd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff0ad83b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff0ad83b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff0ad83b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff0adf1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff0adf1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff0adf1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0a3a0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0a3a0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0a3a0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0a3a0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff0f91e24 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff0f91e24 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff0f91e24 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff0f91e24 getArgumentValueString(clang::CallExpr const*, clang::ento::CheckerContext&) (.part.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:150:20 #47 0x000000fff0b4b864 getArgumentValueString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:135:3 #48 0x000000fff0b4b864 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #49 0x000000fff0b4b864 (anonymous namespace)::ExprInspectionChecker::analyzerEval(clang::CallExpr const*, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:215:0 #50 0x000000fff0b937b0 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:0 #51 0x000000fff0b937b0 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 #52 0x000000fff0a39588 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #53 0x000000fff0a82440 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #54 0x000000fff0a82440 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #55 0x000000fff0a82440 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #56 0x000000fff0a82440 clang::ento::ExprEngine::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 #57 0x000000fff0a82e4c clang::ento::ExprEngine::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 #58 0x000000fff0a5ad1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #59 0x000000fff0a5ad1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #60 0x000000fff0a5be0c clang::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 0x000000fff0a5d65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff0a5d87c clang::ento::CoreEngine::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 0x000000fff0a5dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #64 0x000000fff0a5dc70 clang::ento::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 0x000000fff0d6b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #66 0x000000fff0d6b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #67 0x000000fff0d6b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #68 0x000000fff0d6b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #69 0x000000fff0d6b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #70 0x000000fff0d6fb44 VisitFunctionDecl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:319:0 #71 0x000000fff0d6fb44 WalkUpFromFunctionDecl /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include/clang/AST/DeclNodes.inc:433:0 #72 0x000000fff0d6fb44 TraverseFunctionDecl /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/RecursiveASTVisitor.h:2226:0 #73 0x000000fff0d6fb44 clang::RecursiveASTVisitor<(anonymous namespace)::AnalysisConsumer>::TraverseDecl(clang::Decl*) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include/clang/AST/DeclNodes.inc:433:0 #74 0x000000fff0d7051c runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:552:0 #75 0x000000fff0d7051c (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #76 0x000000ffeefb2978 __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 0x000000ffeefb2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #78 0x000000ffeefb2978 void clang::finalize>, 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 0x000000ffeefb2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #80 0x000000fff082bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #81 0x000000fff07e7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #82 0x000000fff07e7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #83 0x000000fff07e7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #84 0x000000fff087b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #85 0x000000aaab8d9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #86 0x000000aaab8ddb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #87 0x000000aaab8df234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #88 0x000000aaab8d6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #89 0x000000ffe75a48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #90 0x000000ffe75a49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #91 0x000000aaab8d60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/blocks-no-inline.c.script: line 2: 3872556 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=none -fblocks -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks-no-inline.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/bug_hash_test.cpp (524 of 19712) ******************** TEST 'Clang :: Analysis/bug_hash_test.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7d5abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7d58c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7d5b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc0c8648 (linux-vdso.so.1+0x648) #4 0x000000fff0413664 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff0413664 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff0413664 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff0413664 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff0413664 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff0413664 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff0413664 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff0413664 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 0x000000fff041408c 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 0x000000fff0419a18 clang::ento::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 0x000000fff0419c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x000000fff0419c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x000000fff072703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x000000fff072703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x000000fff072703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x000000fff072703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x000000fff072703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x000000fff0728224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x000000fff0728224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x000000fff0728224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x000000fff072c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x000000fff072c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x000000fff072c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x000000fff072c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x000000fff072c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x000000ffee96e978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x000000ffee96e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x000000ffee96e978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x000000ffee96e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x000000fff01e7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x000000fff01a3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x000000fff01a3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x000000fff01a3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x000000fff02379a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000000aaac279c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000000aaac27db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000000aaac27f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000000aaac276034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x000000ffe6f608c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #43 0x000000ffe6f609cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #44 0x000000aaac2760a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/bug_hash_test.cpp.script: line 1: 3872692 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/call-and-message.cpp (525 of 19712) ******************** TEST 'Clang :: Analysis/call-and-message.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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 0x000000ffe8052bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8050c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe80533d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffdac4648 (linux-vdso.so.1+0x648) #4 0x000000fff070b664 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff070b664 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff070b664 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff070b664 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff070b664 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff070b664 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff070b664 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff070b664 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 0x000000fff070c08c 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 0x000000fff0711a18 clang::ento::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 0x000000fff0711c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x000000fff0711c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x000000fff0a1f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x000000fff0a1f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x000000fff0a1f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x000000fff0a1f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x000000fff0a1f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x000000fff0a20224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x000000fff0a20224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x000000fff0a20224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x000000fff0a24604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x000000fff0a24604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x000000fff0a24604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x000000fff0a24604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x000000fff0a24604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x000000ffeec66978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x000000ffeec66978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x000000ffeec66978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x000000ffeec66978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x000000fff04dfb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x000000fff049b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x000000fff049b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x000000fff049b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x000000fff052f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000000aaad901c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000000aaad905b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000000aaad907234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000000aaad8fe034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x000000ffe72588c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #43 0x000000ffe72589cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #44 0x000000aaad8fe0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call-and-message.cpp.script: line 7: 3872809 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-and-message.cpp -verify=fn-pointer -analyzer-checker=core -analyzer-config core.CallAndMessage:FunctionPointer=true -analyzer-config core.CallAndMessage:ParameterCount=false -analyzer-config core.CallAndMessage:CXXThisMethodCall=false -analyzer-config core.CallAndMessage:CXXDeallocationArg=false -analyzer-config core.CallAndMessage:ArgInitializedness=false -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=false -analyzer-config core.CallAndMessage:NilReceiver=false -analyzer-config core.CallAndMessage:UndefReceiver=false -- ******************** Testing: 0 FAIL: Clang :: Analysis/call_once.cpp (526 of 19712) ******************** TEST 'Clang :: Analysis/call_once.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call_once.cpp.tmp.report : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call_once.cpp.tmp.report : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call_once.cpp.tmp.report : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe6e1abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6e18c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6e1b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd1dc648 (linux-vdso.so.1+0x648) #4 0x000000ffef8cd388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef8cd388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef8cd388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef8cd388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef8cd388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef8cd388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef8cd388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef8cd388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef5443a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef5443a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef5443a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef5443a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef5443a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef5443a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef5443a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef5443a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef547dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef547dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef547dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef547dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef53b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef53b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef53b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef5493b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef5493b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef5493b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef53bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef53bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef53bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef5543b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef5543b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef5543b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef55b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef55b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef55b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef4b60e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef4b60e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef4b60e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef4b60e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000ffef4cbe4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffef4cbe4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffef4cbe4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000ffef4cbe4c 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:0 #47 0x000000ffef4d7b90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000ffef4d7b90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000ffef4d7b90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000ffef4d7b90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000ffef4d7b90 clang::ento::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 #52 0x000000ffef4d7e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000ffef4d965c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000ffef4d987c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000ffef4d9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000ffef4d9c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000ffef7e703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000ffef7e703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000ffef7e703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000ffef7e703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000ffef7e703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000ffef7e8224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000ffef7e8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000ffef7e8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000ffef7ec604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000ffef7ec604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000ffef7ec604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000ffef7ec604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000ffef7ec604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000ffeda2e978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000ffeda2e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000ffeda2e978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000ffeda2e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000ffef2a7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000ffef263354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000ffef263354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000ffef263354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000ffef2f79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaabf35c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaabf39b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaabf3b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaabf32034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe60208c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe60209cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaabf320a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call_once.cpp.script: line 5: 3872854 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call_once.cpp.tmp.report -- ******************** Testing: 0 FAIL: Clang :: Analysis/cast-value-logic.cpp (527 of 19712) ******************** TEST 'Clang :: Analysis/cast-value-logic.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe97febb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe97fcc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe97ff3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc168648 (linux-vdso.so.1+0x648) #4 0x000000fff22b1388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff22b1388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff22b1388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff22b1388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff22b1388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff22b1388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff22b1388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff22b1388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff1f283a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff1f283a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff1f283a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff1f283a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff1f283a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff1f283a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff1f283a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff1f283a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1f2bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1f2bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1f2bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1f2bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1f1f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1f1f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1f1f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff1f2d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff1f2d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff1f2d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1f1fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1f1fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1f1fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff1f383b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff1f383b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff1f383b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff1f3f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff1f3f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff1f3f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1e9a138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1e9a138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1e9a138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1e9a138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1e9a688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff1e9a688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff1e9a688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff22ad930 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff22ad930 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff22ad930 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff22ad930 addCastTransition(clang::ento::CallEvent const&, clang::ento::DefinedOrUnknownSVal, clang::ento::CheckerContext&, bool, bool, bool) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp:202:0 #50 0x000000fff1f819e4 operator() /usr/include/c++/12/bits/std_function.h:591:9 #51 0x000000fff1f819e4 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp:513:8 #52 0x000000fff1f819e4 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 #53 0x000000fff1e99588 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 0x000000fff1ee2440 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #55 0x000000fff1ee2440 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #56 0x000000fff1ee2440 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #57 0x000000fff1ee2440 clang::ento::ExprEngine::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 0x000000fff1ee2e4c clang::ento::ExprEngine::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 0x000000fff1ebad1c clang::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 0x000000fff1ebad1c clang::ento::ExprEngine::Visit(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 0x000000fff1ebbe0c clang::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 0x000000fff1ebd65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff1ebd87c clang::ento::CoreEngine::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 0x000000fff1ebdc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #65 0x000000fff1ebdc70 clang::ento::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 0x000000fff21cb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #67 0x000000fff21cb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #68 0x000000fff21cb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #69 0x000000fff21cb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #70 0x000000fff21cb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #71 0x000000fff21cc224 llvm::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 0x000000fff21cc224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x000000fff21cc224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #74 0x000000fff21d0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x000000fff21d0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x000000fff21d0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x000000fff21d0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x000000fff21d0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x000000fff0412978 __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 0x000000fff0412978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x000000fff0412978 void clang::finalize>, 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 0x000000fff0412978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x000000fff1c8bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #84 0x000000fff1c47354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #85 0x000000fff1c47354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #86 0x000000fff1c47354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #87 0x000000fff1cdb9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #88 0x000000aaad051c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x000000aaad055b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x000000aaad057234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x000000aaad04e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x000000ffe8a048c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #93 0x000000ffe8a049cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #94 0x000000aaad04e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cast-value-logic.cpp.script: line 1: 3873482 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (528 of 19712) ******************** TEST 'Clang :: Analysis/cast-value-state-dump.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-state-dump.cpp check:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4: 1. parser at end of file check:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: 2. While analyzing stack: check:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #0 Calling evalNonNullParamNonNullReturn(const Shape *) check:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-state-dump.cpp:20:19: Error evaluating statement check:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/casts.m (529 of 19712) ******************** TEST 'Clang :: Analysis/casts.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8112bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8110c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe81133d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc6d0648 (linux-vdso.so.1+0x648) #4 0x000000fff0bc5388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0bc5388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0bc5388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0bc5388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0bc5388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0bc5388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0bc5388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0bc5388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff083c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff083c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff083c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff083c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff083c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff083c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff083c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff083c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff083fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff083fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff083fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff083fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0833430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0833430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0833430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff08413b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff08413b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff08413b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0833d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0833d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0833d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff084c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff084c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff084c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff08531d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff08531d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff08531d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff07ae138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff07ae138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff07ae138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff07ae138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff0d04114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff0d04114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff0d04114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff0816404 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #47 0x000000fff0816404 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #48 0x000000fff0816404 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #49 0x000000fff0816404 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #50 0x000000fff0816404 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #51 0x000000fff0816404 clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #52 0x000000fff07ce77c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #53 0x000000fff07ce77c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #54 0x000000fff07cfe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x000000fff07d165c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x000000fff07d187c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x000000fff07d1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff07d1c70 clang::ento::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 0x000000fff0adf03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff0adf03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff0adf03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff0adf03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff0adf03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff0ae0224 llvm::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 0x000000fff0ae0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff0ae0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff0ae4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff0ae4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff0ae4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff0ae4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff0ae4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffeed26978 __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 0x000000ffeed26978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffeed26978 void clang::finalize>, 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 0x000000ffeed26978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff059fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff055b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff055b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff055b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff05ef9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaab3a1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaab3a5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaab3a7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaab39e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe73188c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe73189cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaab39e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/casts.m.script: line 1: 3873684 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/cast-value-notes.cpp (531 of 19712) ******************** TEST 'Clang :: Analysis/cast-value-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe970ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) check:100'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #1 0x000000ffe970cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) check:100'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: #2 0x000000ffe970f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) check:100'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/casts.cpp (532 of 19712) ******************** TEST 'Clang :: Analysis/casts.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe83babb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe83b8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe83bb3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe2f4648 (linux-vdso.so.1+0x648) #4 0x000000fff0e6d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0e6d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0e6d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0e6d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0e6d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0e6d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0e6d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0e6d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff0ae43a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff0ae43a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff0ae43a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff0ae43a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff0ae43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff0ae43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff0ae43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff0ae43a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0ae7dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0ae7dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0ae7dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0ae7dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0adb430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0adb430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0adb430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff0ae93b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0ae93b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0ae93b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0adbd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0adbd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0adbd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff0af43b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff0af43b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff0af43b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff0afb1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff0afb1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff0afb1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0a56138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0a56138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0a56138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0a56138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff0a6be4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff0a6be4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff0a6be4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000fff0a6be4c 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:0 #47 0x000000fff0a77b90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000fff0a77b90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000fff0a77b90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000fff0a77b90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000fff0a77b90 clang::ento::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 #52 0x000000fff0a77e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000fff0a7965c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000fff0a7987c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000fff0a79c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000fff0a79c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000fff0d8703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff0d8703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff0d8703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000fff0d8703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000fff0d8703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000fff0d88224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000fff0d88224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000fff0d88224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000fff0d8c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000fff0d8c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000fff0d8c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000fff0d8c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000fff0d8c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000ffeefce978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000ffeefce978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000ffeefce978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000ffeefce978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000fff0847b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000fff0803354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000fff0803354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000fff0803354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000fff08979a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaae331c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaae335b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaae337234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaae32e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe75c08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe75c09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaae32e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/casts.cpp.script: line 1: 3873675 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/casts.c (533 of 19712) ******************** TEST 'Clang :: Analysis/casts.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8212bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8210c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe82133d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffce0648 (linux-vdso.so.1+0x648) #4 0x000000fff0cc5388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0cc5388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0cc5388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0cc5388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0cc5388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0cc5388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0cc5388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0cc5388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff093c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff093c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff093c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff093c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff093c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff093c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff093c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff093c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff093fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff093fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff093fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff093fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0933430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0933430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0933430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff09413b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff09413b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff09413b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0933d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0933d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0933d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff094c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff094c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff094c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff09531d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff09531d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff09531d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff08ae138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff08ae138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff08ae138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff08ae138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff0e04114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff0e04114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff0e04114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff09f6de0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff09f6de0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:0 #48 0x000000fff09f6de0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #49 0x000000fff09f6de0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:0 #50 0x000000fff0896208 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #51 0x000000fff08c006c clang::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 0x000000fff08c006c 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:0 #53 0x000000fff08c3978 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #54 0x000000fff08c3978 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #55 0x000000fff08c3978 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x000000fff08c3978 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:0 #57 0x000000fff090becc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff090becc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff090becc 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 #60 0x000000fff08ce708 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #61 0x000000fff08ce708 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #62 0x000000fff08ce708 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #63 0x000000fff08cfe0c clang::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 0x000000fff08d165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff08d187c clang::ento::CoreEngine::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 0x000000fff08d1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #67 0x000000fff08d1c70 clang::ento::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 0x000000fff0bdf03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #69 0x000000fff0bdf03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #70 0x000000fff0bdf03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #71 0x000000fff0bdf03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #72 0x000000fff0bdf03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #73 0x000000fff0be0224 llvm::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 0x000000fff0be0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #75 0x000000fff0be0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #76 0x000000fff0be4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #77 0x000000fff0be4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #78 0x000000fff0be4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #79 0x000000fff0be4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #80 0x000000fff0be4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #81 0x000000ffeee26978 __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 0x000000ffeee26978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #83 0x000000ffeee26978 void clang::finalize>, 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 0x000000ffeee26978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #85 0x000000fff069fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #86 0x000000fff065b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #87 0x000000fff065b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #88 0x000000fff065b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #89 0x000000fff06ef9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #90 0x000000aaae021c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #91 0x000000aaae025b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #92 0x000000aaae027234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #93 0x000000aaae01e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #94 0x000000ffe74188c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #95 0x000000ffe74189cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #96 0x000000aaae01e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/casts.c.script: line 4: 3873583 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -fenable-matrix -analyzer-checker=core,alpha.core,debug.ExprInspection -Wno-pointer-to-int-cast -Wno-strict-prototypes -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/cert/env34-c-cert-examples.c (534 of 19712) ******************** TEST 'Clang :: Analysis/cert/env34-c-cert-examples.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9252bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9250c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe92533d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe9a8648 (linux-vdso.so.1+0x648) #4 0x000000fff1d05388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1d05388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1d05388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1d05388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1d05388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1d05388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1d05388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1d05388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff197c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff197c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff197c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff197c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff197c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff197c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff197c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff197c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff197fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff197fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff197fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff197fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1973430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1973430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1973430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff19813b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff19813b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff19813b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1973d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1973d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1973d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff198c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff198c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff198c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff19931d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff19931d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff19931d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff18ee138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff18ee138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff18ee138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff18ee138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1903e4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff1903e4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff1903e4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000fff1903e4c 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:0 #47 0x000000fff190fb90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000fff190fb90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000fff190fb90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000fff190fb90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000fff190fb90 clang::ento::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 #52 0x000000fff190fe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000fff191165c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000fff191187c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000fff1911c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000fff1911c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000fff1c1f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff1c1f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff1c1f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000fff1c1f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000fff1c1f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000fff1c20224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000fff1c20224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000fff1c20224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000fff1c24604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000fff1c24604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000fff1c24604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000fff1c24604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000fff1c24604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000ffefe66978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000ffefe66978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000ffefe66978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000ffefe66978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000fff16dfb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000fff169b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000fff169b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000fff169b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000fff172f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaad301c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaad305b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaad307234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaad2fe034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe84588c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe84589cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaad2fe0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/cert/Output/env34-c-cert-examples.c.script: line 1: 3873863 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.security.cert.env.InvalidPtr -verify -Wno-unused /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env34-c-cert-examples.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/cert/env34-c.c (535 of 19712) ******************** TEST 'Clang :: Analysis/cert/env34-c.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe719ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe719cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe719f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe128648 (linux-vdso.so.1+0x648) #4 0x000000ffef9df5d4 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef9df5d4 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef9df5d4 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef9df5d4 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef9df5d4 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef9df5d4 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 0x000000ffef9df5d4 get<(anonymous namespace)::PreviousCallResultMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x000000ffef9df5d4 (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 0x000000ffef9e0618 (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 0x000000ffef830df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #14 0x000000ffef830df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x000000ffef830df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #16 0x000000ffef830df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #17 0x000000ffef830df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #18 0x000000ffef882500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #19 0x000000ffef882500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #20 0x000000ffef882500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #21 0x000000ffef882500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #22 0x000000ffef882e4c clang::ento::ExprEngine::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 0x000000ffef85ad1c clang::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 0x000000ffef85ad1c clang::ento::ExprEngine::Visit(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 0x000000ffef85be0c clang::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 0x000000ffef85d65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef85d87c clang::ento::CoreEngine::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 0x000000ffef85dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #29 0x000000ffef85dc70 clang::ento::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 0x000000ffefb6b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x000000ffefb6b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x000000ffefb6b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #33 0x000000ffefb6b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #34 0x000000ffefb6b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #35 0x000000ffefb6c224 llvm::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 0x000000ffefb6c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x000000ffefb6c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #38 0x000000ffefb70604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x000000ffefb70604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x000000ffefb70604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x000000ffefb70604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x000000ffefb70604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x000000ffeddb2978 __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 0x000000ffeddb2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x000000ffeddb2978 void clang::finalize>, 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 0x000000ffeddb2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x000000ffef62bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #48 0x000000ffef5e7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #49 0x000000ffef5e7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #50 0x000000ffef5e7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #51 0x000000ffef67b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #52 0x000000aaab365c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x000000aaab369b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x000000aaab36b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x000000aaab362034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x000000ffe63a48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #57 0x000000ffe63a49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #58 0x000000aaab3620a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/cert/Output/env34-c.c.script: line 1: 3873899 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/env31-c.c (536 of 19712) ******************** TEST 'Clang :: Analysis/cert/env31-c.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe76e6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe76e4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe76e73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe5c8648 (linux-vdso.so.1+0x648) #4 0x000000ffefe349e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffefe349e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffefe349e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffefe349e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000ffefe349e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000ffefe349e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000ffefd9c278 llvm::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 0x000000ffefd9c278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000ffefd9c278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000ffefd9c278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000ffefda3d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #15 0x000000ffefda3d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #16 0x000000ffefda3d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #17 0x000000ffefda3d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #18 0x000000ffefda3d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #19 0x000000ffefda3d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #20 0x000000ffefda3d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #21 0x000000ffefda3d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #22 0x000000ffefda3d94 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 #23 0x000000ffefda565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffefda5780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #25 0x000000ffefda5a58 clang::ento::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 #26 0x000000ffefda5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000ffefda5c70 clang::ento::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 0x000000fff00b303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000fff00b303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000fff00b303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000fff00b303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000fff00b303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000fff00b4224 llvm::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 0x000000fff00b4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000fff00b4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000fff00b8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000fff00b8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000fff00b8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000fff00b8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000fff00b8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000ffee2fa978 __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 0x000000ffee2fa978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x000000ffee2fa978 void clang::finalize>, 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 0x000000ffee2fa978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x000000ffefb73b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x000000ffefb2f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x000000ffefb2f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x000000ffefb2f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x000000ffefbc39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #50 0x000000aaad6a5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x000000aaad6a9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x000000aaad6ab234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x000000aaad6a2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x000000ffe68ec8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #55 0x000000ffe68ec9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #56 0x000000aaad6a20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/cert/Output/env31-c.c.script: line 5: 3873827 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/cfref_PR2519.c (537 of 19712) ******************** TEST 'Clang :: Analysis/cfref_PR2519.c' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe897abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8978c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe897b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff734648 (linux-vdso.so.1+0x648) #4 0x000000fff10c89e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff10c89e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff10c89e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff10c89e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000fff10c89e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000fff10c89e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000fff1030278 llvm::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 0x000000fff1030278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000fff1030278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000fff1030278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000fff1037d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #15 0x000000fff1037d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #16 0x000000fff1037d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #17 0x000000fff1037d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #18 0x000000fff1037d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #19 0x000000fff1037d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #20 0x000000fff1037d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #21 0x000000fff1037d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #22 0x000000fff1037d94 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 #23 0x000000fff103965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff1039780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #25 0x000000fff1039a58 clang::ento::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 #26 0x000000fff1039c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000fff1039c70 clang::ento::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 0x000000fff134703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000fff134703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000fff134703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000fff134703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000fff134703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000fff1348224 llvm::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 0x000000fff1348224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000fff1348224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000fff134c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000fff134c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000fff134c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000fff134c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000fff134c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000ffef58e978 __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 0x000000ffef58e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x000000ffef58e978 void clang::finalize>, 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 0x000000ffef58e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x000000fff0e07b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x000000fff0dc3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x000000fff0dc3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x000000fff0dc3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x000000fff0e579a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #50 0x000000aaae471c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x000000aaae475b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x000000aaae477234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x000000aaae46e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x000000ffe7b808c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #55 0x000000ffe7b809cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #56 0x000000aaae46e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cfref_PR2519.c.script: line 1: 3875187 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/cert/pos34-c-fp-suppression.cpp (540 of 19712) ******************** TEST 'Clang :: Analysis/cert/pos34-c-fp-suppression.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6b52bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6b50c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6b533d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff1bc648 (linux-vdso.so.1+0x648) #4 0x000000ffef605388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef605388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef605388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef605388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef605388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef605388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef605388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef605388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef27c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef27c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef27c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef27c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef27c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef27c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef27c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef27c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef27fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef27fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef27fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef27fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef273430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef273430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef273430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef2813b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef2813b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef2813b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef273d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef273d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef273d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef28c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef28c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef28c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef2931d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef2931d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef2931d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef1ee0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef1ee0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef1ee0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef1ee0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000ffef203e4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffef203e4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffef203e4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000ffef203e4c 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:0 #47 0x000000ffef20fb90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000ffef20fb90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000ffef20fb90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000ffef20fb90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000ffef20fb90 clang::ento::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 #52 0x000000ffef20fe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000ffef21165c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000ffef21187c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000ffef211c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000ffef211c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000ffef51f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000ffef51f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000ffef51f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000ffef51f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000ffef51f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000ffef520224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000ffef520224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000ffef520224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000ffef524604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000ffef524604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000ffef524604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000ffef524604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000ffef524604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000ffed766978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000ffed766978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000ffed766978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000ffed766978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000ffeefdfb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000ffeef9b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000ffeef9b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000ffeef9b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000ffef02f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaadd65c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaadd69b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaadd6b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaadd62034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe5d588c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe5d589cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaadd620a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/cert/Output/pos34-c-fp-suppression.cpp.script: line 1: 3874978 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.cert.pos.34c -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/pos34-c-fp-suppression.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cert/pos34-c.cpp (541 of 19712) ******************** TEST 'Clang :: Analysis/cert/pos34-c.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe863abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8638c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe863b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcd7c648 (linux-vdso.so.1+0x648) #4 0x000000fff10ed388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff10ed388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff10ed388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff10ed388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff10ed388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff10ed388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff10ed388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff10ed388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff0d643a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff0d643a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff0d643a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff0d643a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff0d643a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff0d643a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff0d643a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff0d643a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0d67dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0d67dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0d67dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0d67dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0d5b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0d5b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0d5b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff0d693b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0d693b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0d693b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0d5bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0d5bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0d5bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff0d743b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff0d743b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff0d743b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff0d7b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff0d7b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff0d7b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0cd60e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0cd60e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0cd60e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0cd60e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff0cebe4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff0cebe4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff0cebe4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000fff0cebe4c 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:0 #47 0x000000fff0cf7b90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000fff0cf7b90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000fff0cf7b90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000fff0cf7b90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000fff0cf7b90 clang::ento::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 #52 0x000000fff0cf7e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000fff0cf965c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000fff0cf987c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000fff0cf9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000fff0cf9c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000fff100703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff100703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff100703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000fff100703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000fff100703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000fff1008224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000fff1008224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000fff1008224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000fff100c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000fff100c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000fff100c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000fff100c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000fff100c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000ffef24e978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000ffef24e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000ffef24e978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000ffef24e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000fff0ac7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000fff0a83354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000fff0a83354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000fff0a83354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000fff0b179a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaad085c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaad089b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaad08b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaad082034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe78408c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe78409cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaad0820a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/cert/Output/pos34-c.cpp.script: line 1: 3875002 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/cfref_rdar6080742.c (542 of 19712) ******************** TEST 'Clang :: Analysis/cfref_rdar6080742.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe85c2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe85c0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe85c33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffddac648 (linux-vdso.so.1+0x648) #4 0x000000fff0d109e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0d109e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0d109e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0d109e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000fff0d109e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000fff0d109e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000fff0c78278 llvm::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 0x000000fff0c78278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000fff0c78278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000fff0c78278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000fff0c7fd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #15 0x000000fff0c7fd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #16 0x000000fff0c7fd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #17 0x000000fff0c7fd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #18 0x000000fff0c7fd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #19 0x000000fff0c7fd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #20 0x000000fff0c7fd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #21 0x000000fff0c7fd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #22 0x000000fff0c7fd94 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 #23 0x000000fff0c8165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff0c81780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #25 0x000000fff0c81a58 clang::ento::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 #26 0x000000fff0c81c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000fff0c81c70 clang::ento::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 0x000000fff0f8f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000fff0f8f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000fff0f8f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000fff0f8f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000fff0f8f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000fff0f90224 llvm::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 0x000000fff0f90224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000fff0f90224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000fff0f94604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000fff0f94604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000fff0f94604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000fff0f94604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000fff0f94604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000ffef1d6978 __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 0x000000ffef1d6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x000000ffef1d6978 void clang::finalize>, 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 0x000000ffef1d6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x000000fff0a4fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x000000fff0a0b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x000000fff0a0b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x000000fff0a0b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x000000fff0a9f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #50 0x000000aaadfb1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x000000aaadfb5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x000000aaadfb7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x000000aaadfae034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x000000ffe77c88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #55 0x000000ffe77c89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #56 0x000000aaadfae0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cfref_rdar6080742.c.script: line 1: 3875221 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cfref_rdar6080742.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/comparison-implicit-casts.cpp (543 of 19712) ******************** TEST 'Clang :: Analysis/comparison-implicit-casts.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6d3abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6d38c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6d3b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd4c4648 (linux-vdso.so.1+0x648) #4 0x000000ffef7ed388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef7ed388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef7ed388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef7ed388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef7ed388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef7ed388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef7ed388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef7ed388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef4643a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef4643a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef4643a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef4643a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef4643a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef4643a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef4643a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef4643a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef467dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef467dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef467dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef467dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef45b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef45b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef45b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef4693b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef4693b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef4693b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef45bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef45bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef45bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef4743b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef4743b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef4743b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef47b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef47b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef47b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef3d60e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef3d60e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef3d60e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef3d60e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000ffef93241c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000ffef93241c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000ffef93241c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000ffef93241c (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:61 #47 0x000000ffef9324f4 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #48 0x000000ffef9324f4 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1324:25 #49 0x000000ffef9324f4 (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:56 #50 0x000000ffef4b7784 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #51 0x000000ffef4b7784 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #52 0x000000ffef4b7784 (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 #53 0x000000ffef4a3de8 std::_Function_base::~_Function_base() /usr/include/c++/12/bits/std_function.h:243:11 #54 0x000000ffef4a3de8 ~function /usr/include/c++/12/bits/std_function.h:334:11 #55 0x000000ffef4a3de8 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2516:1 #56 0x000000ffef4a3de8 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 #57 0x000000ffef3d5588 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 0x000000ffef41e440 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #59 0x000000ffef41e440 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #60 0x000000ffef41e440 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #61 0x000000ffef41e440 clang::ento::ExprEngine::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 0x000000ffef41ee4c clang::ento::ExprEngine::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 0x000000ffef3f6d1c clang::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 0x000000ffef3f6d1c clang::ento::ExprEngine::Visit(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 0x000000ffef3f7e0c clang::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 0x000000ffef3f965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef3f987c clang::ento::CoreEngine::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 0x000000ffef3f9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #69 0x000000ffef3f9c70 clang::ento::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 0x000000ffef70703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #71 0x000000ffef70703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #72 0x000000ffef70703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #73 0x000000ffef70703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #74 0x000000ffef70703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #75 0x000000ffef708224 llvm::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 0x000000ffef708224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x000000ffef708224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #78 0x000000ffef70c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x000000ffef70c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x000000ffef70c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x000000ffef70c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x000000ffef70c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x000000ffed94e978 __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 0x000000ffed94e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x000000ffed94e978 void clang::finalize>, 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 0x000000ffed94e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x000000ffef1c7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #88 0x000000ffef183354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #89 0x000000ffef183354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #90 0x000000ffef183354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #91 0x000000ffef2179a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #92 0x000000aaabe89c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x000000aaabe8db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x000000aaabe8f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x000000aaabe86034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x000000ffe5f408c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #97 0x000000ffe5f409cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #98 0x000000aaabe860a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/comparison-implicit-casts.cpp.script: line 2: 3875518 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/complex.c (544 of 19712) ******************** TEST 'Clang :: Analysis/complex.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9f66bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9f64c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9f673d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc6ac648 (linux-vdso.so.1+0x648) #4 0x000000fff26b49e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff26b49e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff26b49e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff26b49e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000fff26b49e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000fff26b49e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000fff261c278 llvm::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 0x000000fff261c278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000fff261c278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000fff261c278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000fff2623d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #15 0x000000fff2623d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #16 0x000000fff2623d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #17 0x000000fff2623d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #18 0x000000fff2623d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #19 0x000000fff2623d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #20 0x000000fff2623d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #21 0x000000fff2623d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #22 0x000000fff2623d94 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 #23 0x000000fff262565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff2625780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #25 0x000000fff2625a58 clang::ento::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 #26 0x000000fff2625c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000fff2625c70 clang::ento::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 0x000000fff293303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000fff293303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000fff293303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000fff293303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000fff293303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000fff2934224 llvm::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 0x000000fff2934224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000fff2934224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000fff2938604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000fff2938604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000fff2938604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000fff2938604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000fff2938604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000fff0b7a978 __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 0x000000fff0b7a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x000000fff0b7a978 void clang::finalize>, 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 0x000000fff0b7a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x000000fff23f3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x000000fff23af354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x000000fff23af354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x000000fff23af354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x000000fff24439a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #50 0x000000aaad171c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x000000aaad175b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x000000aaad177234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x000000aaad16e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x000000ffe916c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #55 0x000000ffe916c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #56 0x000000aaad16e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/complex.c.script: line 1: 3875561 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/conditional-operator.cpp (545 of 19712) ******************** TEST 'Clang :: Analysis/conditional-operator.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe93aabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe93a8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe93ab3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd584648 (linux-vdso.so.1+0x648) #4 0x000000fff1e5d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1e5d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1e5d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1e5d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1e5d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1e5d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1e5d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1e5d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff1ad43a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff1ad43a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff1ad43a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff1ad43a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff1ad43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff1ad43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff1ad43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff1ad43a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1ad7dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1ad7dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1ad7dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1ad7dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1acb430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1acb430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1acb430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff1ad93b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff1ad93b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff1ad93b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1acbd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1acbd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1acbd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff1ae43b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff1ae43b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff1ae43b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff1aeb1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff1aeb1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff1aeb1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1a46138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1a46138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1a46138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1a46138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1f9c114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff1f9c114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff1f9c114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff1b8ede0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff1b8ede0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:0 #48 0x000000fff1b8ede0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #49 0x000000fff1b8ede0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:0 #50 0x000000fff1a2e208 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #51 0x000000fff1a5806c clang::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 0x000000fff1a5806c 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:0 #53 0x000000fff1a5b978 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #54 0x000000fff1a5b978 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #55 0x000000fff1a5b978 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x000000fff1a5b978 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:0 #57 0x000000fff1aa3ecc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff1aa3ecc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff1aa3ecc 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 #60 0x000000fff1a66708 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #61 0x000000fff1a66708 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #62 0x000000fff1a66708 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #63 0x000000fff1a67e0c clang::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 0x000000fff1a6965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff1a6987c clang::ento::CoreEngine::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 0x000000fff1a69c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #67 0x000000fff1a69c70 clang::ento::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 0x000000fff1d7703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #69 0x000000fff1d7703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #70 0x000000fff1d7703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #71 0x000000fff1d7703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #72 0x000000fff1d7703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #73 0x000000fff1d78224 llvm::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 0x000000fff1d78224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #75 0x000000fff1d78224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #76 0x000000fff1d7c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #77 0x000000fff1d7c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #78 0x000000fff1d7c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #79 0x000000fff1d7c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #80 0x000000fff1d7c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #81 0x000000ffeffbe978 __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 0x000000ffeffbe978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #83 0x000000ffeffbe978 void clang::finalize>, 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 0x000000ffeffbe978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #85 0x000000fff1837b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #86 0x000000fff17f3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #87 0x000000fff17f3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #88 0x000000fff17f3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #89 0x000000fff18879a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #90 0x000000aaae09dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #91 0x000000aaae0a1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #92 0x000000aaae0a3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #93 0x000000aaae09a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #94 0x000000ffe85b08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #95 0x000000ffe85b09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #96 0x000000aaae09a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/conditional-operator.cpp.script: line 1: 3875627 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/class-object-state-dump.m (547 of 19712) ******************** TEST 'Clang :: Analysis/class-object-state-dump.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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:405: note: possible intended match here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe82cebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #1 0x000000ffe82ccc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: #2 0x000000ffe82cf3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: #3 0x000000fffff48648 (linux-vdso.so.1+0x648) check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/constant-folding-crash.cpp (548 of 19712) ******************** TEST 'Clang :: Analysis/constant-folding-crash.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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 0x000000ffe918ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe918cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe918f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe4e8648 (linux-vdso.so.1+0x648) #4 0x000000fff18dc9e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff18dc9e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff18dc9e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff18dc9e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000fff18dc9e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000fff18dc9e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000fff1844278 llvm::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 0x000000fff1844278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000fff1844278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000fff1844278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000fff184bd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #15 0x000000fff184bd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #16 0x000000fff184bd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #17 0x000000fff184bd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #18 0x000000fff184bd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #19 0x000000fff184bd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #20 0x000000fff184bd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #21 0x000000fff184bd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #22 0x000000fff184bd94 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 #23 0x000000fff184d65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff184d780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #25 0x000000fff184da58 clang::ento::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 #26 0x000000fff184dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000fff184dc70 clang::ento::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 0x000000fff1b5b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000fff1b5b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000fff1b5b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000fff1b5b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000fff1b5b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000fff1b5c224 llvm::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 0x000000fff1b5c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000fff1b5c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000fff1b60604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000fff1b60604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000fff1b60604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000fff1b60604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000fff1b60604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000ffefda2978 __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 0x000000ffefda2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x000000ffefda2978 void clang::finalize>, 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 0x000000ffefda2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x000000fff161bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x000000fff15d7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x000000fff15d7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x000000fff15d7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x000000fff166b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #50 0x000000aaab8b5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x000000aaab8b9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x000000aaab8bb234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x000000aaab8b2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x000000ffe83948c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #55 0x000000ffe83949cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #56 0x000000aaab8b20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/constant-folding-crash.cpp.script: line 1: 3875956 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constant-folding-crash.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/constant-folding.c (549 of 19712) ******************** TEST 'Clang :: Analysis/constant-folding.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe70f6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe70f4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe70f73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc088648 (linux-vdso.so.1+0x648) #4 0x000000ffef8449e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef8449e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef8449e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef8449e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000ffef8449e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000ffef8449e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000ffef7ac278 llvm::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 0x000000ffef7ac278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000ffef7ac278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000ffef7ac278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000ffef7b3d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #15 0x000000ffef7b3d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #16 0x000000ffef7b3d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #17 0x000000ffef7b3d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #18 0x000000ffef7b3d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #19 0x000000ffef7b3d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #20 0x000000ffef7b3d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #21 0x000000ffef7b3d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #22 0x000000ffef7b3d94 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 #23 0x000000ffef7b565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef7b5780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #25 0x000000ffef7b5a58 clang::ento::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 #26 0x000000ffef7b5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000ffef7b5c70 clang::ento::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 0x000000ffefac303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000ffefac303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000ffefac303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000ffefac303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000ffefac303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000ffefac4224 llvm::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 0x000000ffefac4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000ffefac4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000ffefac8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000ffefac8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000ffefac8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000ffefac8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000ffefac8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000ffedd0a978 __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 0x000000ffedd0a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x000000ffedd0a978 void clang::finalize>, 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 0x000000ffedd0a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x000000ffef583b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x000000ffef53f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x000000ffef53f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x000000ffef53f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x000000ffef5d39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #50 0x000000aaab4a5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x000000aaab4a9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x000000aaab4ab234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x000000aaab4a2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x000000ffe62fc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #55 0x000000ffe62fc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #56 0x000000aaab4a20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/constant-folding.c.script: line 1: 3875961 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/const-method-call.cpp (550 of 19712) ******************** TEST 'Clang :: Analysis/const-method-call.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe825ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe825cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe825f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffcbc648 (linux-vdso.so.1+0x648) #4 0x000000fff0913f68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff0913f68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff0913f68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff0913f68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff0913f68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff0913f68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff0913f68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff0913f68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000fff091bd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x000000fff091bd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x000000fff091bd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x000000fff091bd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x000000fff091bd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x000000fff091bd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x000000fff091bd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x000000fff091bd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x000000fff091bd94 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 0x000000fff091d65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff091d780 clang::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 0x000000fff091da58 clang::ento::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 0x000000fff091dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x000000fff091dc70 clang::ento::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 0x000000fff0c2b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff0c2b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff0c2b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x000000fff0c2b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x000000fff0c2b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x000000fff0c2c224 llvm::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 0x000000fff0c2c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x000000fff0c2c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x000000fff0c30604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x000000fff0c30604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x000000fff0c30604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x000000fff0c30604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x000000fff0c30604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x000000ffeee72978 __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 0x000000ffeee72978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x000000ffeee72978 void clang::finalize>, 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 0x000000ffeee72978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x000000fff06ebb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x000000fff06a7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x000000fff06a7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x000000fff06a7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x000000fff073b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000000aaabbf1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000000aaabbf5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000000aaabbf7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000000aaabbee034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x000000ffe74648c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #53 0x000000ffe74649cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #54 0x000000aaabbee0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/const-method-call.cpp.script: line 1: 3875935 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/constraint_manager_negate.c (551 of 19712) ******************** TEST 'Clang :: Analysis/constraint_manager_negate.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9d4abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9d48c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9d4b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffde64648 (linux-vdso.so.1+0x648) #4 0x000000fff27fd388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff27fd388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff27fd388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff27fd388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff27fd388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff27fd388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff27fd388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff27fd388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff24743a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff24743a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff24743a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff24743a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff24743a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff24743a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff24743a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff24743a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff2477dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff2477dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff2477dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff2477dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff246b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff246b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff246b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff24793b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff24793b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff24793b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff246bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff246bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff246bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff24843b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff24843b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff24843b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff248b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff248b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff248b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff23e60e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff23e60e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff23e60e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff23e60e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff293c114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff293c114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff293c114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff23f7190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff23f7190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff23f7190 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:0 #49 0x000000fff23f7190 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:0 #50 0x000000fff23f7190 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:0 #51 0x000000fff23f7190 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:0 #52 0x000000fff23f7190 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:0 #53 0x000000fff23f7190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff23f7190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff23f7190 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:0 #56 0x000000fff23f77ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff2409c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff2409c70 clang::ento::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 0x000000fff271703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff271703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff271703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff271703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff271703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff2718224 llvm::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 0x000000fff2718224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff2718224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff271c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff271c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff271c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff271c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff271c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000fff095e978 __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 0x000000fff095e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000fff095e978 void clang::finalize>, 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 0x000000fff095e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff21d7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff2193354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff2193354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff2193354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff22279a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaab2bdc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaab2c1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaab2c3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaab2ba034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe8f508c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe8f509cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaab2ba0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/constraint_manager_negate.c.script: line 1: 3876431 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-path-notes.c (552 of 19712) ******************** TEST 'Clang :: Analysis/conditional-path-notes.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-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 0x000000ffe9e5ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9e5cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9e5f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe4bc648 (linux-vdso.so.1+0x648) #4 0x000000fff2588a78 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff2588a78 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff2588a78 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff2588a78 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff2588a78 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff2588a78 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff2588a78 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff2588a78 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2507:63 #12 0x000000fff2588a78 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2494:46 #13 0x000000fff2588a78 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2487:73 #14 0x000000fff2588a78 trackDisequality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2155:72 #15 0x000000fff2588a78 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2241:31 #16 0x000000fff2588a78 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #17 0x000000fff2588a78 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #18 0x000000fff2588a78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #19 0x000000fff2588a78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #20 0x000000fff2588a78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #21 0x000000fff2588a78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #22 0x000000fff258baec llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #23 0x000000fff258baec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #24 0x000000fff258baec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x000000fff258baec (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:31 #26 0x000000fff258a65c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x000000fff258a65c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x000000fff258a65c 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 0x000000fff257fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x000000fff257fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x000000fff257fd18 clang::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 0x000000fff25983b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #33 0x000000fff25983b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #34 0x000000fff25983b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #35 0x000000fff259f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #36 0x000000fff259f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #37 0x000000fff259f1d4 clang::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 0x000000fff24fa0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #39 0x000000fff24fa0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #40 0x000000fff24fa0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #41 0x000000fff24fa0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #42 0x000000fff2a50114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #43 0x000000fff2a50114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #44 0x000000fff2a50114 clang::ento::ProgramState::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 0x000000fff250b190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #46 0x000000fff250b190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #47 0x000000fff250b190 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:0 #48 0x000000fff250b190 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:0 #49 0x000000fff250b190 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:0 #50 0x000000fff250b190 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:0 #51 0x000000fff250b190 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:0 #52 0x000000fff250b190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #53 0x000000fff250b190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #54 0x000000fff250b190 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:0 #55 0x000000fff250b7ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #56 0x000000fff251dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #57 0x000000fff251dc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x000000fff282b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #59 0x000000fff282b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #60 0x000000fff282b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #61 0x000000fff282b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #62 0x000000fff282b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #63 0x000000fff282c224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x000000fff282c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x000000fff282c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #66 0x000000fff2830604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x000000fff2830604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x000000fff2830604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x000000fff2830604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x000000fff2830604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x000000fff0a72978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x000000fff0a72978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x000000fff0a72978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x000000fff0a72978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x000000fff22ebb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #76 0x000000fff22a7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #77 0x000000fff22a7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #78 0x000000fff22a7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #79 0x000000fff233b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #80 0x000000aaad689c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x000000aaad68db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x000000aaad68f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x000000aaad686034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x000000ffe90648c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #85 0x000000ffe90649cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #86 0x000000aaad6860a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/conditional-path-notes.c.script: line 3: 3875923 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/constraint_manager_conditions.cpp (553 of 19712) ******************** TEST 'Clang :: Analysis/constraint_manager_conditions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe904abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9048c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe904b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffddec648 (linux-vdso.so.1+0x648) #4 0x000000fff1afd388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1afd388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1afd388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1afd388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1afd388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1afd388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1afd388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1afd388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff1774800 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff1774800 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff1774800 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x000000fff1774800 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x000000fff1774800 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff1774800 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff1774800 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff1774800 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1777aec llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1777aec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1777aec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1777aec (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:31 #24 0x000000fff177665c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff177665c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff177665c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000fff176bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff176bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff176bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #30 0x000000fff17843b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #31 0x000000fff17843b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #32 0x000000fff17843b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #33 0x000000fff178b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x000000fff178b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x000000fff178b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #36 0x000000fff16e60e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff16e60e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff16e60e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #39 0x000000fff16e60e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #40 0x000000fff16fbe4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #41 0x000000fff16fbe4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #42 0x000000fff16fbe4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #43 0x000000fff16fbe4c 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:0 #44 0x000000fff1707b90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #45 0x000000fff1707b90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #46 0x000000fff1707b90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #47 0x000000fff1707b90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #48 0x000000fff1707b90 clang::ento::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 #49 0x000000fff1707e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #50 0x000000fff170965c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #51 0x000000fff170987c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #52 0x000000fff1709c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #53 0x000000fff1709c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #54 0x000000fff1a1703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #55 0x000000fff1a1703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x000000fff1a1703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #57 0x000000fff1a1703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #58 0x000000fff1a1703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #59 0x000000fff1a18224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #60 0x000000fff1a18224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #61 0x000000fff1a18224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #62 0x000000fff1a1c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x000000fff1a1c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x000000fff1a1c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #65 0x000000fff1a1c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #66 0x000000fff1a1c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #67 0x000000ffefc5e978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #68 0x000000ffefc5e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #69 0x000000ffefc5e978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #70 0x000000ffefc5e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #71 0x000000fff14d7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #72 0x000000fff1493354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #73 0x000000fff1493354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #74 0x000000fff1493354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #75 0x000000fff15279a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #76 0x000000aaaba45c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #77 0x000000aaaba49b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #78 0x000000aaaba4b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #79 0x000000aaaba42034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #80 0x000000ffe82508c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #81 0x000000ffe82509cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #82 0x000000aaaba420a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/constraint_manager_conditions.cpp.script: line 1: 3876410 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/container-modeling.cpp (554 of 19712) ******************** TEST 'Clang :: Analysis/container-modeling.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea02abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea028c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea02b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd154648 (linux-vdso.so.1+0x648) #4 0x000000fff2701510 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000fff2701510 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff2701510 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff2701510 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff2701510 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff2701510 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff2701510 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000fff2701510 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x000000fff2701510 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x000000fff2701608 (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 0x000000fff276e6e4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #15 0x000000fff276e6e4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #16 0x000000fff276e6e4 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #17 0x000000fff276e6e4 (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 #18 0x000000fff276de7c clang::ento::BinarySymExprImpl::getLHS() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:443:0 #19 0x000000fff276de7c VisitSymIntExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1271:0 #20 0x000000fff276de7c 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 #21 0x000000fff2bdb6f4 llvm::DenseMap, llvm::detail::DenseMapPair>::~DenseMap() /usr/include/llvm/ADT/DenseMap.h:782:0 #22 0x000000fff2bdb6f4 ~Simplifier /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1211:0 #23 0x000000fff2bdb6f4 (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 #24 0x000000fff274c030 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #25 0x000000fff274c030 (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 #26 0x000000fff274b664 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x000000fff274b664 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x000000fff274b664 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #29 0x000000fff274b768 clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #30 0x000000fff2759310 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 #31 0x000000fff274bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #32 0x000000fff274bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #33 0x000000fff274bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #34 0x000000fff27643b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #35 0x000000fff27643b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #36 0x000000fff27643b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #37 0x000000fff276b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #38 0x000000fff276b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #39 0x000000fff276b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #40 0x000000fff26c60e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #41 0x000000fff26c60e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #42 0x000000fff26c60e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #43 0x000000fff26c60e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #44 0x000000fff26c6688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x000000fff26c6688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x000000fff26c6688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #47 0x000000fff268eb4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #48 0x000000fff268eb4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #49 0x000000fff268eb4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #50 0x000000fff286db98 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #51 0x000000fff286db98 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #52 0x000000fff286db98 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 #53 0x000000fff27deab8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #54 0x000000fff27deab8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #55 0x000000fff27deab8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #56 0x000000fff27deab8 createContainerBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:850:27 #57 0x000000fff27deab8 handleBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:258:33 #58 0x000000fff27deab8 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:193:20 #59 0x000000fff27deab8 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::ContainerModeling>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:46 #60 0x000000fff26bcdf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #61 0x000000fff26bcdf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x000000fff26bcdf0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #63 0x000000fff26bcdf0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #64 0x000000fff26bcdf0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #65 0x000000fff270e500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #66 0x000000fff270e500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #67 0x000000fff270e500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #68 0x000000fff270e500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #69 0x000000fff270ee4c clang::ento::ExprEngine::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 #70 0x000000fff26e6d1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #71 0x000000fff26e6d1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #72 0x000000fff26e7e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #73 0x000000fff26e965c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #74 0x000000fff26e987c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #75 0x000000fff26e9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #76 0x000000fff26e9c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #77 0x000000fff29f703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #78 0x000000fff29f703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #79 0x000000fff29f703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #80 0x000000fff29f703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #81 0x000000fff29f703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #82 0x000000fff29f8224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #83 0x000000fff29f8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #84 0x000000fff29f8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #85 0x000000fff29fc604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #86 0x000000fff29fc604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #87 0x000000fff29fc604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #88 0x000000fff29fc604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #89 0x000000fff29fc604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #90 0x000000fff0c3e978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #91 0x000000fff0c3e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #92 0x000000fff0c3e978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #93 0x000000fff0c3e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #94 0x000000fff24b7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #95 0x000000fff2473354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #96 0x000000fff2473354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #97 0x000000fff2473354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #98 0x000000fff25079a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #99 0x000000aaaae8dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #100 0x000000aaaae91b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #101 0x000000aaaae93234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #102 0x000000aaaae8a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #103 0x000000ffe92308c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #104 0x000000ffe92309cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #105 0x000000aaaae8a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/container-modeling.cpp.script: line 3: 3876538 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/constraint-assignor.c (555 of 19712) ******************** TEST 'Clang :: Analysis/constraint-assignor.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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 0x000000ffe98e6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe98e4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe98e73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe12c648 (linux-vdso.so.1+0x648) #4 0x000000fff2399388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2399388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2399388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2399388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2399388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2399388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2399388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2399388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff20103a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff20103a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff20103a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff20103a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff20103a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff20103a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff20103a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff20103a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff2013dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff2013dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff2013dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff2013dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff2007430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff2007430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff2007430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff20153b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff20153b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff20153b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff2007d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff2007d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff2007d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff20203b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff20203b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff20203b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff20271d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff20271d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff20271d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1f820e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1f820e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1f820e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1f820e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff1f97e4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff1f97e4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff1f97e4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000fff1f97e4c 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:0 #47 0x000000fff1fa3b90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000fff1fa3b90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000fff1fa3b90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000fff1fa3b90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000fff1fa3b90 clang::ento::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 #52 0x000000fff1fa3e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000fff1fa565c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000fff1fa587c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000fff1fa5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000fff1fa5c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000fff22b303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff22b303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff22b303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000fff22b303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000fff22b303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000fff22b4224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000fff22b4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000fff22b4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000fff22b8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000fff22b8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000fff22b8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000fff22b8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000fff22b8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000fff04fa978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000fff04fa978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000fff04fa978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000fff04fa978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000fff1d73b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000fff1d2f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000fff1d2f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000fff1d2f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000fff1dc39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaae2f9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaae2fdb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaae2ff234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaae2f6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe8aec8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe8aec9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaae2f60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/constraint-assignor.c.script: line 1: 3876193 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/conversion-tracking-notes.c (558 of 19712) ******************** TEST 'Clang :: Analysis/conversion-tracking-notes.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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 0x000000ffe7f6abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7f68c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7f6b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe860648 (linux-vdso.so.1+0x648) #4 0x000000fff06b89e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff06b89e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff06b89e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff06b89e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000fff06b89e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000fff06b89e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000fff0620278 llvm::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 0x000000fff0620278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000fff0620278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000fff0620278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000fff064de10 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #15 0x000000fff064de10 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 #16 0x000000fff0623b44 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #17 0x000000fff0623b44 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #18 0x000000fff0623b44 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #19 0x000000fff0623b44 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2951:0 #20 0x000000fff062408c 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 0x000000fff0629a18 clang::ento::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 0x000000fff0629c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #23 0x000000fff0629c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #24 0x000000fff093703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #25 0x000000fff093703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #26 0x000000fff093703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #27 0x000000fff093703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #28 0x000000fff093703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #29 0x000000fff0938224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #30 0x000000fff0938224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #31 0x000000fff0938224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #32 0x000000fff093c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #33 0x000000fff093c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #34 0x000000fff093c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #35 0x000000fff093c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #36 0x000000fff093c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #37 0x000000ffeeb7e978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #38 0x000000ffeeb7e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #39 0x000000ffeeb7e978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #40 0x000000ffeeb7e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #41 0x000000fff03f7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #42 0x000000fff03b3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #43 0x000000fff03b3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #44 0x000000fff03b3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #45 0x000000fff04479a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #46 0x000000aaab699c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #47 0x000000aaab69db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #48 0x000000aaab69f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #49 0x000000aaab696034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #50 0x000000ffe71708c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #51 0x000000ffe71709cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #52 0x000000aaab6960a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/conversion-tracking-notes.c.script: line 1: 3876561 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/constraint_manager_negate_difference.c (559 of 19712) ******************** TEST 'Clang :: Analysis/constraint_manager_negate_difference.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe69aebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe69acc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe69af3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff4b8648 (linux-vdso.so.1+0x648) #4 0x000000ffef0d8a78 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000ffef0d8a78 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffef0d8a78 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffef0d8a78 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffef0d8a78 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffef0d8a78 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000ffef0d8a78 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000ffef0d8a78 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2507:63 #12 0x000000ffef0d8a78 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2494:46 #13 0x000000ffef0d8a78 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2487:73 #14 0x000000ffef0d8a78 trackDisequality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2155:72 #15 0x000000ffef0d8a78 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2241:31 #16 0x000000ffef0d8a78 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #17 0x000000ffef0d8a78 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #18 0x000000ffef0d8a78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #19 0x000000ffef0d8a78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #20 0x000000ffef0d8a78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #21 0x000000ffef0d8a78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #22 0x000000ffef0dbaec llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #23 0x000000ffef0dbaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #24 0x000000ffef0dbaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x000000ffef0dbaec (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:31 #26 0x000000ffef0cf430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x000000ffef0cf430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x000000ffef0cf430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, 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 0x000000ffef0dd3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x000000ffef0dd3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x000000ffef0dd3b4 clang::ento::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 0x000000ffef0cfd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x000000ffef0cfd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x000000ffef0cfd18 clang::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 0x000000ffef0e83b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #36 0x000000ffef0e83b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #37 0x000000ffef0e83b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #38 0x000000ffef0ef1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #39 0x000000ffef0ef1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #40 0x000000ffef0ef1d4 clang::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 0x000000ffef04a0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #42 0x000000ffef04a0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #43 0x000000ffef04a0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #44 0x000000ffef04a0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #45 0x000000ffef5a1e24 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #46 0x000000ffef5a1e24 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x000000ffef5a1e24 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 0x000000ffef5a1e24 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 0x000000ffef15b864 getArgumentValueString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:135:3 #50 0x000000ffef15b864 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #51 0x000000ffef15b864 (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 0x000000ffef1a37b0 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:0 #53 0x000000ffef1a37b0 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 0x000000ffef049588 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 0x000000ffef092440 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #56 0x000000ffef092440 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #57 0x000000ffef092440 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #58 0x000000ffef092440 clang::ento::ExprEngine::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 0x000000ffef092e4c clang::ento::ExprEngine::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 0x000000ffef06ad1c clang::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 0x000000ffef06ad1c clang::ento::ExprEngine::Visit(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 0x000000ffef06be0c clang::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 0x000000ffef06d65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef06d87c clang::ento::CoreEngine::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 0x000000ffef06dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #66 0x000000ffef06dc70 clang::ento::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 0x000000ffef37b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #68 0x000000ffef37b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #69 0x000000ffef37b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #70 0x000000ffef37b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #71 0x000000ffef37b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #72 0x000000ffef37c224 llvm::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 0x000000ffef37c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x000000ffef37c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #75 0x000000ffef380604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x000000ffef380604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x000000ffef380604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x000000ffef380604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x000000ffef380604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x000000ffed5c2978 __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 0x000000ffed5c2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x000000ffed5c2978 void clang::finalize>, 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 0x000000ffed5c2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x000000ffeee3bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #85 0x000000ffeedf7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #86 0x000000ffeedf7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #87 0x000000ffeedf7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #88 0x000000ffeee8b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #89 0x000000aaab721c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x000000aaab725b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x000000aaab727234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x000000aaab71e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x000000ffe5bb48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #94 0x000000ffe5bb49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #95 0x000000aaab71e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/constraint_manager_negate_difference.c.script: line 1: 3876443 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection,core.builtin -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_negate_difference.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/conversion.cpp (560 of 19712) ******************** TEST 'Clang :: Analysis/conversion.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9e4abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9e48c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9e4b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd088648 (linux-vdso.so.1+0x648) #4 0x000000fff24d4f7c retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000fff24d4f7c retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff24d4f7c retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff24d4f7c IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff24d4f7c ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff24d4f7c MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff24d4f7c get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000fff24d4f7c 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 0x000000fff24df5ac llvm::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 0x000000fff24df5ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #14 0x000000fff24df5ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x000000fff24df5ac clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:429:50 #16 0x000000fff24df5ac 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:45 #17 0x000000fff24e0d9c clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:7 #18 0x000000fff24e0d9c clang::ento::AnyCXXConstructorCall::getInitialStackFrameContents(clang::StackFrameContext const*, llvm::SmallVectorImpl>&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:915:31 #19 0x000000fff2593b90 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #20 0x000000fff2593b90 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #21 0x000000fff253fe7c clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #22 0x000000fff253fe7c clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #23 0x000000fff2540058 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #24 0x000000fff2540058 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #25 0x000000fff2540058 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #26 0x000000fff254c020 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff254c020 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff254c020 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #29 0x000000fff254cb88 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #30 0x000000fff254cb88 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #31 0x000000fff254cb88 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x000000fff254cb88 clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #33 0x000000fff24e5670 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:706:0 #34 0x000000fff254ada0 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #35 0x000000fff254ada0 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #36 0x000000fff254ada0 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #37 0x000000fff254ada0 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #38 0x000000fff254ada0 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #39 0x000000fff254ada0 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #40 0x000000fff254ada0 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #41 0x000000fff2506cdc clang::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 0x000000fff2506cdc clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #43 0x000000fff2507e0c clang::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 0x000000fff250965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff250987c clang::ento::CoreEngine::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 0x000000fff2509c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #47 0x000000fff2509c70 clang::ento::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 0x000000fff281703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #49 0x000000fff281703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #50 0x000000fff281703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #51 0x000000fff281703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #52 0x000000fff281703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #53 0x000000fff2818224 llvm::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 0x000000fff2818224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #55 0x000000fff2818224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #56 0x000000fff281c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x000000fff281c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x000000fff281c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #59 0x000000fff281c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #60 0x000000fff281c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #61 0x000000fff0a5e978 __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 0x000000fff0a5e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #63 0x000000fff0a5e978 void clang::finalize>, 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 0x000000fff0a5e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #65 0x000000fff22d7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #66 0x000000fff2293354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #67 0x000000fff2293354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #68 0x000000fff2293354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #69 0x000000fff23279a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #70 0x000000aaad715c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #71 0x000000aaad719b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #72 0x000000aaad71b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #73 0x000000aaad712034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #74 0x000000ffe90508c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #75 0x000000ffe90509cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #76 0x000000aaad7120a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/conversion.cpp.script: line 1: 3876980 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-conversion -Wno-tautological-constant-compare -analyzer-checker=core,alpha.core.Conversion -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conversion.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copy-elision.cpp (562 of 19712) ******************** TEST 'Clang :: Analysis/copy-elision.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea4dabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea4d8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea4db3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffc3c648 (linux-vdso.so.1+0x648) #4 0x000000fff2bb6244 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff2bb6244 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff2bb6244 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff2bb6244 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x000000fff2bb6244 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x000000fff2bb6244 Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:27 #10 0x000000fff2bb6244 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:89 #11 0x000000fff2bb6244 llvm::IntrusiveRefCntPtr clang::ento::ProgramState::set<(anonymous namespace)::ObjectsUnderConstruction>(clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:63 #12 0x000000fff2b8e10c 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:600:0 #13 0x000000fff2bbd36c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #14 0x000000fff2bbd36c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #15 0x000000fff2bbd36c clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:463:62 #16 0x000000fff2bbcf50 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #17 0x000000fff2bbcf50 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #18 0x000000fff2bbcf50 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:451:50 #19 0x000000fff2bdb7a4 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #20 0x000000fff2bdb7a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #21 0x000000fff2bdb7a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x000000fff2bdb7a4 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 0x000000fff2bdb7a4 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 0x000000fff2b96cdc clang::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 0x000000fff2b96cdc clang::ento::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 0x000000fff2b97e0c clang::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 0x000000fff2b9965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff2b9987c clang::ento::CoreEngine::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 0x000000fff2b99c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #30 0x000000fff2b99c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #31 0x000000fff2ea703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #32 0x000000fff2ea703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #33 0x000000fff2ea703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #34 0x000000fff2ea703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #35 0x000000fff2ea703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #36 0x000000fff2ea8224 llvm::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 0x000000fff2ea8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #38 0x000000fff2ea8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #39 0x000000fff2eac604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #40 0x000000fff2eac604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #41 0x000000fff2eac604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #42 0x000000fff2eac604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #43 0x000000fff2eac604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #44 0x000000fff10ee978 __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 0x000000fff10ee978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x000000fff10ee978 void clang::finalize>, 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 0x000000fff10ee978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x000000fff2967b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #49 0x000000fff2923354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #50 0x000000fff2923354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #51 0x000000fff2923354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #52 0x000000fff29b79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #53 0x000000aaaba65c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #54 0x000000aaaba69b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #55 0x000000aaaba6b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #56 0x000000aaaba62034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #57 0x000000ffe96e08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #58 0x000000ffe96e09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #59 0x000000aaaba620a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/copy-elision.cpp.script: line 4: 3877053 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copy-elision.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copy-elision.mm (563 of 19712) ******************** TEST 'Clang :: Analysis/copy-elision.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6ee6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6ee4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6ee73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff0d0648 (linux-vdso.so.1+0x648) #4 0x000000ffef59bf68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000ffef59bf68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffef59bf68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffef59bf68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffef59bf68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffef59bf68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000ffef59bf68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000ffef59bf68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000ffef5a3d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x000000ffef5a3d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x000000ffef5a3d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x000000ffef5a3d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x000000ffef5a3d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x000000ffef5a3d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x000000ffef5a3d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x000000ffef5a3d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x000000ffef5a3d94 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 0x000000ffef5a565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef5a587c clang::ento::CoreEngine::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 0x000000ffef5a5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #24 0x000000ffef5a5c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #25 0x000000ffef8b303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x000000ffef8b303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x000000ffef8b303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #28 0x000000ffef8b303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #29 0x000000ffef8b303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #30 0x000000ffef8b4224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #31 0x000000ffef8b4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #32 0x000000ffef8b4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #33 0x000000ffef8b8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #34 0x000000ffef8b8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #35 0x000000ffef8b8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #36 0x000000ffef8b8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #37 0x000000ffef8b8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #38 0x000000ffedafa978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #39 0x000000ffedafa978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #40 0x000000ffedafa978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #41 0x000000ffedafa978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #42 0x000000ffef373b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #43 0x000000ffef32f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #44 0x000000ffef32f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #45 0x000000ffef32f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #46 0x000000ffef3c39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #47 0x000000aaac0d1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #48 0x000000aaac0d5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #49 0x000000aaac0d7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #50 0x000000aaac0ce034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #51 0x000000ffe60ec8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #52 0x000000ffe60ec9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #53 0x000000aaac0ce0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/copy-elision.mm.script: line 1: 3877077 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/conversion.c (564 of 19712) ******************** TEST 'Clang :: Analysis/conversion.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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 0x000000ffea23abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea238c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea23b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe6bc648 (linux-vdso.so.1+0x648) #4 0x000000fff2911510 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000fff2911510 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff2911510 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff2911510 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff2911510 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff2911510 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff2911510 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000fff2911510 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x000000fff2911510 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x000000fff2911608 (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 0x000000fff2930650 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #15 0x000000fff2930650 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #16 0x000000fff2930650 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 #17 0x000000fff28ebb3c 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:0 #18 0x000000fff2933ecc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #19 0x000000fff2933ecc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x000000fff2933ecc 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 #21 0x000000fff28f6708 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #22 0x000000fff28f6708 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #23 0x000000fff28f6708 clang::ento::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 #24 0x000000fff28f7e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #25 0x000000fff28f965c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #26 0x000000fff28f987c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #27 0x000000fff28f9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #28 0x000000fff28f9c70 clang::ento::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 0x000000fff2c0703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x000000fff2c0703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x000000fff2c0703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #32 0x000000fff2c0703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #33 0x000000fff2c0703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #34 0x000000fff2c08224 llvm::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 0x000000fff2c08224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x000000fff2c08224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #37 0x000000fff2c0c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x000000fff2c0c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x000000fff2c0c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x000000fff2c0c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x000000fff2c0c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x000000fff0e4e978 __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 0x000000fff0e4e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x000000fff0e4e978 void clang::finalize>, 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 0x000000fff0e4e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x000000fff26c7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #47 0x000000fff2683354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #48 0x000000fff2683354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #49 0x000000fff2683354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #50 0x000000fff27179a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #51 0x000000aaabc05c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x000000aaabc09b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x000000aaabc0b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x000000aaabc02034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x000000ffe94408c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #56 0x000000ffe94409cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #57 0x000000aaabc020a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/conversion.c.script: line 1: 3876963 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/copypaste/asm.cpp (565 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/asm.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe835ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe835cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe835f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff1b0648 (linux-vdso.so.1+0x648) #4 0x000000fff0aac9e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0aac9e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0aac9e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0aac9e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000fff0aac9e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000fff0aac9e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000fff0a14278 llvm::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 0x000000fff0a14278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000fff0a14278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000fff0a14278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000fff0a1bd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #15 0x000000fff0a1bd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #16 0x000000fff0a1bd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #17 0x000000fff0a1bd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #18 0x000000fff0a1bd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #19 0x000000fff0a1bd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #20 0x000000fff0a1bd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #21 0x000000fff0a1bd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #22 0x000000fff0a1bd94 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 #23 0x000000fff0a1d65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff0a1d780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #25 0x000000fff0a1da58 clang::ento::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 #26 0x000000fff0a1dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000fff0a1dc70 clang::ento::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 0x000000fff0d2b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000fff0d2b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000fff0d2b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000fff0d2b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000fff0d2b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000fff0d2c224 llvm::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 0x000000fff0d2c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000fff0d2c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000fff0d30604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000fff0d30604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000fff0d30604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000fff0d30604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000fff0d30604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000ffeef72978 __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 0x000000ffeef72978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x000000ffeef72978 void clang::finalize>, 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 0x000000ffeef72978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x000000fff07ebb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x000000fff07a7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x000000fff07a7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x000000fff07a7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x000000fff083b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #50 0x000000aaadf95c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x000000aaadf99b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x000000aaadf9b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x000000aaadf92034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x000000ffe75648c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #55 0x000000ffe75649cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #56 0x000000aaadf920a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/asm.cpp.script: line 1: 3877114 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/asm.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/autogenerated_automoc.cpp (566 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/autogenerated_automoc.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe957ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe957cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe957f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff304648 (linux-vdso.so.1+0x648) #4 0x000000fff2031388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2031388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2031388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2031388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2031388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2031388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2031388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2031388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff1ca83a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff1ca83a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff1ca83a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff1ca83a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff1ca83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff1ca83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff1ca83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff1ca83a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1cabdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1cabdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1cabdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1cabdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1c9f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1c9f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1c9f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff1cad3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff1cad3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff1cad3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1c9fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1c9fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1c9fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff1cb83b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff1cb83b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff1cb83b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff1cbf1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff1cbf1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff1cbf1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1c1a138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1c1a138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1c1a138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1c1a138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1c1a688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff1c1a688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff1c1a688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff1c819ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff1c819ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff1c819ac clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff1c819ac clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #50 0x000000fff1c34d50 clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1318:0 #51 0x000000fff1c3d6a8 clang::ento::ExprEngine::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 #52 0x000000fff1c3d87c clang::ento::CoreEngine::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 0x000000fff1c3dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #54 0x000000fff1c3dc70 clang::ento::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 0x000000fff1f4b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff1f4b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff1f4b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff1f4b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff1f4b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff1f4c224 llvm::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 0x000000fff1f4c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff1f4c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff1f50604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff1f50604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff1f50604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff1f50604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff1f50604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000fff0192978 __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 0x000000fff0192978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000fff0192978 void clang::finalize>, 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 0x000000fff0192978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff1a0bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff19c7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff19c7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff19c7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff1a5b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaab6f1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaab6f5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaab6f7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaab6ee034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe87848c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe87849cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaab6ee0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/autogenerated_automoc.cpp.script: line 1: 3877247 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/call.cpp (567 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/call.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6b6abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6b68c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6b6b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd078648 (linux-vdso.so.1+0x648) #4 0x000000ffef223664 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000ffef223664 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffef223664 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffef223664 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffef223664 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffef223664 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000ffef223664 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000ffef223664 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 0x000000ffef22408c 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 0x000000ffef229a18 clang::ento::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 0x000000ffef229c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x000000ffef229c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x000000ffef53703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x000000ffef53703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x000000ffef53703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x000000ffef53703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x000000ffef53703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x000000ffef538224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x000000ffef538224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x000000ffef538224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x000000ffef53c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x000000ffef53c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x000000ffef53c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x000000ffef53c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x000000ffef53c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x000000ffed77e978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x000000ffed77e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x000000ffed77e978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x000000ffed77e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x000000ffeeff7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x000000ffeefb3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x000000ffeefb3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x000000ffeefb3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x000000ffef0479a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000000aaadba9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000000aaadbadb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000000aaadbaf234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000000aaadba6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x000000ffe5d708c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #43 0x000000ffe5d709cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #44 0x000000aaadba60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/call.cpp.script: line 1: 3877317 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/call.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/clone-begin-end-different-file.cpp (568 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/clone-begin-end-different-file.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe938abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9388c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe938b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd7c4648 (linux-vdso.so.1+0x648) #4 0x000000fff1e3d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1e3d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1e3d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1e3d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1e3d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1e3d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1e3d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1e3d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff1ab43a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff1ab43a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff1ab43a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff1ab43a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff1ab43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff1ab43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff1ab43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff1ab43a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1ab7dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1ab7dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1ab7dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1ab7dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1aab430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1aab430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1aab430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff1ab93b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff1ab93b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff1ab93b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1aabd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1aabd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1aabd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff1ac43b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff1ac43b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff1ac43b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff1acb1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff1acb1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff1acb1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1a260e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1a260e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1a260e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1a260e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff1a3be4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff1a3be4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff1a3be4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000fff1a3be4c 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:0 #47 0x000000fff1a47b90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000fff1a47b90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000fff1a47b90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000fff1a47b90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000fff1a47b90 clang::ento::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 #52 0x000000fff1a47e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000fff1a4965c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000fff1a4987c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000fff1a49c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000fff1a49c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000fff1d5703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff1d5703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff1d5703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000fff1d5703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000fff1d5703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000fff1d58224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000fff1d58224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000fff1d58224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000fff1d5c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000fff1d5c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000fff1d5c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000fff1d5c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000fff1d5c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000ffeff9e978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000ffeff9e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000ffeff9e978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000ffeff9e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000fff1817b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000fff17d3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000fff17d3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000fff17d3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000fff18679a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaad645c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaad649b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaad64b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaad642034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe85908c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe85909cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaad6420a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/clone-begin-end-different-file.cpp.script: line 1: 3877391 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/attributes.cpp (570 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/attributes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe885abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8858c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe885b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc03c648 (linux-vdso.so.1+0x648) #4 0x000000fff130d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff130d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff130d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff130d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff130d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff130d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff130d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff130d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff0f843a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff0f843a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff0f843a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff0f843a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff0f843a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff0f843a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff0f843a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff0f843a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0f89068 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0f89068 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0f89068 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0f89068 (anonymous namespace)::RangeConstraintManager::assumeSymWithinInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3224:34 #24 0x000000fff0f7ba38 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0f7ba38 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0f7ba38 clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:129:64 #27 0x000000fff0f7bf54 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0f7bf54 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0f7bf54 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #30 0x000000fff0ef6808 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x000000fff0ef6808 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x000000fff0ef6808 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:0 #33 0x000000fff0ef6808 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #34 0x000000fff0f147b8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #35 0x000000fff0f147b8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #36 0x000000fff0f147b8 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:0 #37 0x000000fff0f147b8 clang::ento::ExprEngine::processSwitch(clang::ento::SwitchNodeBuilder&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3004:0 #38 0x000000fff0f14c18 clang::ento::CoreEngine::HandleBlockExit(clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:422:0 #39 0x000000fff0f19c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #40 0x000000fff0f19c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #41 0x000000fff122703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #42 0x000000fff122703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #43 0x000000fff122703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #44 0x000000fff122703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #45 0x000000fff122703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #46 0x000000fff1228224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #47 0x000000fff1228224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #48 0x000000fff1228224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #49 0x000000fff122c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #50 0x000000fff122c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #51 0x000000fff122c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #52 0x000000fff122c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #53 0x000000fff122c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #54 0x000000ffef46e978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #55 0x000000ffef46e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #56 0x000000ffef46e978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #57 0x000000ffef46e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #58 0x000000fff0ce7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #59 0x000000fff0ca3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #60 0x000000fff0ca3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #61 0x000000fff0ca3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #62 0x000000fff0d379a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #63 0x000000aaad329c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #64 0x000000aaad32db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #65 0x000000aaad32f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #66 0x000000aaad326034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #67 0x000000ffe7a608c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #68 0x000000ffe7a609cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #69 0x000000aaad3260a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/attributes.cpp.script: line 1: 3877224 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/attributes.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/catch.cpp (573 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/catch.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9242bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9240c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe92433d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc050648 (linux-vdso.so.1+0x648) #4 0x000000fff19909e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff19909e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff19909e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff19909e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000fff19909e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000fff19909e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000fff18f8278 llvm::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 0x000000fff18f8278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000fff18f8278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000fff18f8278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000fff18ffd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #15 0x000000fff18ffd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #16 0x000000fff18ffd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #17 0x000000fff18ffd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #18 0x000000fff18ffd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #19 0x000000fff18ffd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #20 0x000000fff18ffd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #21 0x000000fff18ffd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #22 0x000000fff18ffd94 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 #23 0x000000fff190165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff1901780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #25 0x000000fff1901a58 clang::ento::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 #26 0x000000fff1901c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000fff1901c70 clang::ento::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 0x000000fff1c0f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000fff1c0f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000fff1c0f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000fff1c0f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000fff1c0f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000fff1c10224 llvm::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 0x000000fff1c10224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000fff1c10224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000fff1c14604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000fff1c14604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000fff1c14604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000fff1c14604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000fff1c14604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000ffefe56978 __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 0x000000ffefe56978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x000000ffefe56978 void clang::finalize>, 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 0x000000ffefe56978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x000000fff16cfb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x000000fff168b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x000000fff168b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x000000fff168b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x000000fff171f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #50 0x000000aaaaf71c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x000000aaaaf75b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x000000aaaaf77234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x000000aaaaf6e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x000000ffe84488c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #55 0x000000ffe84489cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #56 0x000000aaaaf6e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/catch.cpp.script: line 1: 3877325 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/delete.cpp (576 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/delete.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe742ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe742cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe742f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcf14648 (linux-vdso.so.1+0x648) #4 0x000000ffefb7c9e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffefb7c9e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffefb7c9e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffefb7c9e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000ffefb7c9e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000ffefb7c9e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000ffefae4278 llvm::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 0x000000ffefae4278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000ffefae4278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000ffefae4278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000ffefaebd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #15 0x000000ffefaebd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #16 0x000000ffefaebd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #17 0x000000ffefaebd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #18 0x000000ffefaebd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #19 0x000000ffefaebd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #20 0x000000ffefaebd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #21 0x000000ffefaebd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #22 0x000000ffefaebd94 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 #23 0x000000ffefaed65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffefaed780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #25 0x000000ffefaeda58 clang::ento::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 #26 0x000000ffefaedc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000ffefaedc70 clang::ento::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 0x000000ffefdfb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000ffefdfb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000ffefdfb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000ffefdfb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000ffefdfb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000ffefdfc224 llvm::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 0x000000ffefdfc224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000ffefdfc224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000ffefe00604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000ffefe00604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000ffefe00604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000ffefe00604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000ffefe00604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000ffee042978 __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 0x000000ffee042978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x000000ffee042978 void clang::finalize>, 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 0x000000ffee042978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x000000ffef8bbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x000000ffef877354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x000000ffef877354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x000000ffef877354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x000000ffef90b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #50 0x000000aaaddcdc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x000000aaaddd1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x000000aaaddd3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x000000aaaddca034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x000000ffe66348c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #55 0x000000ffe66349cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #56 0x000000aaaddca0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/delete.cpp.script: line 1: 3877739 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/delete.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/dbus_autogenerated.cpp (577 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/dbus_autogenerated.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8aaabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8aa8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8aab3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffee24648 (linux-vdso.so.1+0x648) #4 0x000000fff155d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff155d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff155d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff155d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff155d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff155d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff155d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff155d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff11d43a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff11d43a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff11d43a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff11d43a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff11d43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff11d43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff11d43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff11d43a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff11d7dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff11d7dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff11d7dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff11d7dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff11cb430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff11cb430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff11cb430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff11d93b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff11d93b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff11d93b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff11cbd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff11cbd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff11cbd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff11e43b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff11e43b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff11e43b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff11eb1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff11eb1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff11eb1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1146138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1146138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1146138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1146138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1146688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff1146688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff1146688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff11ad9ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff11ad9ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff11ad9ac clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff11ad9ac clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #50 0x000000fff1160d50 clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1318:0 #51 0x000000fff11696a8 clang::ento::ExprEngine::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 #52 0x000000fff116987c clang::ento::CoreEngine::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 0x000000fff1169c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #54 0x000000fff1169c70 clang::ento::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 0x000000fff147703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff147703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff147703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff147703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff147703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff1478224 llvm::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 0x000000fff1478224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff1478224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff147c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff147c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff147c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff147c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff147c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffef6be978 __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 0x000000ffef6be978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffef6be978 void clang::finalize>, 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 0x000000ffef6be978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff0f37b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff0ef3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff0ef3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff0ef3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff0f879a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaabfddc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaabfe1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaabfe3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaabfda034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe7cb08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe7cb09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaabfda0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/dbus_autogenerated.cpp.script: line 1: 3877720 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern="moc_|dbus_|.*_automoc" -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/dbus_autogenerated.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/expr-types.cpp (579 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/expr-types.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7292bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7290c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe72933d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe908648 (linux-vdso.so.1+0x648) #4 0x000000ffefd45388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffefd45388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffefd45388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffefd45388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffefd45388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffefd45388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffefd45388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffefd45388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef9bc800 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef9bc800 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef9bc800 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x000000ffef9bc800 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x000000ffef9bc800 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef9bc800 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef9bc800 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef9bc800 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef9bfaec llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef9bfaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef9bfaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef9bfaec (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:31 #24 0x000000ffef9be65c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef9be65c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef9be65c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000ffef9b3d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef9b3d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef9b3d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #30 0x000000ffef9cc3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #31 0x000000ffef9cc3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #32 0x000000ffef9cc3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #33 0x000000ffef9d31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x000000ffef9d31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x000000ffef9d31d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #36 0x000000ffef92e0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef92e0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef92e0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #39 0x000000ffef92e0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #40 0x000000ffef943e4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #41 0x000000ffef943e4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #42 0x000000ffef943e4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #43 0x000000ffef943e4c 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:0 #44 0x000000ffef94fb90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #45 0x000000ffef94fb90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #46 0x000000ffef94fb90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #47 0x000000ffef94fb90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #48 0x000000ffef94fb90 clang::ento::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 #49 0x000000ffef94fe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #50 0x000000ffef95165c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #51 0x000000ffef95187c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #52 0x000000ffef951c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #53 0x000000ffef951c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #54 0x000000ffefc5f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #55 0x000000ffefc5f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x000000ffefc5f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #57 0x000000ffefc5f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #58 0x000000ffefc5f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #59 0x000000ffefc60224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #60 0x000000ffefc60224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #61 0x000000ffefc60224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #62 0x000000ffefc64604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x000000ffefc64604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x000000ffefc64604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #65 0x000000ffefc64604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #66 0x000000ffefc64604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #67 0x000000ffedea6978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #68 0x000000ffedea6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #69 0x000000ffedea6978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #70 0x000000ffedea6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #71 0x000000ffef71fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #72 0x000000ffef6db354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #73 0x000000ffef6db354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #74 0x000000ffef6db354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #75 0x000000ffef76f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #76 0x000000aaad3adc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #77 0x000000aaad3b1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #78 0x000000aaad3b3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #79 0x000000aaad3aa034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #80 0x000000ffe64988c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #81 0x000000ffe64989cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #82 0x000000aaad3aa0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/expr-types.cpp.script: line 1: 3877871 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/dependent-exist.cpp (580 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/dependent-exist.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7472bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7470c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe74733d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe73c648 (linux-vdso.so.1+0x648) #4 0x000000ffefbc09e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffefbc09e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffefbc09e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffefbc09e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000ffefbc09e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000ffefbc09e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000ffefb28278 llvm::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 0x000000ffefb28278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000ffefb28278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000ffefb28278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000ffefb2fd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #15 0x000000ffefb2fd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #16 0x000000ffefb2fd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #17 0x000000ffefb2fd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #18 0x000000ffefb2fd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #19 0x000000ffefb2fd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #20 0x000000ffefb2fd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #21 0x000000ffefb2fd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #22 0x000000ffefb2fd94 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 #23 0x000000ffefb3165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffefb31780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #25 0x000000ffefb31a58 clang::ento::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 #26 0x000000ffefb31c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000ffefb31c70 clang::ento::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 0x000000ffefe3f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000ffefe3f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000ffefe3f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000ffefe3f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000ffefe3f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000ffefe40224 llvm::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 0x000000ffefe40224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000ffefe40224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000ffefe44604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000ffefe44604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000ffefe44604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000ffefe44604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000ffefe44604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000ffee086978 __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 0x000000ffee086978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x000000ffee086978 void clang::finalize>, 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 0x000000ffee086978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x000000ffef8ffb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x000000ffef8bb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x000000ffef8bb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x000000ffef8bb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x000000ffef94f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #50 0x000000aaad0fdc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x000000aaad101b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x000000aaad103234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x000000aaad0fa034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x000000ffe66788c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #55 0x000000ffe66789cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #56 0x000000aaad0fa0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/dependent-exist.cpp.script: line 1: 3877745 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/labels.cpp (581 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/labels.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe784abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7848c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe784b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffec90648 (linux-vdso.so.1+0x648) #4 0x000000fff02fd388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff02fd388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff02fd388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff02fd388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff02fd388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff02fd388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff02fd388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff02fd388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffeff743a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffeff743a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffeff743a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffeff743a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffeff743a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffeff743a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffeff743a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffeff743a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffeff77dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffeff77dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffeff77dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffeff77dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffeff6b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffeff6b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffeff6b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffeff793b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffeff793b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffeff793b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffeff6bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffeff6bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffeff6bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffeff843b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffeff843b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffeff843b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffeff8b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffeff8b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffeff8b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffefee6138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffefee6138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffefee6138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffefee6138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffefefbe4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffefefbe4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffefefbe4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000ffefefbe4c 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:0 #47 0x000000ffeff07b90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000ffeff07b90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000ffeff07b90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000ffeff07b90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000ffeff07b90 clang::ento::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 #52 0x000000ffeff07e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000ffeff0965c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000ffeff0987c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000ffeff09c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000ffeff09c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000fff021703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff021703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff021703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000fff021703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000fff021703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000fff0218224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000fff0218224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000fff0218224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000fff021c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000fff021c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000fff021c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000fff021c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000fff021c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000ffee45e978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000ffee45e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000ffee45e978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000ffee45e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000ffefcd7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000ffefc93354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000ffefc93354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000ffefc93354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000ffefd279a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaae331c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaae335b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaae337234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaae32e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe6a508c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe6a509cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaae32e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/labels.cpp.script: line 1: 3879022 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/functions.cpp (584 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/functions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe748ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe748cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe748f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd368648 (linux-vdso.so.1+0x648) #4 0x000000ffeff41388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffeff41388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffeff41388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffeff41388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffeff41388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffeff41388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffeff41388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffeff41388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffefbb8800 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffefbb8800 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffefbb8800 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x000000ffefbb8800 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x000000ffefbb8800 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffefbb8800 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffefbb8800 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffefbb8800 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffefbbbaec llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffefbbbaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffefbbbaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffefbbbaec (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:31 #24 0x000000ffefbba65c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffefbba65c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffefbba65c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000ffefbafd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffefbafd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffefbafd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #30 0x000000ffefbc83b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #31 0x000000ffefbc83b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #32 0x000000ffefbc83b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #33 0x000000ffefbcf1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x000000ffefbcf1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x000000ffefbcf1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #36 0x000000ffefb2a0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffefb2a0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffefb2a0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #39 0x000000ffefb2a0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #40 0x000000ffefb3fe4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #41 0x000000ffefb3fe4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #42 0x000000ffefb3fe4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #43 0x000000ffefb3fe4c 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:0 #44 0x000000ffefb4bb90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #45 0x000000ffefb4bb90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #46 0x000000ffefb4bb90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #47 0x000000ffefb4bb90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #48 0x000000ffefb4bb90 clang::ento::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 #49 0x000000ffefb4be0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #50 0x000000ffefb4d65c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #51 0x000000ffefb4d87c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #52 0x000000ffefb4dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #53 0x000000ffefb4dc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #54 0x000000ffefe5b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #55 0x000000ffefe5b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x000000ffefe5b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #57 0x000000ffefe5b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #58 0x000000ffefe5b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #59 0x000000ffefe5c224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #60 0x000000ffefe5c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #61 0x000000ffefe5c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #62 0x000000ffefe60604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x000000ffefe60604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x000000ffefe60604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #65 0x000000ffefe60604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #66 0x000000ffefe60604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #67 0x000000ffee0a2978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #68 0x000000ffee0a2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #69 0x000000ffee0a2978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #70 0x000000ffee0a2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #71 0x000000ffef91bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #72 0x000000ffef8d7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #73 0x000000ffef8d7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #74 0x000000ffef8d7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #75 0x000000ffef96b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #76 0x000000aaab545c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #77 0x000000aaab549b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #78 0x000000aaab54b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #79 0x000000aaab542034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #80 0x000000ffe66948c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #81 0x000000ffe66949cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #82 0x000000aaab5420a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/functions.cpp.script: line 1: 3878824 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/generic.c (585 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/generic.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe717abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7178c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe717b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd068648 (linux-vdso.so.1+0x648) #4 0x000000ffef8c89e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef8c89e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef8c89e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef8c89e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000ffef8c89e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000ffef8c89e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000ffef830278 llvm::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 0x000000ffef830278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000ffef830278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000ffef830278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000ffef837d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #15 0x000000ffef837d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #16 0x000000ffef837d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #17 0x000000ffef837d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #18 0x000000ffef837d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #19 0x000000ffef837d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #20 0x000000ffef837d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #21 0x000000ffef837d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #22 0x000000ffef837d94 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 #23 0x000000ffef83965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef839780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #25 0x000000ffef839a58 clang::ento::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 #26 0x000000ffef839c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000ffef839c70 clang::ento::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 0x000000ffefb4703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000ffefb4703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000ffefb4703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000ffefb4703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000ffefb4703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000ffefb48224 llvm::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 0x000000ffefb48224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000ffefb48224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000ffefb4c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000ffefb4c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000ffefb4c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000ffefb4c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000ffefb4c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000ffedd8e978 __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 0x000000ffedd8e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x000000ffedd8e978 void clang::finalize>, 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 0x000000ffedd8e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x000000ffef607b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x000000ffef5c3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x000000ffef5c3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x000000ffef5c3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x000000ffef6579a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #50 0x000000aaab27dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x000000aaab281b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x000000aaab283234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x000000aaab27a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x000000ffe63808c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #55 0x000000ffe63809cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #56 0x000000aaab27a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/generic.c.script: line 1: 3878970 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/lambda.cpp (587 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/lambda.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8876bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8874c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe88773d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd1c8648 (linux-vdso.so.1+0x648) #4 0x000000fff1329388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1329388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1329388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1329388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1329388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1329388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1329388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1329388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff0fa03a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff0fa03a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff0fa03a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff0fa03a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff0fa03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff0fa03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff0fa03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff0fa03a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0fa3dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0fa3dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0fa3dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0fa3dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0f97430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0f97430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0f97430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff0fa53b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0fa53b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0fa53b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0f97d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0f97d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0f97d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff0fb03b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff0fb03b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff0fb03b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff0fb71d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff0fb71d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff0fb71d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0f12138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0f12138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0f12138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0f12138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff0f12688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff0f12688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff0f12688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff0edab4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff0edab4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff0edab4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff0f26674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff0f26674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff0f26674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000fff0f36010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff0f36010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff0f36010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff124303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff124303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff124303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff124303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff124303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff1244224 llvm::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 0x000000fff1244224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff1244224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff1248604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff1248604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff1248604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff1248604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff1248604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffef48a978 __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 0x000000ffef48a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffef48a978 void clang::finalize>, 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 0x000000ffef48a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff0d03b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff0cbf354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff0cbf354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff0cbf354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff0d539a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaae025c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaae029b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaae02b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaae022034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe7a7c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe7a7c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaae0220a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/lambda.cpp.script: line 1: 3879116 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/lambda.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/macro-complexity.cpp (588 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/macro-complexity.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8122bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8120c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe81233d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffec18648 (linux-vdso.so.1+0x648) #4 0x000000fff0bd5388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0bd5388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0bd5388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0bd5388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0bd5388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0bd5388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0bd5388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0bd5388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff084c800 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff084c800 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff084c800 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x000000fff084c800 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x000000fff084c800 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff084c800 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff084c800 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff084c800 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff084faec llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff084faec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff084faec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff084faec (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:31 #24 0x000000fff084e65c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff084e65c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff084e65c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000fff0843d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0843d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0843d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #30 0x000000fff085c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #31 0x000000fff085c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #32 0x000000fff085c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #33 0x000000fff08631d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x000000fff08631d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x000000fff08631d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #36 0x000000fff07be0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff07be0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff07be0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #39 0x000000fff07be0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #40 0x000000fff07d3e4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #41 0x000000fff07d3e4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #42 0x000000fff07d3e4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #43 0x000000fff07d3e4c 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:0 #44 0x000000fff07dfb90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #45 0x000000fff07dfb90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #46 0x000000fff07dfb90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #47 0x000000fff07dfb90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #48 0x000000fff07dfb90 clang::ento::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 #49 0x000000fff07dfe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #50 0x000000fff07e165c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #51 0x000000fff07e187c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #52 0x000000fff07e1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #53 0x000000fff07e1c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #54 0x000000fff0aef03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #55 0x000000fff0aef03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x000000fff0aef03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #57 0x000000fff0aef03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #58 0x000000fff0aef03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #59 0x000000fff0af0224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #60 0x000000fff0af0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #61 0x000000fff0af0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #62 0x000000fff0af4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x000000fff0af4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x000000fff0af4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #65 0x000000fff0af4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #66 0x000000fff0af4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #67 0x000000ffeed36978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #68 0x000000ffeed36978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #69 0x000000ffeed36978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #70 0x000000ffeed36978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #71 0x000000fff05afb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #72 0x000000fff056b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #73 0x000000fff056b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #74 0x000000fff056b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #75 0x000000fff05ff9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #76 0x000000aaaaf41c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #77 0x000000aaaaf45b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #78 0x000000aaaaf47234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #79 0x000000aaaaf3e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #80 0x000000ffe73288c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #81 0x000000ffe73289cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #82 0x000000aaaaf3e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/macro-complexity.cpp.script: line 1: 3879481 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/not-autogenerated.cpp (590 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/not-autogenerated.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6c22bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6c20c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6c233d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc514648 (linux-vdso.so.1+0x648) #4 0x000000ffef6d5388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef6d5388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef6d5388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef6d5388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef6d5388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef6d5388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef6d5388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef6d5388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef34c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef34c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef34c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef34c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef34c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef34c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef34c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef34c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef34fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef34fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef34fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef34fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef343430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef343430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef343430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef3513b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef3513b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef3513b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef343d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef343d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef343d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef35c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef35c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef35c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef3631d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef3631d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef3631d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef2be138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef2be138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef2be138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef2be138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffef2be688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffef2be688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffef2be688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000ffef3259ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000ffef3259ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000ffef3259ac clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000ffef3259ac clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #50 0x000000ffef2d8d50 clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1318:0 #51 0x000000ffef2e16a8 clang::ento::ExprEngine::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 #52 0x000000ffef2e187c clang::ento::CoreEngine::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 0x000000ffef2e1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #54 0x000000ffef2e1c70 clang::ento::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 0x000000ffef5ef03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000ffef5ef03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000ffef5ef03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000ffef5ef03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000ffef5ef03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000ffef5f0224 llvm::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 0x000000ffef5f0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000ffef5f0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000ffef5f4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000ffef5f4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000ffef5f4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000ffef5f4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000ffef5f4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffed836978 __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 0x000000ffed836978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffed836978 void clang::finalize>, 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 0x000000ffed836978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000ffef0afb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000ffef06b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000ffef06b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000ffef06b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000ffef0ff9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaae5fdc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaae601b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaae603234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaae5fa034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe5e288c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe5e289cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaae5fa0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/not-autogenerated.cpp.script: line 1: 3880289 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/moc_autogenerated.cpp (591 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/moc_autogenerated.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe97cebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe97ccc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe97cf3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffab8648 (linux-vdso.so.1+0x648) #4 0x000000fff2281388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2281388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2281388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2281388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2281388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2281388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2281388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2281388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff1ef83a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff1ef83a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff1ef83a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff1ef83a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff1ef83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff1ef83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff1ef83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff1ef83a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1efbdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1efbdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1efbdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1efbdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1eef430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1eef430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1eef430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff1efd3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff1efd3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff1efd3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1eefd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1eefd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1eefd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff1f083b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff1f083b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff1f083b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff1f0f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff1f0f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff1f0f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1e6a138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1e6a138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1e6a138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1e6a138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1e6a688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff1e6a688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff1e6a688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff1ed19ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff1ed19ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff1ed19ac clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff1ed19ac clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #50 0x000000fff1e84d50 clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1318:0 #51 0x000000fff1e8d6a8 clang::ento::ExprEngine::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 #52 0x000000fff1e8d87c clang::ento::CoreEngine::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 0x000000fff1e8dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #54 0x000000fff1e8dc70 clang::ento::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 0x000000fff219b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff219b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff219b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff219b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff219b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff219c224 llvm::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 0x000000fff219c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff219c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff21a0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff21a0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff21a0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff21a0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff21a0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000fff03e2978 __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 0x000000fff03e2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000fff03e2978 void clang::finalize>, 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 0x000000fff03e2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff1c5bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff1c17354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff1c17354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff1c17354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff1cab9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaaad21c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaaad25b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaaad27234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaaad1e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe89d48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe89d49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaaad1e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/moc_autogenerated.cpp.script: line 1: 3880280 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern="moc_|.*_automoc" -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/moc_autogenerated.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/plist-diagnostics.cpp (592 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/plist-diagnostics.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe8f9ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8f9cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8f9f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffdefc648 (linux-vdso.so.1+0x648) #4 0x000000fff1a51388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1a51388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1a51388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1a51388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1a51388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1a51388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1a51388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1a51388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff16c8800 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff16c8800 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff16c8800 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x000000fff16c8800 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x000000fff16c8800 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff16c8800 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff16c8800 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff16c8800 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff16cbaec llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff16cbaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff16cbaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff16cbaec (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:31 #24 0x000000fff16ca65c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff16ca65c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff16ca65c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000fff16bfd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff16bfd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff16bfd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #30 0x000000fff16d83b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #31 0x000000fff16d83b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #32 0x000000fff16d83b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #33 0x000000fff16df1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x000000fff16df1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x000000fff16df1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #36 0x000000fff163a0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff163a0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff163a0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #39 0x000000fff163a0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #40 0x000000fff164fe4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #41 0x000000fff164fe4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #42 0x000000fff164fe4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #43 0x000000fff164fe4c 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:0 #44 0x000000fff165bb90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #45 0x000000fff165bb90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #46 0x000000fff165bb90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #47 0x000000fff165bb90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #48 0x000000fff165bb90 clang::ento::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 #49 0x000000fff165be0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #50 0x000000fff165d65c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #51 0x000000fff165d87c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #52 0x000000fff165dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #53 0x000000fff165dc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #54 0x000000fff196b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #55 0x000000fff196b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x000000fff196b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #57 0x000000fff196b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #58 0x000000fff196b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #59 0x000000fff196c224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #60 0x000000fff196c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #61 0x000000fff196c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #62 0x000000fff1970604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x000000fff1970604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x000000fff1970604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #65 0x000000fff1970604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #66 0x000000fff1970604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #67 0x000000ffefbb2978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #68 0x000000ffefbb2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #69 0x000000ffefbb2978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #70 0x000000ffefbb2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #71 0x000000fff142bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #72 0x000000fff13e7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #73 0x000000fff13e7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #74 0x000000fff13e7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #75 0x000000fff147b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #76 0x000000aaaae85c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #77 0x000000aaaae89b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #78 0x000000aaaae8b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #79 0x000000aaaae82034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #80 0x000000ffe81a48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #81 0x000000ffe81a49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #82 0x000000aaaae820a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/plist-diagnostics.cpp.script: line 2: 3881444 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/plist-diagnostics-notes-as-events.cpp (593 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/plist-diagnostics-notes-as-events.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe9d7abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9d78c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9d7b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff01c648 (linux-vdso.so.1+0x648) #4 0x000000fff282d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff282d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff282d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff282d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff282d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff282d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff282d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff282d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff24a4800 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff24a4800 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff24a4800 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x000000fff24a4800 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x000000fff24a4800 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff24a4800 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff24a4800 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff24a4800 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff24a7aec llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff24a7aec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff24a7aec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff24a7aec (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:31 #24 0x000000fff24a665c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff24a665c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff24a665c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000fff249bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff249bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff249bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #30 0x000000fff24b43b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #31 0x000000fff24b43b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #32 0x000000fff24b43b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #33 0x000000fff24bb1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x000000fff24bb1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x000000fff24bb1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #36 0x000000fff24160e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff24160e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff24160e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #39 0x000000fff24160e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #40 0x000000fff242be4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #41 0x000000fff242be4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #42 0x000000fff242be4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #43 0x000000fff242be4c 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:0 #44 0x000000fff2437b90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #45 0x000000fff2437b90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #46 0x000000fff2437b90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #47 0x000000fff2437b90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #48 0x000000fff2437b90 clang::ento::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 #49 0x000000fff2437e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #50 0x000000fff243965c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #51 0x000000fff243987c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #52 0x000000fff2439c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #53 0x000000fff2439c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #54 0x000000fff274703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #55 0x000000fff274703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x000000fff274703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #57 0x000000fff274703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #58 0x000000fff274703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #59 0x000000fff2748224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #60 0x000000fff2748224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #61 0x000000fff2748224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #62 0x000000fff274c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x000000fff274c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x000000fff274c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #65 0x000000fff274c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #66 0x000000fff274c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #67 0x000000fff098e978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #68 0x000000fff098e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #69 0x000000fff098e978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #70 0x000000fff098e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #71 0x000000fff2207b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #72 0x000000fff21c3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #73 0x000000fff21c3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #74 0x000000fff21c3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #75 0x000000fff22579a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #76 0x000000aaae365c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #77 0x000000aaae369b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #78 0x000000aaae36b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #79 0x000000aaae362034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #80 0x000000ffe8f808c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #81 0x000000ffe8f809cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #82 0x000000aaae3620a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/plist-diagnostics-notes-as-events.cpp.script: line 2: 3880930 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/objc-methods.m (594 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/objc-methods.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe957ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe957cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe957f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc6f8648 (linux-vdso.so.1+0x648) #4 0x000000fff2031388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2031388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2031388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2031388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2031388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2031388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2031388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2031388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff1ca83a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff1ca83a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff1ca83a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff1ca83a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff1ca83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff1ca83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff1ca83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff1ca83a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1cabdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1cabdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1cabdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1cabdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1c9f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1c9f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1c9f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff1cad3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff1cad3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff1cad3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1c9fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1c9fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1c9fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff1cb83b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff1cb83b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff1cb83b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff1cbf1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff1cbf1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff1cbf1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1c1a138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1c1a138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1c1a138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1c1a138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1c1a688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff1c1a688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff1c1a688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff1be2b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff1be2b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff1be2b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff1c2e6c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff1c2e6c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff1c2e6c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000fff1c3e010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff1c3e010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff1c3e010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff1f4b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff1f4b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff1f4b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff1f4b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff1f4b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff1f4c224 llvm::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 0x000000fff1f4c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff1f4c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff1f50604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff1f50604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff1f50604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff1f50604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff1f50604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000fff0192978 __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 0x000000fff0192978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000fff0192978 void clang::finalize>, 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 0x000000fff0192978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff1a0bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff19c7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff19c7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff19c7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff1a5b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaac861c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaac865b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaac867234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaac85e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe87848c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe87849cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaac85e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/objc-methods.m.script: line 1: 3880442 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/suspicious-clones.cpp (595 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/suspicious-clones.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/suspicious-clones.cpp -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:ReportNormalClones=false -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 1. parser at end of file 2. While analyzing stack: #0 Calling faultyBusyIncrement() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/suspicious-clones.cpp:49:9: Error evaluating branch #0 0x000000ffe6de6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6de4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6de73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff62c648 (linux-vdso.so.1+0x648) #4 0x000000ffef899388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef899388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef899388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef899388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef899388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef899388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef899388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef899388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef5103a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef5103a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef5103a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef5103a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef5103a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef5103a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef5103a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef5103a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef513dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef513dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef513dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef513dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef51265c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef51265c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef51265c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000ffef515444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef515444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef515444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000ffef507d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef507d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef507d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef5203b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef5203b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef5203b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef5271d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef5271d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef5271d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef482138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef482138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef482138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef482138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffef9d8114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000ffef9d8114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000ffef9d8114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000ffef493190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000ffef493190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000ffef493190 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:0 #49 0x000000ffef493190 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:0 #50 0x000000ffef493190 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:0 #51 0x000000ffef493190 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:0 #52 0x000000ffef493190 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:0 #53 0x000000ffef493190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000ffef493190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000ffef493190 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:0 #56 0x000000ffef4937ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000ffef4a5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000ffef4a5c70 clang::ento::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 0x000000ffef7b303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000ffef7b303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000ffef7b303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000ffef7b303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000ffef7b303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000ffef7b4224 llvm::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 0x000000ffef7b4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000ffef7b4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000ffef7b8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000ffef7b8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000ffef7b8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000ffef7b8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000ffef7b8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffed9fa978 __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 0x000000ffed9fa978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffed9fa978 void clang::finalize>, 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 0x000000ffed9fa978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000ffef273b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000ffef22f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000ffef22f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000ffef22f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000ffef2c39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaaae6dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaaae71b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaaae73234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaaae6a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe5fec8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe5fec9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaaae6a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/suspicious-clones.cpp.script: line 1: 3881563 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/text-diagnostics.cpp (596 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/text-diagnostics.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6706bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6704c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe67073d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc898648 (linux-vdso.so.1+0x648) #4 0x000000ffef1b9388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef1b9388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef1b9388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef1b9388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef1b9388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef1b9388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef1b9388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef1b9388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffeee30800 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffeee30800 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffeee30800 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x000000ffeee30800 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x000000ffeee30800 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffeee30800 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffeee30800 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffeee30800 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffeee33aec llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffeee33aec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffeee33aec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffeee33aec (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:31 #24 0x000000ffeee3265c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffeee3265c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffeee3265c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000ffeee27d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffeee27d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffeee27d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #30 0x000000ffeee403b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #31 0x000000ffeee403b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #32 0x000000ffeee403b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #33 0x000000ffeee471d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x000000ffeee471d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x000000ffeee471d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #36 0x000000ffeeda20e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffeeda20e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffeeda20e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #39 0x000000ffeeda20e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #40 0x000000ffeedb7e4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #41 0x000000ffeedb7e4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #42 0x000000ffeedb7e4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #43 0x000000ffeedb7e4c 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:0 #44 0x000000ffeedc3b90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #45 0x000000ffeedc3b90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #46 0x000000ffeedc3b90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #47 0x000000ffeedc3b90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #48 0x000000ffeedc3b90 clang::ento::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 #49 0x000000ffeedc3e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #50 0x000000ffeedc565c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #51 0x000000ffeedc587c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #52 0x000000ffeedc5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #53 0x000000ffeedc5c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #54 0x000000ffef0d303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #55 0x000000ffef0d303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x000000ffef0d303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #57 0x000000ffef0d303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #58 0x000000ffef0d303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #59 0x000000ffef0d4224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #60 0x000000ffef0d4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #61 0x000000ffef0d4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #62 0x000000ffef0d8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x000000ffef0d8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x000000ffef0d8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #65 0x000000ffef0d8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #66 0x000000ffef0d8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #67 0x000000ffed31a978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #68 0x000000ffed31a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #69 0x000000ffed31a978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #70 0x000000ffed31a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #71 0x000000ffeeb93b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #72 0x000000ffeeb4f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #73 0x000000ffeeb4f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #74 0x000000ffeeb4f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #75 0x000000ffeebe39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #76 0x000000aaae8b5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #77 0x000000aaae8b9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #78 0x000000aaae8bb234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #79 0x000000aaae8b2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #80 0x000000ffe590c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #81 0x000000ffe590c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #82 0x000000aaae8b20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/text-diagnostics.cpp.script: line 1: 3881671 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/text-diagnostics.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/ui_autogenerated.cpp (597 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/ui_autogenerated.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe847ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe847cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe847f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd128648 (linux-vdso.so.1+0x648) #4 0x000000fff0f31388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0f31388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0f31388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0f31388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0f31388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0f31388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0f31388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0f31388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff0ba83a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff0ba83a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff0ba83a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff0ba83a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff0ba83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff0ba83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff0ba83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff0ba83a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0babdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0babdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0babdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0babdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0b9f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0b9f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0b9f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff0bad3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0bad3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0bad3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0b9fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0b9fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0b9fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff0bb83b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff0bb83b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff0bb83b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff0bbf1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff0bbf1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff0bbf1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0b1a138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0b1a138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0b1a138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0b1a138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff0b1a688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff0b1a688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff0b1a688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff0b819ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff0b819ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff0b819ac clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff0b819ac clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #50 0x000000fff0b34d50 clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1318:0 #51 0x000000fff0b3d6a8 clang::ento::ExprEngine::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 #52 0x000000fff0b3d87c clang::ento::CoreEngine::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 0x000000fff0b3dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #54 0x000000fff0b3dc70 clang::ento::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 0x000000fff0e4b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff0e4b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff0e4b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff0e4b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff0e4b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff0e4c224 llvm::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 0x000000fff0e4c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff0e4c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff0e50604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff0e50604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff0e50604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff0e50604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff0e50604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffef092978 __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 0x000000ffef092978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffef092978 void clang::finalize>, 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 0x000000ffef092978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff090bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff08c7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff08c7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff08c7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff095b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaaab19c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaaab1db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaaab1f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaaab16034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe76848c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe76849cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaaab160a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/ui_autogenerated.cpp.script: line 1: 3881676 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/sub-sequences.cpp (598 of 19712) ******************** TEST 'Clang :: Analysis/copypaste/sub-sequences.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7f9abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7f98c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7f9b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffedc648 (linux-vdso.so.1+0x648) #4 0x000000fff0a4d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0a4d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0a4d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0a4d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0a4d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0a4d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0a4d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0a4d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff06c4800 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff06c4800 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff06c4800 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x000000fff06c4800 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x000000fff06c4800 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff06c4800 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff06c4800 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff06c4800 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff06c7aec llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff06c7aec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff06c7aec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff06c7aec (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:31 #24 0x000000fff06c665c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff06c665c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff06c665c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000fff06bbd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff06bbd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff06bbd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #30 0x000000fff06d43b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #31 0x000000fff06d43b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #32 0x000000fff06d43b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #33 0x000000fff06db1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x000000fff06db1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x000000fff06db1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #36 0x000000fff06360e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff06360e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff06360e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #39 0x000000fff06360e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #40 0x000000fff064be4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #41 0x000000fff064be4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #42 0x000000fff064be4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #43 0x000000fff064be4c 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:0 #44 0x000000fff0657b90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #45 0x000000fff0657b90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #46 0x000000fff0657b90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #47 0x000000fff0657b90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #48 0x000000fff0657b90 clang::ento::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 #49 0x000000fff0657e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #50 0x000000fff065965c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #51 0x000000fff065987c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #52 0x000000fff0659c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #53 0x000000fff0659c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #54 0x000000fff096703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #55 0x000000fff096703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x000000fff096703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #57 0x000000fff096703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #58 0x000000fff096703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #59 0x000000fff0968224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #60 0x000000fff0968224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #61 0x000000fff0968224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #62 0x000000fff096c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x000000fff096c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x000000fff096c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #65 0x000000fff096c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #66 0x000000fff096c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #67 0x000000ffeebae978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #68 0x000000ffeebae978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #69 0x000000ffeebae978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #70 0x000000ffeebae978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #71 0x000000fff0427b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #72 0x000000fff03e3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #73 0x000000fff03e3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #74 0x000000fff03e3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #75 0x000000fff04779a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #76 0x000000aaac239c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #77 0x000000aaac23db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #78 0x000000aaac23f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #79 0x000000aaac236034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #80 0x000000ffe71a08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #81 0x000000ffe71a09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #82 0x000000aaac2360a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/sub-sequences.cpp.script: line 1: 3881529 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-syntax-cxx.cpp (600 of 19712) ******************** TEST 'Clang :: Analysis/cstring-syntax-cxx.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6c5abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6c58c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6c5b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc9c0648 (linux-vdso.so.1+0x648) #4 0x000000ffef2e4f7c retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000ffef2e4f7c retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffef2e4f7c retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffef2e4f7c IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffef2e4f7c ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffef2e4f7c MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000ffef2e4f7c get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000ffef2e4f7c 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 0x000000ffef33c97c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x000000ffef33c97c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x000000ffef33c97c 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 #15 0x000000ffef33d5dc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x000000ffef33d5dc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x000000ffef33d5dc 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 #18 0x000000ffef35aee0 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 #19 0x000000ffef316cdc clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #20 0x000000ffef316cdc clang::ento::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 #21 0x000000ffef317e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #22 0x000000ffef31965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef31987c clang::ento::CoreEngine::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 0x000000ffef319c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x000000ffef319c70 clang::ento::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 0x000000ffef62703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000ffef62703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000ffef62703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x000000ffef62703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x000000ffef62703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x000000ffef628224 llvm::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 0x000000ffef628224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x000000ffef628224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x000000ffef62c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x000000ffef62c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x000000ffef62c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x000000ffef62c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x000000ffef62c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x000000ffed86e978 __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 0x000000ffed86e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x000000ffed86e978 void clang::finalize>, 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 0x000000ffed86e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x000000ffef0e7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x000000ffef0a3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x000000ffef0a3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x000000ffef0a3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x000000ffef1379a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000000aaabcc1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000000aaabcc5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000000aaabcc7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000000aaabcbe034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x000000ffe5e608c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #53 0x000000ffe5e609cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #54 0x000000aaabcbe0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-syntax-cxx.cpp.script: line 1: 3882084 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-cxx.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cstring-syntax-weird2.c (601 of 19712) ******************** TEST 'Clang :: Analysis/cstring-syntax-weird2.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9082bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9080c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe90833d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff588648 (linux-vdso.so.1+0x648) #4 0x000000fff1b35388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1b35388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1b35388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1b35388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1b35388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1b35388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1b35388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1b35388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff17ac3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff17ac3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff17ac3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff17ac3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff17ac3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff17ac3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff17ac3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff17ac3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff17afdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff17afdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff17afdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff17afdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff17a3430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff17a3430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff17a3430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff17b13b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff17b13b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff17b13b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff17a3d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff17a3d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff17a3d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff17bc3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff17bc3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff17bc3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff17c31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff17c31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff17c31d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff171e0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff171e0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff171e0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff171e0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff1c7a41c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff1c7a41c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff1c7a41c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff1c7a41c (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:61 #47 0x000000fff1c7a4f4 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #48 0x000000fff1c7a4f4 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1324:25 #49 0x000000fff1c7a4f4 (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:56 #50 0x000000fff18000b0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #51 0x000000fff18000b0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #52 0x000000fff18000b0 (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 #53 0x000000fff17ebde8 std::_Function_base::~_Function_base() /usr/include/c++/12/bits/std_function.h:243:11 #54 0x000000fff17ebde8 ~function /usr/include/c++/12/bits/std_function.h:334:11 #55 0x000000fff17ebde8 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2516:1 #56 0x000000fff17ebde8 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 #57 0x000000fff171d588 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 0x000000fff1766440 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #59 0x000000fff1766440 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #60 0x000000fff1766440 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #61 0x000000fff1766440 clang::ento::ExprEngine::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 0x000000fff1766e4c clang::ento::ExprEngine::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 0x000000fff173ed1c clang::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 0x000000fff173ed1c clang::ento::ExprEngine::Visit(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 0x000000fff173fe0c clang::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 0x000000fff174165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff174187c clang::ento::CoreEngine::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 0x000000fff1741c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #69 0x000000fff1741c70 clang::ento::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 0x000000fff1a4f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #71 0x000000fff1a4f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #72 0x000000fff1a4f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #73 0x000000fff1a4f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #74 0x000000fff1a4f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #75 0x000000fff1a50224 llvm::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 0x000000fff1a50224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x000000fff1a50224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #78 0x000000fff1a54604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x000000fff1a54604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x000000fff1a54604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x000000fff1a54604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x000000fff1a54604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x000000ffefc96978 __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 0x000000ffefc96978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x000000ffefc96978 void clang::finalize>, 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 0x000000ffefc96978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x000000fff150fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #88 0x000000fff14cb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #89 0x000000fff14cb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #90 0x000000fff14cb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #91 0x000000fff155f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #92 0x000000aaae81dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x000000aaae821b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x000000aaae823234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x000000aaae81a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x000000ffe82888c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #97 0x000000ffe82889cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #98 0x000000aaae81a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-syntax-weird2.c.script: line 1: 3882096 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-weird2.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/cstring-plist.c (602 of 19712) ******************** TEST 'Clang :: Analysis/cstring-plist.c' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -f /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-plist.c.tmp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe8b2ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8b2cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8b2f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe0b0648 (linux-vdso.so.1+0x648) #4 0x000000fff15c57f4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff15c57f4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff15c57f4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff15c57f4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff15c57f4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff15c57f4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff15c57f4 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff15c57f4 (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 0x000000fff138dfc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x000000fff138dfc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x000000fff138dfc8 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 0x000000fff11bfa28 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x000000fff11bfa28 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x000000fff11bfa28 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:29 #18 0x000000fff11bfa28 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x000000fff126843c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x000000fff126843c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x000000fff126843c clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x000000fff126843c clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x000000fff126f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x000000fff126f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x000000fff126f1d4 clang::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 0x000000fff11ca230 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff11ca230 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff11ca230 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x000000fff11ca230 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:0 #30 0x000000fff1720114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1720114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1720114 clang::ento::ProgramState::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 0x000000fff13b0554 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x000000fff13b0554 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x000000fff13b0554 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x000000fff13b0554 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x000000fff13b0554 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x000000fff13b0554 (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 0x000000fff13b0a4c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #40 0x000000fff13b0a4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #41 0x000000fff13b0a4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #42 0x000000fff13b0a4c (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 #43 0x000000fff13bd610 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #44 0x000000fff13bd610 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 #45 0x000000fff11c0df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #46 0x000000fff11c0df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x000000fff11c0df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #48 0x000000fff11c0df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #49 0x000000fff11c0df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #50 0x000000fff1212500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #51 0x000000fff1212500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #52 0x000000fff1212500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #53 0x000000fff1212500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #54 0x000000fff1212e4c clang::ento::ExprEngine::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 0x000000fff11ead1c clang::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 0x000000fff11ead1c clang::ento::ExprEngine::Visit(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 0x000000fff11ebe0c clang::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 0x000000fff11ed65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff11ed87c clang::ento::CoreEngine::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 0x000000fff11edc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #61 0x000000fff11edc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #62 0x000000fff14fb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #63 0x000000fff14fb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #64 0x000000fff14fb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #65 0x000000fff14fb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #66 0x000000fff14fb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #67 0x000000fff14fc224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #68 0x000000fff14fc224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #69 0x000000fff14fc224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #70 0x000000fff1500604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x000000fff1500604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x000000fff1500604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #73 0x000000fff1500604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #74 0x000000fff1500604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #75 0x000000ffef742978 __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 0x000000ffef742978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #77 0x000000ffef742978 void clang::finalize>, 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 0x000000ffef742978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #79 0x000000fff0fbbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #80 0x000000fff0f77354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #81 0x000000fff0f77354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #82 0x000000fff0f77354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #83 0x000000fff100b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #84 0x000000aaac6d1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #85 0x000000aaac6d5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #86 0x000000aaac6d7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #87 0x000000aaac6ce034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #88 0x000000ffe7d348c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #89 0x000000ffe7d349cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #90 0x000000aaac6ce0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-plist.c.script: line 3: 3882036 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-plist.c.tmp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-plist.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/cstring-syntax-weird.c (603 of 19712) ******************** TEST 'Clang :: Analysis/cstring-syntax-weird.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe897abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8978c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe897b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff264648 (linux-vdso.so.1+0x648) #4 0x000000fff142d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff142d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff142d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff142d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff142d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff142d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff142d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff142d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff10a43a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff10a43a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff10a43a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff10a43a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff10a43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff10a43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff10a43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff10a43a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff10a7dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff10a7dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff10a7dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff10a7dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff109b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff109b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff109b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff10a93b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff10a93b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff10a93b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff109bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff109bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff109bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff10b43b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff10b43b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff10b43b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff10bb1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff10bb1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff10bb1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff10160e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff10160e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff10160e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff10160e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff157241c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff157241c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff157241c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff157241c (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:61 #47 0x000000fff15724f4 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #48 0x000000fff15724f4 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1324:25 #49 0x000000fff15724f4 (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:56 #50 0x000000fff10f80b0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #51 0x000000fff10f80b0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #52 0x000000fff10f80b0 (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 #53 0x000000fff10e3de8 std::_Function_base::~_Function_base() /usr/include/c++/12/bits/std_function.h:243:11 #54 0x000000fff10e3de8 ~function /usr/include/c++/12/bits/std_function.h:334:11 #55 0x000000fff10e3de8 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2516:1 #56 0x000000fff10e3de8 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 #57 0x000000fff1015588 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 0x000000fff105e440 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #59 0x000000fff105e440 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #60 0x000000fff105e440 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #61 0x000000fff105e440 clang::ento::ExprEngine::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 0x000000fff105ee4c clang::ento::ExprEngine::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 0x000000fff1036d1c clang::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 0x000000fff1036d1c clang::ento::ExprEngine::Visit(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 0x000000fff1037e0c clang::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 0x000000fff103965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff103987c clang::ento::CoreEngine::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 0x000000fff1039c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #69 0x000000fff1039c70 clang::ento::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 0x000000fff134703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #71 0x000000fff134703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #72 0x000000fff134703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #73 0x000000fff134703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #74 0x000000fff134703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #75 0x000000fff1348224 llvm::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 0x000000fff1348224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x000000fff1348224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #78 0x000000fff134c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x000000fff134c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x000000fff134c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x000000fff134c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x000000fff134c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x000000ffef58e978 __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 0x000000ffef58e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x000000ffef58e978 void clang::finalize>, 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 0x000000ffef58e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x000000fff0e07b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #88 0x000000fff0dc3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #89 0x000000fff0dc3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #90 0x000000fff0dc3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #91 0x000000fff0e579a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #92 0x000000aaaaef1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x000000aaaaef5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x000000aaaaef7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x000000aaaaeee034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x000000ffe7b808c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #97 0x000000ffe7b809cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #98 0x000000aaaaeee0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-syntax-weird.c.script: line 1: 3882086 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/coverage.c (604 of 19712) ******************** TEST 'Clang :: Analysis/coverage.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9466bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9464c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe94673d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc870648 (linux-vdso.so.1+0x648) #4 0x000000fff1f19388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1f19388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1f19388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1f19388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1f19388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1f19388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1f19388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1f19388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff1b903a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff1b903a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff1b903a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff1b903a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff1b903a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff1b903a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff1b903a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff1b903a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1b93dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1b93dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1b93dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1b93dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1b87430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1b87430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1b87430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff1b953b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff1b953b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff1b953b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1b87d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1b87d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1b87d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff1ba03b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff1ba03b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff1ba03b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff1ba71d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff1ba71d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff1ba71d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1b02138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1b02138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1b02138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1b02138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff2058114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff2058114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff2058114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff1c4ade0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff1c4ade0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:0 #48 0x000000fff1c4ade0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #49 0x000000fff1c4ade0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:0 #50 0x000000fff1aea208 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #51 0x000000fff1b1406c clang::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 0x000000fff1b1406c 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:0 #53 0x000000fff1b17978 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #54 0x000000fff1b17978 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #55 0x000000fff1b17978 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x000000fff1b17978 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:0 #57 0x000000fff1b5fecc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff1b5fecc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff1b5fecc 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 #60 0x000000fff1b22708 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #61 0x000000fff1b22708 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #62 0x000000fff1b22708 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #63 0x000000fff1b23e0c clang::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 0x000000fff1b2565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff1b2587c clang::ento::CoreEngine::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 0x000000fff1b25c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #67 0x000000fff1b25c70 clang::ento::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 0x000000fff1e3303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #69 0x000000fff1e3303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #70 0x000000fff1e3303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #71 0x000000fff1e3303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #72 0x000000fff1e3303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #73 0x000000fff1e34224 llvm::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 0x000000fff1e34224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #75 0x000000fff1e34224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #76 0x000000fff1e38604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #77 0x000000fff1e38604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #78 0x000000fff1e38604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #79 0x000000fff1e38604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #80 0x000000fff1e38604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #81 0x000000fff007a978 __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 0x000000fff007a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #83 0x000000fff007a978 void clang::finalize>, 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 0x000000fff007a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #85 0x000000fff18f3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #86 0x000000fff18af354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #87 0x000000fff18af354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #88 0x000000fff18af354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #89 0x000000fff19439a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #90 0x000000aaabe95c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #91 0x000000aaabe99b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #92 0x000000aaabe9b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #93 0x000000aaabe92034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #94 0x000000ffe866c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #95 0x000000ffe866c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #96 0x000000aaabe920a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/coverage.c.script: line 1: 3881944 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -analyzer-max-loop 4 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/coverage.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctor-array.cpp (609 of 19712) ******************** TEST 'Clang :: Analysis/ctor-array.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe82eabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe82e8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe82eb3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffa40648 (linux-vdso.so.1+0x648) #4 0x000000fff099ff68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff099ff68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff099ff68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff099ff68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff099ff68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff099ff68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff099ff68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff099ff68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000fff09a7d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x000000fff09a7d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x000000fff09a7d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x000000fff09a7d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x000000fff09a7d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x000000fff09a7d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x000000fff09a7d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x000000fff09a7d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x000000fff09a7d94 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 0x000000fff09a965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff09a9780 clang::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 0x000000fff09a9a58 clang::ento::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 0x000000fff09a9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x000000fff09a9c70 clang::ento::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 0x000000fff0cb703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff0cb703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff0cb703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x000000fff0cb703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x000000fff0cb703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x000000fff0cb8224 llvm::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 0x000000fff0cb8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x000000fff0cb8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x000000fff0cbc604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x000000fff0cbc604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x000000fff0cbc604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x000000fff0cbc604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x000000fff0cbc604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x000000ffeeefe978 __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 0x000000ffeeefe978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x000000ffeeefe978 void clang::finalize>, 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 0x000000ffeeefe978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x000000fff0777b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x000000fff0733354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x000000fff0733354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x000000fff0733354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x000000fff07c79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000000aaac2e9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000000aaac2edb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000000aaac2ef234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000000aaac2e6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x000000ffe74f08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #53 0x000000ffe74f09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #54 0x000000aaac2e60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctor-array.cpp.script: line 1: 3882371 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/cstring-syntax.c (610 of 19712) ******************** TEST 'Clang :: Analysis/cstring-syntax.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe91debb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe91dcc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe91df3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff014648 (linux-vdso.so.1+0x648) #4 0x000000fff1c775b0 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1c775b0 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1c775b0 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1c775b0 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1c775b0 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1c775b0 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 0x000000fff1c775b0 get<(anonymous namespace)::CStringLength> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1c775b0 (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 0x000000fff1942430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x000000fff1942430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x000000fff1942430 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 0x000000fff186f704 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x000000fff186f704 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x000000fff186f704 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*)>::operator()(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:29 #18 0x000000fff186f704 clang::ento::CheckerManager::runCheckersForRegionChanges(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:608:33 #19 0x000000fff18d32b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x000000fff18d32b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x000000fff18d32b4 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 0x000000fff18d32b4 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 0x000000fff18d3524 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #24 0x000000fff18d3524 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #25 0x000000fff18d3524 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #26 0x000000fff18d3524 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 0x000000fff1dd6154 llvm::DenseMap, llvm::detail::DenseMapPair>::~DenseMap() /usr/include/llvm/ADT/DenseMap.h:782:0 #28 0x000000fff1dd6154 clang::ento::RegionAndSymbolInvalidationTraits::~RegionAndSymbolInvalidationTraits() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:1624:7 #29 0x000000fff1dd6154 (anonymous namespace)::CStringChecker::invalidateBufferAux(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, clang::Expr const*, clang::ento::SVal, llvm::function_ref) (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:1133:3 #30 0x000000fff1941f94 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1941f94 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1941f94 (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 0x000000fff195ca88 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #34 0x000000fff195ca88 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #35 0x000000fff195ca88 (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 0x000000fff1947de8 std::_Function_base::~_Function_base() /usr/include/c++/12/bits/std_function.h:243:11 #37 0x000000fff1947de8 ~function /usr/include/c++/12/bits/std_function.h:334:11 #38 0x000000fff1947de8 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2516:1 #39 0x000000fff1947de8 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 #40 0x000000fff1879588 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 #41 0x000000fff18c2440 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #42 0x000000fff18c2440 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #43 0x000000fff18c2440 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #44 0x000000fff18c2440 clang::ento::ExprEngine::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 #45 0x000000fff18c2e4c clang::ento::ExprEngine::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 #46 0x000000fff189ad1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #47 0x000000fff189ad1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #48 0x000000fff189be0c clang::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 0x000000fff189d65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff189d87c clang::ento::CoreEngine::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 0x000000fff189dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #52 0x000000fff189dc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #53 0x000000fff1bab03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x000000fff1bab03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x000000fff1bab03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #56 0x000000fff1bab03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #57 0x000000fff1bab03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #58 0x000000fff1bac224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #59 0x000000fff1bac224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #60 0x000000fff1bac224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #61 0x000000fff1bb0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x000000fff1bb0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x000000fff1bb0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #64 0x000000fff1bb0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #65 0x000000fff1bb0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #66 0x000000ffefdf2978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #67 0x000000ffefdf2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #68 0x000000ffefdf2978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #69 0x000000ffefdf2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #70 0x000000fff166bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #71 0x000000fff1627354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #72 0x000000fff1627354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #73 0x000000fff1627354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #74 0x000000fff16bb9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #75 0x000000aaaaab9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #76 0x000000aaaaabdb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #77 0x000000aaaaabf234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #78 0x000000aaaaab6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #79 0x000000ffe83e48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #80 0x000000ffe83e49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #81 0x000000aaaaab60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-syntax.c.script: line 4: 3882366 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax.c -Wno-strncat-size -Wno-sizeof-pointer-memaccess -Wno-strlcpy-strlcat-size -Wno-sizeof-array-argument -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctor-bug-path.cpp (611 of 19712) ******************** TEST 'Clang :: Analysis/ctor-bug-path.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe863abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8638c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe863b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff7d4648 (linux-vdso.so.1+0x648) #4 0x000000fff0cc4f7c retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000fff0cc4f7c retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff0cc4f7c retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff0cc4f7c IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff0cc4f7c ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff0cc4f7c MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff0cc4f7c get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000fff0cc4f7c 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 0x000000fff0d1c97c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x000000fff0d1c97c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x000000fff0d1c97c 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 #15 0x000000fff0d1d5dc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x000000fff0d1d5dc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x000000fff0d1d5dc 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 #18 0x000000fff0d3aee0 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 #19 0x000000fff0cf6cdc clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #20 0x000000fff0cf6cdc clang::ento::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 #21 0x000000fff0cf7e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #22 0x000000fff0cf965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff0cf987c clang::ento::CoreEngine::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 0x000000fff0cf9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x000000fff0cf9c70 clang::ento::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 0x000000fff100703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff100703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff100703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x000000fff100703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x000000fff100703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x000000fff1008224 llvm::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 0x000000fff1008224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x000000fff1008224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x000000fff100c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x000000fff100c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x000000fff100c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x000000fff100c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x000000fff100c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x000000ffef24e978 __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 0x000000ffef24e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x000000ffef24e978 void clang::finalize>, 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 0x000000ffef24e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x000000fff0ac7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x000000fff0a83354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x000000fff0a83354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x000000fff0a83354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x000000fff0b179a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000000aaaba8dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000000aaaba91b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000000aaaba93234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000000aaaba8a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x000000ffe78408c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #53 0x000000ffe78409cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #54 0x000000aaaba8a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctor-bug-path.cpp.script: line 2: 3882374 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-output=text -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor-bug-path.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctor-trivial-copy.cpp (614 of 19712) ******************** TEST 'Clang :: Analysis/ctor-trivial-copy.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8e4abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8e48c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8e4b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff36c648 (linux-vdso.so.1+0x648) #4 0x000000fff1503664 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff1503664 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff1503664 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff1503664 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff1503664 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff1503664 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff1503664 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff1503664 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 0x000000fff150408c 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 0x000000fff1509a18 clang::ento::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 0x000000fff1509c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x000000fff1509c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x000000fff181703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x000000fff181703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x000000fff181703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x000000fff181703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x000000fff181703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x000000fff1818224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x000000fff1818224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x000000fff1818224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x000000fff181c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x000000fff181c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x000000fff181c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x000000fff181c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x000000fff181c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x000000ffefa5e978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x000000ffefa5e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x000000ffefa5e978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x000000ffefa5e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x000000fff12d7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x000000fff1293354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x000000fff1293354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x000000fff1293354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x000000fff13279a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000000aaadd89c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000000aaadd8db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000000aaadd8f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000000aaadd86034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x000000ffe80508c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #43 0x000000ffe80509cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #44 0x000000aaadd860a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctor-trivial-copy.cpp.script: line 1: 3882484 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-inlining=constructors -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor-trivial-copy.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctor.mm (617 of 19712) ******************** TEST 'Clang :: Analysis/ctor.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe744abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7448c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe744b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffccbc648 (linux-vdso.so.1+0x648) #4 0x000000ffefefd388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffefefd388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffefefd388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffefefd388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffefefd388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffefefd388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffefefd388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffefefd388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffefb743a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffefb743a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffefb743a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffefb743a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffefb743a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffefb743a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffefb743a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffefb743a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffefb77dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffefb77dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffefb77dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffefb77dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffefb6b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffefb6b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffefb6b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffefb793b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffefb793b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffefb793b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffefb6bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffefb6bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffefb6bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffefb843b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffefb843b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffefb843b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffefb8b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffefb8b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffefb8b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffefae6138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffefae6138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffefae6138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffefae6138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffefae6688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffefae6688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffefae6688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000ffefaaeb4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000ffefaaeb4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000ffefaaeb4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000ffefafa674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000ffefafa674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000ffefafa674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000ffefb0a010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000ffefb0a010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000ffefb0a010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000ffefe1703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000ffefe1703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000ffefe1703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000ffefe1703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000ffefe1703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000ffefe18224 llvm::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 0x000000ffefe18224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000ffefe18224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000ffefe1c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000ffefe1c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000ffefe1c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000ffefe1c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000ffefe1c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffee05e978 __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 0x000000ffee05e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffee05e978 void clang::finalize>, 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 0x000000ffee05e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000ffef8d7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000ffef893354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000ffef893354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000ffef893354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000ffef9279a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaab1bdc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaab1c1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaab1c3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaab1ba034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe66508c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe66509cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaab1ba0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctor.mm.script: line 4: 3882537 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -DI386 -analyzer-checker=core,debug.ExprInspection -fobjc-arc -analyzer-config c++-inlining=constructors -Wno-null-dereference -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctu-main.c (620 of 19712) ******************** TEST 'Clang :: Analysis/ctu-main.c' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.c.tmp && mkdir /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.c.tmp : 'RUN: at line 2'; mkdir -p /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.c.tmp/ctudir2 : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe8822bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8820c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe88233d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc46c648 (linux-vdso.so.1+0x648) #4 0x000000fff12d5388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff12d5388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff12d5388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff12d5388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff12d5388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff12d5388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff12d5388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff12d5388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff0f4c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff0f4c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff0f4c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff0f4c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff0f4c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff0f4c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff0f4c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff0f4c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0f4fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0f4fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0f4fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0f4fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0f43430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0f43430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0f43430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff0f513b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0f513b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0f513b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0f43d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0f43d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0f43d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff0f5c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff0f5c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff0f5c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff0f631d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff0f631d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff0f631d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0ebe0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0ebe0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0ebe0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0ebe0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff1415e24 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff1415e24 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff1415e24 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff1415e24 getArgumentValueString(clang::CallExpr const*, clang::ento::CheckerContext&) (.part.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:150:20 #47 0x000000fff0fcf864 getArgumentValueString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:135:3 #48 0x000000fff0fcf864 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #49 0x000000fff0fcf864 (anonymous namespace)::ExprInspectionChecker::analyzerEval(clang::CallExpr const*, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:215:0 #50 0x000000fff10177b0 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:0 #51 0x000000fff10177b0 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 #52 0x000000fff0ebd588 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #53 0x000000fff0f06440 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #54 0x000000fff0f06440 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #55 0x000000fff0f06440 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #56 0x000000fff0f06440 clang::ento::ExprEngine::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 #57 0x000000fff0f06e4c clang::ento::ExprEngine::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 #58 0x000000fff0eded1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #59 0x000000fff0eded1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #60 0x000000fff0edfe0c clang::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 0x000000fff0ee165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff0ee187c clang::ento::CoreEngine::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 0x000000fff0ee1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #64 0x000000fff0ee1c70 clang::ento::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 0x000000fff11ef03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #66 0x000000fff11ef03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #67 0x000000fff11ef03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #68 0x000000fff11ef03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #69 0x000000fff11ef03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #70 0x000000fff11f0224 llvm::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 0x000000fff11f0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #72 0x000000fff11f0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #73 0x000000fff11f4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #74 0x000000fff11f4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #75 0x000000fff11f4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #76 0x000000fff11f4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #77 0x000000fff11f4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #78 0x000000ffef436978 __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 0x000000ffef436978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #80 0x000000ffef436978 void clang::finalize>, 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 0x000000ffef436978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #82 0x000000fff0cafb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #83 0x000000fff0c6b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #84 0x000000fff0c6b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #85 0x000000fff0c6b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #86 0x000000fff0cff9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #87 0x000000aaad28dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #88 0x000000aaad291b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #89 0x000000aaad293234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #90 0x000000aaad28a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #91 0x000000ffe7a288c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #92 0x000000ffe7a289cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #93 0x000000aaad28a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.c.script: line 6: 3883126 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.c.tmp/ctudir2 -analyzer-config ctu-phase1-inlining=none -verify=newctu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctu-implicit.c (621 of 19712) ******************** TEST 'Clang :: Analysis/ctu-implicit.c' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-implicit.c.tmp && mkdir /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-implicit.c.tmp : 'RUN: at line 2'; mkdir -p /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-implicit.c.tmp/ctudir2 : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -emit-pch -o /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe6b22bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6b20c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6b233d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff348648 (linux-vdso.so.1+0x648) #4 0x000000ffef5d5388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef5d5388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef5d5388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef5d5388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef5d5388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef5d5388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef5d5388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef5d5388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef24c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef24c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef24c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef24c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef24c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef24c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef24c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef24c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef24fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef24fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef24fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef24fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef243430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef243430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef243430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef2513b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef2513b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef2513b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef243d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef243d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef243d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef25c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef25c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef25c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef2631d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef2631d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef2631d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef1be0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef1be0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef1be0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef1be0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000ffef715e24 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000ffef715e24 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000ffef715e24 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000ffef715e24 getArgumentValueString(clang::CallExpr const*, clang::ento::CheckerContext&) (.part.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:150:20 #47 0x000000ffef2cf864 getArgumentValueString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:135:3 #48 0x000000ffef2cf864 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #49 0x000000ffef2cf864 (anonymous namespace)::ExprInspectionChecker::analyzerEval(clang::CallExpr const*, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:215:0 #50 0x000000ffef3177b0 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:0 #51 0x000000ffef3177b0 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 #52 0x000000ffef1bd588 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #53 0x000000ffef206440 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #54 0x000000ffef206440 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #55 0x000000ffef206440 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #56 0x000000ffef206440 clang::ento::ExprEngine::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 #57 0x000000ffef206e4c clang::ento::ExprEngine::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 #58 0x000000ffef1ded1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #59 0x000000ffef1ded1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #60 0x000000ffef1dfe0c clang::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 0x000000ffef1e165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef1e187c clang::ento::CoreEngine::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 0x000000ffef1e1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #64 0x000000ffef1e1c70 clang::ento::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 0x000000ffef4ef03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #66 0x000000ffef4ef03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #67 0x000000ffef4ef03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #68 0x000000ffef4ef03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #69 0x000000ffef4ef03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #70 0x000000ffef4f0224 llvm::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 0x000000ffef4f0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #72 0x000000ffef4f0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #73 0x000000ffef4f4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #74 0x000000ffef4f4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #75 0x000000ffef4f4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #76 0x000000ffef4f4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #77 0x000000ffef4f4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #78 0x000000ffed736978 __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 0x000000ffed736978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #80 0x000000ffed736978 void clang::finalize>, 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 0x000000ffed736978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #82 0x000000ffeefafb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #83 0x000000ffeef6b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #84 0x000000ffeef6b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #85 0x000000ffeef6b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #86 0x000000ffeefff9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #87 0x000000aaac925c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #88 0x000000aaac929b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #89 0x000000aaac92b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #90 0x000000aaac922034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #91 0x000000ffe5d288c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #92 0x000000ffe5d289cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #93 0x000000aaac9220a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-implicit.c.script: line 5: 3883083 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-implicit.c.tmp/ctudir2 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-implicit.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctu-on-demand-parsing.c (622 of 19712) ******************** TEST 'Clang :: Analysis/ctu-on-demand-parsing.c' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.c.tmp" && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang-extdef-mapping "/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.c.tmp" && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -fsyntax-only -std=c89 -analyze -analyzer-checker=core,debug.ExprInspection -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=. -analyzer-config ctu-invocation-list=invocations.yaml -analyzer-config ctu-phase1-inlining=all -verify ctu-on-demand-parsing.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe97c2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe97c0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe97c33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe4e0648 (linux-vdso.so.1+0x648) #4 0x000000fff2275388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2275388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2275388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2275388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2275388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2275388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2275388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2275388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff1eec3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff1eec3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff1eec3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff1eec3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff1eec3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff1eec3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff1eec3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff1eec3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1eefdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1eefdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1eefdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1eefdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1ee3430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1ee3430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1ee3430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff1ef13b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff1ef13b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff1ef13b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1ee3d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1ee3d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1ee3d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff1efc3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff1efc3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff1efc3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff1f031d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff1f031d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff1f031d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1e5e0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1e5e0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1e5e0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1e5e0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff1e73e4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff1e73e4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff1e73e4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000fff1e73e4c 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:0 #47 0x000000fff1e7fb90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000fff1e7fb90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000fff1e7fb90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000fff1e7fb90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000fff1e7fb90 clang::ento::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 #52 0x000000fff1e7fe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000fff1e8165c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000fff1e8187c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000fff1e81c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000fff1e81c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000fff218f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff218f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff218f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000fff218f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000fff218f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000fff2190224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000fff2190224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000fff2190224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000fff2194604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000fff2194604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000fff2194604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000fff2194604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000fff2194604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000fff03d6978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000fff03d6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000fff03d6978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000fff03d6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000fff1c4fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000fff1c0b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000fff1c0b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000fff1c0b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000fff1c9f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaab8d5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaab8d9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaab8db234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaab8d2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe89c88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe89c89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaab8d20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.c.script: line 8: 3883192 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-main.cpp (623 of 19712) ******************** TEST 'Clang :: Analysis/ctu-main.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.tmp && mkdir /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.tmp : 'RUN: at line 2'; mkdir -p /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.tmp/ctudir : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe9116bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9114c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe91173d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd73c648 (linux-vdso.so.1+0x648) #4 0x000000fff1bc9388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1bc9388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1bc9388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1bc9388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1bc9388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1bc9388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1bc9388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1bc9388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff18403a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff18403a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff18403a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff18403a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff18403a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff18403a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff18403a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff18403a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1843dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1843dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1843dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1843dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1837430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1837430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1837430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff18453b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff18453b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff18453b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1837d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1837d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1837d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff18503b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff18503b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff18503b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff18571d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff18571d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff18571d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff17b20e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff17b20e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff17b20e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff17b20e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff1d09e24 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff1d09e24 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff1d09e24 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff1d09e24 getArgumentValueString(clang::CallExpr const*, clang::ento::CheckerContext&) (.part.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:150:20 #47 0x000000fff18c3864 getArgumentValueString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:135:3 #48 0x000000fff18c3864 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #49 0x000000fff18c3864 (anonymous namespace)::ExprInspectionChecker::analyzerEval(clang::CallExpr const*, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:215:0 #50 0x000000fff190b7b0 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:0 #51 0x000000fff190b7b0 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 #52 0x000000fff17b1588 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #53 0x000000fff17fa440 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #54 0x000000fff17fa440 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #55 0x000000fff17fa440 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #56 0x000000fff17fa440 clang::ento::ExprEngine::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 #57 0x000000fff17fae4c clang::ento::ExprEngine::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 #58 0x000000fff17d2d1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #59 0x000000fff17d2d1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #60 0x000000fff17d3e0c clang::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 0x000000fff17d565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff17d587c clang::ento::CoreEngine::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 0x000000fff17d5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #64 0x000000fff17d5c70 clang::ento::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 0x000000fff1ae303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #66 0x000000fff1ae303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #67 0x000000fff1ae303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #68 0x000000fff1ae303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #69 0x000000fff1ae303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #70 0x000000fff1ae4224 llvm::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 0x000000fff1ae4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #72 0x000000fff1ae4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #73 0x000000fff1ae8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #74 0x000000fff1ae8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #75 0x000000fff1ae8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #76 0x000000fff1ae8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #77 0x000000fff1ae8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #78 0x000000ffefd2a978 __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 0x000000ffefd2a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #80 0x000000ffefd2a978 void clang::finalize>, 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 0x000000ffefd2a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #82 0x000000fff15a3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #83 0x000000fff155f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #84 0x000000fff155f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #85 0x000000fff155f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #86 0x000000fff15f39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #87 0x000000aaac145c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #88 0x000000aaac149b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #89 0x000000aaac14b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #90 0x000000aaac142034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #91 0x000000ffe831c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #92 0x000000ffe831c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #93 0x000000aaac1420a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.script: line 8: 3883195 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.tmp/ctudir -analyzer-config ctu-phase1-inlining=none -verify=newctu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctu-onego-toplevel.cpp (624 of 19712) ******************** TEST 'Clang :: Analysis/ctu-onego-toplevel.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-toplevel.cpp.tmp && mkdir /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-toplevel.cpp.tmp/ctudir : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe709ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe709cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe709f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd6d8648 (linux-vdso.so.1+0x648) #4 0x000000ffefb51388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffefb51388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffefb51388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffefb51388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffefb51388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffefb51388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffefb51388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffefb51388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef7c83a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef7c83a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef7c83a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef7c83a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef7c83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef7c83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef7c83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef7c83a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef7cbdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef7cbdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef7cbdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef7cbdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef7bf430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef7bf430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef7bf430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef7cd3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef7cd3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef7cd3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef7bfd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef7bfd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef7bfd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef7d83b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef7d83b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef7d83b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef7df1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef7df1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef7df1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef73a0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef73a0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef73a0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef73a0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000ffefc90114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000ffefc90114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000ffefc90114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000ffef74b190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000ffef74b190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000ffef74b190 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:0 #49 0x000000ffef74b190 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:0 #50 0x000000ffef74b190 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:0 #51 0x000000ffef74b190 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:0 #52 0x000000ffef74b190 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:0 #53 0x000000ffef74b190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000ffef74b190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000ffef74b190 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:0 #56 0x000000ffef74b7ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000ffef75dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000ffef75dc70 clang::ento::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 0x000000ffefa6b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000ffefa6b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000ffefa6b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000ffefa6b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000ffefa6b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000ffefa6c224 llvm::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 0x000000ffefa6c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000ffefa6c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000ffefa70604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000ffefa70604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000ffefa70604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000ffefa70604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000ffefa70604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffedcb2978 __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 0x000000ffedcb2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffedcb2978 void clang::finalize>, 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 0x000000ffedcb2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000ffef52bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000ffef4e7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000ffef4e7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000ffef4e7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000ffef57b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaacc79c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaacc7db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaacc7f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaacc76034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe62a48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe62a49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaacc760a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-toplevel.cpp.script: line 6: 3883781 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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-indirect.cpp (625 of 19712) ******************** TEST 'Clang :: Analysis/ctu-onego-indirect.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-indirect.cpp.tmp && mkdir /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-indirect.cpp.tmp/ctudir : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-indirect.cpp.script: line 6: 3883591 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 3883592 Done | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-indirect.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctu-on-demand-parsing.cpp (626 of 19712) ******************** TEST 'Clang :: Analysis/ctu-on-demand-parsing.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/Inputs/ctu-chain.cpp"], "/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp" && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp" && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp" && /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe91b6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe91b4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe91b73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe3dc648 (linux-vdso.so.1+0x648) #4 0x000000fff186f664 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff186f664 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff186f664 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff186f664 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff186f664 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff186f664 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff186f664 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff186f664 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 0x000000fff187008c 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 0x000000fff1875a18 clang::ento::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 0x000000fff1875c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x000000fff1875c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x000000fff1b8303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x000000fff1b8303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x000000fff1b8303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x000000fff1b8303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x000000fff1b8303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x000000fff1b84224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x000000fff1b84224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x000000fff1b84224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x000000fff1b88604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x000000fff1b88604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x000000fff1b88604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x000000fff1b88604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x000000fff1b88604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x000000ffefdca978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x000000ffefdca978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x000000ffefdca978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x000000ffefdca978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x000000fff1643b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x000000fff15ff354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x000000fff15ff354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x000000fff15ff354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x000000fff16939a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000000aaacf69c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000000aaacf6db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000000aaacf6f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000000aaacf66034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x000000ffe83bc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #43 0x000000ffe83bc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #44 0x000000aaacf660a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.script: line 11: 3883494 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-onego-small.cpp (627 of 19712) ******************** TEST 'Clang :: Analysis/ctu-onego-small.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-small.cpp.tmp && mkdir /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-small.cpp.tmp/ctudir : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe8caebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8cacc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8caf3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffdfb0648 (linux-vdso.so.1+0x648) #4 0x000000fff1761388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1761388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1761388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1761388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1761388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1761388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1761388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1761388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff13d83a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff13d83a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff13d83a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff13d83a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff13d83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff13d83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff13d83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff13d83a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff13dbdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff13dbdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff13dbdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff13dbdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff13cf430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff13cf430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff13cf430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff13dd3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff13dd3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff13dd3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff13cfd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff13cfd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff13cfd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff13e83b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff13e83b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff13e83b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff13ef1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff13ef1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff13ef1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff134a0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff134a0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff134a0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff134a0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff18a1e24 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff18a1e24 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff18a1e24 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff18a1e24 getArgumentValueString(clang::CallExpr const*, clang::ento::CheckerContext&) (.part.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:150:20 #47 0x000000fff145b864 getArgumentValueString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:135:3 #48 0x000000fff145b864 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #49 0x000000fff145b864 (anonymous namespace)::ExprInspectionChecker::analyzerEval(clang::CallExpr const*, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:215:0 #50 0x000000fff14a37b0 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:0 #51 0x000000fff14a37b0 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 #52 0x000000fff1349588 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #53 0x000000fff1392440 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #54 0x000000fff1392440 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #55 0x000000fff1392440 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #56 0x000000fff1392440 clang::ento::ExprEngine::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 #57 0x000000fff1392e4c clang::ento::ExprEngine::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 #58 0x000000fff136ad1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #59 0x000000fff136ad1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #60 0x000000fff136be0c clang::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 0x000000fff136d65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff136d87c clang::ento::CoreEngine::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 0x000000fff136dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #64 0x000000fff136dc70 clang::ento::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 0x000000fff167b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #66 0x000000fff167b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #67 0x000000fff167b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #68 0x000000fff167b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #69 0x000000fff167b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #70 0x000000fff167c224 llvm::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 0x000000fff167c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #72 0x000000fff167c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #73 0x000000fff1680604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #74 0x000000fff1680604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #75 0x000000fff1680604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #76 0x000000fff1680604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #77 0x000000fff1680604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #78 0x000000ffef8c2978 __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 0x000000ffef8c2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #80 0x000000ffef8c2978 void clang::finalize>, 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 0x000000ffef8c2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #82 0x000000fff113bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #83 0x000000fff10f7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #84 0x000000fff10f7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #85 0x000000fff10f7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #86 0x000000fff118b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #87 0x000000aaac399c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #88 0x000000aaac39db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #89 0x000000aaac39f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #90 0x000000aaac396034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #91 0x000000ffe7eb48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #92 0x000000ffe7eb49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #93 0x000000aaac3960a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-small.cpp.script: line 7: 3883772 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-small.cpp.tmp/ctudir -analyzer-config ctu-max-nodes-pct=0 -analyzer-config ctu-phase1-inlining=none -analyzer-config ctu-max-nodes-min=0 -verify=inline-none /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-small.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-crashes.cpp (628 of 19712) ******************** TEST 'Clang :: Analysis/cxx-crashes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8036bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8034c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe80373d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcefc648 (linux-vdso.so.1+0x648) #4 0x000000fff0ae9388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0ae9388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0ae9388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0ae9388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0ae9388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0ae9388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0ae9388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0ae9388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff07603a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff07603a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff07603a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff07603a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff07603a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff07603a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff07603a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff07603a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0763dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0763dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0763dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0763dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff076265c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff076265c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff076265c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000fff0765444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0765444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0765444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000fff0757d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0757d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0757d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff07703b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff07703b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff07703b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff07771d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff07771d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff07771d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff06d2138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff06d2138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff06d2138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff06d2138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff0c28114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff0c28114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff0c28114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff0ac8a54 checkVLAIndexSize /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp:175:0 #47 0x000000fff0ac8a54 (anonymous namespace)::VLASizeChecker::checkVLA(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, clang::VariableArrayType const*, clang::ento::SVal&) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp:83:0 #48 0x000000fff09a2334 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #49 0x000000fff09a2334 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #50 0x000000fff09a2334 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #51 0x000000fff09a2334 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp:297:19 #52 0x000000fff09a2334 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 0x000000fff06b9ea8 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #54 0x000000fff06b9ea8 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:26 #55 0x000000fff0726978 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #56 0x000000fff0726978 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #57 0x000000fff0726978 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #58 0x000000fff0726978 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #59 0x000000fff0726978 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #60 0x000000fff0726978 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #61 0x000000fff0726978 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 0x000000fff06f3194 clang::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 0x000000fff06f3194 clang::ento::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 0x000000fff06f3e0c clang::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 0x000000fff06f565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff06f587c clang::ento::CoreEngine::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 0x000000fff06f5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #68 0x000000fff06f5c70 clang::ento::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 0x000000fff0a0303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #70 0x000000fff0a0303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #71 0x000000fff0a0303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #72 0x000000fff0a0303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #73 0x000000fff0a0303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #74 0x000000fff0a04224 llvm::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 0x000000fff0a04224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #76 0x000000fff0a04224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #77 0x000000fff0a08604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #78 0x000000fff0a08604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #79 0x000000fff0a08604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #80 0x000000fff0a08604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #81 0x000000fff0a08604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #82 0x000000ffeec4a978 __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 0x000000ffeec4a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #84 0x000000ffeec4a978 void clang::finalize>, 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 0x000000ffeec4a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #86 0x000000fff04c3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #87 0x000000fff047f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #88 0x000000fff047f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #89 0x000000fff047f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #90 0x000000fff05139a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #91 0x000000aaaceddc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #92 0x000000aaacee1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #93 0x000000aaacee3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #94 0x000000aaaceda034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #95 0x000000ffe723c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #96 0x000000ffe723c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #97 0x000000aaaceda0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-crashes.cpp.script: line 1: 3883942 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (629 of 19712) ******************** TEST 'Clang :: Analysis/cxx-dynamic-memory-analysis-order.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9ecebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10: #1 0x000000ffe9eccc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11: #2 0x000000ffe9ecf3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 12: #3 0x000000ffffe00648 (linux-vdso.so.1+0x648) next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 13: #4 0x000000fff2981388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-for-range.cpp (630 of 19712) ******************** TEST 'Clang :: Analysis/cxx-for-range.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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:3: Error evaluating statement #0 0x000000ffe673ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe673cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe673f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd618648 (linux-vdso.so.1+0x648) #4 0x000000ffeedf3f68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000ffeedf3f68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffeedf3f68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffeedf3f68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffeedf3f68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffeedf3f68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000ffeedf3f68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000ffeedf3f68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000ffeedfbd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x000000ffeedfbd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x000000ffeedfbd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x000000ffeedfbd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x000000ffeedfbd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x000000ffeedfbd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x000000ffeedfbd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x000000ffeedfbd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x000000ffeedfbd94 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 0x000000ffeedfd65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffeedfd87c clang::ento::CoreEngine::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 0x000000ffeedfdc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #24 0x000000ffeedfdc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #25 0x000000ffef10b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x000000ffef10b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x000000ffef10b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #28 0x000000ffef10b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #29 0x000000ffef10b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #30 0x000000ffef10c224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #31 0x000000ffef10c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #32 0x000000ffef10c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #33 0x000000ffef110604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #34 0x000000ffef110604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #35 0x000000ffef110604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #36 0x000000ffef110604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #37 0x000000ffef110604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #38 0x000000ffed352978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #39 0x000000ffed352978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #40 0x000000ffed352978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #41 0x000000ffed352978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #42 0x000000ffeebcbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #43 0x000000ffeeb87354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #44 0x000000ffeeb87354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #45 0x000000ffeeb87354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #46 0x000000ffeec1b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #47 0x000000aaaea59c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #48 0x000000aaaea5db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #49 0x000000aaaea5f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #50 0x000000aaaea56034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #51 0x000000ffe59448c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #52 0x000000ffe59449cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #53 0x000000aaaea560a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-for-range.cpp.script: line 2: 3883962 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 (631 of 19712) ******************** TEST 'Clang :: Analysis/cxx-inherited-ctor-init-expr.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9e0abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9e08c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9e0b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff7b4648 (linux-vdso.so.1+0x648) #4 0x000000fff24e6244 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff24e6244 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff24e6244 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff24e6244 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x000000fff24e6244 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x000000fff24e6244 Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:27 #10 0x000000fff24e6244 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:89 #11 0x000000fff24e6244 llvm::IntrusiveRefCntPtr clang::ento::ProgramState::set<(anonymous namespace)::ObjectsUnderConstruction>(clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:63 #12 0x000000fff24be10c 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:600:0 #13 0x000000fff24ed208 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #14 0x000000fff24ed208 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x000000fff24ed208 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:507:68 #16 0x000000fff250b7a4 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x000000fff250b7a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x000000fff250b7a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x000000fff250b7a4 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 #20 0x000000fff250b7a4 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 #21 0x000000fff24c6cdc clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #22 0x000000fff24c6cdc clang::ento::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 #23 0x000000fff24c7e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #24 0x000000fff24c965c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #25 0x000000fff24c987c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #26 0x000000fff24c9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000fff24c9c70 clang::ento::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 0x000000fff27d703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000fff27d703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000fff27d703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000fff27d703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000fff27d703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000fff27d8224 llvm::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 0x000000fff27d8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000fff27d8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000fff27dc604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000fff27dc604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000fff27dc604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000fff27dc604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000fff27dc604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000fff0a1e978 __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 0x000000fff0a1e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x000000fff0a1e978 void clang::finalize>, 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 0x000000fff0a1e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x000000fff2297b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x000000fff2253354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x000000fff2253354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x000000fff2253354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x000000fff22e79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #50 0x000000aaab919c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x000000aaab91db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x000000aaab91f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x000000aaab916034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x000000ffe90108c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #55 0x000000ffe90109cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #56 0x000000aaab9160a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-inherited-ctor-init-expr.cpp.script: line 1: 3883973 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-member-initializer-const-field.cpp (633 of 19712) ******************** TEST 'Clang :: Analysis/cxx-member-initializer-const-field.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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 0x000000ffe6ab2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6ab0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6ab33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd544648 (linux-vdso.so.1+0x648) #4 0x000000ffef565388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef565388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef565388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef565388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef565388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef565388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef565388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef565388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef1dc3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef1dc3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef1dc3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef1dc3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef1dc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef1dc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef1dc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef1dc3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef1dfdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef1dfdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef1dfdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef1dfdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef1d3430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef1d3430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef1d3430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef1e13b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef1e13b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef1e13b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef1d3d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef1d3d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef1d3d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef1ec3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef1ec3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef1ec3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef1f31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef1f31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef1f31d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef14e138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef14e138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef14e138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef14e138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffef297f24 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #44 0x000000ffef297f24 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #45 0x000000ffef297f24 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #46 0x000000ffef297f24 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #47 0x000000ffef297f24 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #48 0x000000ffef297f24 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp:99:0 #49 0x000000ffef297f24 void clang::ento::check::PreStmt::_checkStmt<(anonymous namespace)::DivZeroChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:85:0 #50 0x000000ffef135ea8 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #51 0x000000ffef135ea8 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:26 #52 0x000000ffef1a9eec llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #53 0x000000ffef1a9eec llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #54 0x000000ffef1a9eec llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #55 0x000000ffef1a9eec llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #56 0x000000ffef1a9eec llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #57 0x000000ffef1a9eec clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #58 0x000000ffef1a9eec 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 #59 0x000000ffef16fab8 clang::ento::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 #60 0x000000ffef16fe0c clang::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 0x000000ffef17165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef17187c clang::ento::CoreEngine::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 0x000000ffef171c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #64 0x000000ffef171c70 clang::ento::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 0x000000ffef47f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #66 0x000000ffef47f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #67 0x000000ffef47f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #68 0x000000ffef47f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #69 0x000000ffef47f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #70 0x000000ffef480224 llvm::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 0x000000ffef480224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #72 0x000000ffef480224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #73 0x000000ffef484604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #74 0x000000ffef484604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #75 0x000000ffef484604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #76 0x000000ffef484604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #77 0x000000ffef484604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #78 0x000000ffed6c6978 __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 0x000000ffed6c6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #80 0x000000ffed6c6978 void clang::finalize>, 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 0x000000ffed6c6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #82 0x000000ffeef3fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #83 0x000000ffeeefb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #84 0x000000ffeeefb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #85 0x000000ffeeefb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #86 0x000000ffeef8f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #87 0x000000aaacc01c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #88 0x000000aaacc05b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #89 0x000000aaacc07234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #90 0x000000aaacbfe034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #91 0x000000ffe5cb88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #92 0x000000ffe5cb89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #93 0x000000aaacbfe0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-member-initializer-const-field.cpp.script: line 1: 3884137 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-member-initializer-const-field.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-method-names.cpp (634 of 19712) ******************** TEST 'Clang :: Analysis/cxx-method-names.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6a72bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6a70c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6a733d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe610648 (linux-vdso.so.1+0x648) #4 0x000000ffef376c34 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000ffef376c34 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffef376c34 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffef376c34 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffef376c34 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffef376c34 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000ffef376c34 get<(anonymous namespace)::LockMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000ffef376c34 remove<(anonymous namespace)::LockMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:669:89 #12 0x000000ffef376c34 llvm::IntrusiveRefCntPtr clang::ento::ProgramState::remove<(anonymous namespace)::LockMap>(clang::ento::ProgramStateTrait<(anonymous namespace)::LockMap>::key_type) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:854:63 #13 0x000000ffef37fb84 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #14 0x000000ffef37fb84 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #15 0x000000ffef37fb84 checkRegionChanges /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp:689:37 #16 0x000000ffef37fb84 llvm::IntrusiveRefCntPtr clang::ento::check::RegionChanges::_checkRegionChanges<(anonymous namespace)::PthreadLockChecker>(void*, llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:344:70 #17 0x000000ffef103704 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #18 0x000000ffef103704 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #19 0x000000ffef103704 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*)>::operator()(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:29 #20 0x000000ffef103704 clang::ento::CheckerManager::runCheckersForRegionChanges(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:608:33 #21 0x000000ffef1672b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #22 0x000000ffef1672b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #23 0x000000ffef1672b4 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 0x000000ffef1672b4 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 0x000000ffef106d0c std::_Rb_tree, std::less, std::allocator>::~_Rb_tree() /usr/include/c++/12/bits/stl_tree.h:986:0 #26 0x000000ffef106d0c std::set, std::allocator>::~set() /usr/include/c++/12/bits/stl_set.h:281:0 #27 0x000000ffef106d0c llvm::SmallSet>::~SmallSet() /usr/include/llvm/ADT/SmallSet.h:135:0 #28 0x000000ffef106d0c clang::ento::CallEvent::invalidateRegions(unsigned int, llvm::IntrusiveRefCntPtr) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:286:1 #29 0x000000ffef173d98 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #30 0x000000ffef173d98 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #31 0x000000ffef173d98 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 0x000000ffef1748f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x000000ffef1748f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x000000ffef1748f4 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 0x000000ffef10d670 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:706:0 #36 0x000000ffef156440 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #37 0x000000ffef156440 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #38 0x000000ffef156440 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #39 0x000000ffef156440 clang::ento::ExprEngine::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 0x000000ffef156e4c clang::ento::ExprEngine::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 0x000000ffef12ed1c clang::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 0x000000ffef12ed1c clang::ento::ExprEngine::Visit(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 0x000000ffef12fe0c clang::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 0x000000ffef13165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef13187c clang::ento::CoreEngine::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 0x000000ffef131c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #47 0x000000ffef131c70 clang::ento::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 0x000000ffef43f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #49 0x000000ffef43f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #50 0x000000ffef43f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #51 0x000000ffef43f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #52 0x000000ffef43f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #53 0x000000ffef440224 llvm::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 0x000000ffef440224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #55 0x000000ffef440224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #56 0x000000ffef444604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x000000ffef444604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x000000ffef444604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #59 0x000000ffef444604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #60 0x000000ffef444604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #61 0x000000ffed686978 __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 0x000000ffed686978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #63 0x000000ffed686978 void clang::finalize>, 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 0x000000ffed686978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #65 0x000000ffeeeffb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #66 0x000000ffeeebb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #67 0x000000ffeeebb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #68 0x000000ffeeebb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #69 0x000000ffeef4f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #70 0x000000aaad159c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #71 0x000000aaad15db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #72 0x000000aaad15f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #73 0x000000aaad156034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #74 0x000000ffe5c788c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #75 0x000000ffe5c789cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #76 0x000000aaad1560a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-method-names.cpp.script: line 1: 3884144 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix,osx,alpha.unix,alpha.security.taint -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-method-names.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-uninitialized-object-inheritance.cpp (635 of 19712) ******************** TEST 'Clang :: Analysis/cxx-uninitialized-object-inheritance.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7d66bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7d64c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7d673d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcde0648 (linux-vdso.so.1+0x648) #4 0x000000fff03f0f7c retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000fff03f0f7c retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff03f0f7c retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff03f0f7c IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff03f0f7c ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff03f0f7c MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff03f0f7c get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000fff03f0f7c 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 0x000000fff03fb5ac llvm::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 0x000000fff03fb5ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #14 0x000000fff03fb5ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x000000fff03fb5ac clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:429:50 #16 0x000000fff03fb5ac 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:45 #17 0x000000fff03fcd9c clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:7 #18 0x000000fff03fcd9c clang::ento::AnyCXXConstructorCall::getInitialStackFrameContents(clang::StackFrameContext const*, llvm::SmallVectorImpl>&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:915:31 #19 0x000000fff04afb90 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #20 0x000000fff04afb90 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #21 0x000000fff045be7c clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #22 0x000000fff045be7c clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #23 0x000000fff045c058 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #24 0x000000fff045c058 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #25 0x000000fff045c058 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #26 0x000000fff0468020 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff0468020 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff0468020 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #29 0x000000fff0468b88 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #30 0x000000fff0468b88 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #31 0x000000fff0468b88 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x000000fff0468b88 clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #33 0x000000fff0401670 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:706:0 #34 0x000000fff0466da0 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #35 0x000000fff0466da0 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #36 0x000000fff0466da0 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #37 0x000000fff0466da0 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #38 0x000000fff0466da0 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #39 0x000000fff0466da0 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #40 0x000000fff0466da0 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #41 0x000000fff0422cdc clang::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 0x000000fff0422cdc clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #43 0x000000fff0423e0c clang::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 0x000000fff042565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff042587c clang::ento::CoreEngine::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 0x000000fff0425c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #47 0x000000fff0425c70 clang::ento::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 0x000000fff073303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #49 0x000000fff073303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #50 0x000000fff073303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #51 0x000000fff073303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #52 0x000000fff073303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #53 0x000000fff0734224 llvm::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 0x000000fff0734224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #55 0x000000fff0734224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #56 0x000000fff0738604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x000000fff0738604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x000000fff0738604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #59 0x000000fff0738604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #60 0x000000fff0738604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #61 0x000000ffee97a978 __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 0x000000ffee97a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #63 0x000000ffee97a978 void clang::finalize>, 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 0x000000ffee97a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #65 0x000000fff01f3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #66 0x000000fff01af354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #67 0x000000fff01af354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #68 0x000000fff01af354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #69 0x000000fff02439a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #70 0x000000aaadf29c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #71 0x000000aaadf2db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #72 0x000000aaadf2f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #73 0x000000aaadf26034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #74 0x000000ffe6f6c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #75 0x000000ffe6f6c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #76 0x000000aaadf260a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-uninitialized-object-inheritance.cpp.script: line 1: 3884156 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-inheritance.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-uninitialized-object.cpp (636 of 19712) ******************** TEST 'Clang :: Analysis/cxx-uninitialized-object.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea65abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea658c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea65b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffdb30648 (linux-vdso.so.1+0x648) #4 0x000000fff2d0ff68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff2d0ff68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff2d0ff68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff2d0ff68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff2d0ff68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff2d0ff68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff2d0ff68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff2d0ff68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000fff2d17d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x000000fff2d17d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x000000fff2d17d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x000000fff2d17d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x000000fff2d17d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x000000fff2d17d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x000000fff2d17d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x000000fff2d17d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x000000fff2d17d94 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 0x000000fff2d1965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff2d19780 clang::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 0x000000fff2d19a58 clang::ento::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 0x000000fff2d19c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x000000fff2d19c70 clang::ento::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 0x000000fff302703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff302703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff302703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x000000fff302703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x000000fff302703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x000000fff3028224 llvm::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 0x000000fff3028224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x000000fff3028224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x000000fff302c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x000000fff302c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x000000fff302c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x000000fff302c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x000000fff302c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x000000fff126e978 __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 0x000000fff126e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x000000fff126e978 void clang::finalize>, 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 0x000000fff126e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x000000fff2ae7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x000000fff2aa3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x000000fff2aa3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x000000fff2aa3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x000000fff2b379a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000000aaadd21c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000000aaadd25b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000000aaadd27234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000000aaadd1e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x000000ffe98608c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #53 0x000000ffe98609cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #54 0x000000aaadd1e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-uninitialized-object.cpp.script: line 2: 3884232 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object.cpp -analyzer-checker=core -analyzer-checker=optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-uninitialized-object-no-dereference.cpp (638 of 19712) ******************** TEST 'Clang :: Analysis/cxx-uninitialized-object-no-dereference.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe776ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe776cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe776f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcc90648 (linux-vdso.so.1+0x648) #4 0x000000ffefdf8f7c retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000ffefdf8f7c retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffefdf8f7c retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffefdf8f7c IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffefdf8f7c ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffefdf8f7c MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000ffefdf8f7c get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000ffefdf8f7c 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 0x000000ffefe035ac llvm::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 0x000000ffefe035ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #14 0x000000ffefe035ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x000000ffefe035ac clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:429:50 #16 0x000000ffefe035ac 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:45 #17 0x000000ffefe04d9c clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:7 #18 0x000000ffefe04d9c clang::ento::AnyCXXConstructorCall::getInitialStackFrameContents(clang::StackFrameContext const*, llvm::SmallVectorImpl>&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:915:31 #19 0x000000ffefeb7b90 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #20 0x000000ffefeb7b90 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #21 0x000000ffefe63e7c clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #22 0x000000ffefe63e7c clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #23 0x000000ffefe64058 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #24 0x000000ffefe64058 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #25 0x000000ffefe64058 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #26 0x000000ffefe70020 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000ffefe70020 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000ffefe70020 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #29 0x000000ffefe70b88 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #30 0x000000ffefe70b88 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #31 0x000000ffefe70b88 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x000000ffefe70b88 clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #33 0x000000ffefe09670 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:706:0 #34 0x000000ffefe6eda0 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #35 0x000000ffefe6eda0 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #36 0x000000ffefe6eda0 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #37 0x000000ffefe6eda0 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #38 0x000000ffefe6eda0 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #39 0x000000ffefe6eda0 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #40 0x000000ffefe6eda0 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #41 0x000000ffefe2acdc clang::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 0x000000ffefe2acdc clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #43 0x000000ffefe2be0c clang::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 0x000000ffefe2d65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffefe2d87c clang::ento::CoreEngine::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 0x000000ffefe2dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #47 0x000000ffefe2dc70 clang::ento::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 0x000000fff013b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #49 0x000000fff013b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #50 0x000000fff013b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #51 0x000000fff013b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #52 0x000000fff013b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #53 0x000000fff013c224 llvm::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 0x000000fff013c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #55 0x000000fff013c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #56 0x000000fff0140604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x000000fff0140604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x000000fff0140604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #59 0x000000fff0140604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #60 0x000000fff0140604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #61 0x000000ffee382978 __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 0x000000ffee382978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #63 0x000000ffee382978 void clang::finalize>, 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 0x000000ffee382978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #65 0x000000ffefbfbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #66 0x000000ffefbb7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #67 0x000000ffefbb7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #68 0x000000ffefbb7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #69 0x000000ffefc4b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #70 0x000000aaad5b5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #71 0x000000aaad5b9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #72 0x000000aaad5bb234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #73 0x000000aaad5b2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #74 0x000000ffe69748c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #75 0x000000ffe69749cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #76 0x000000aaad5b20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-uninitialized-object-no-dereference.cpp.script: line 1: 3884181 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-unguarded-access.cpp (639 of 19712) ******************** TEST 'Clang :: Analysis/cxx-uninitialized-object-unguarded-access.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe89dabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe89d8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe89db3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe3e8648 (linux-vdso.so.1+0x648) #4 0x000000fff1064f7c retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000fff1064f7c retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff1064f7c retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff1064f7c IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff1064f7c ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff1064f7c MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff1064f7c get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000fff1064f7c 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 0x000000fff106f5ac llvm::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 0x000000fff106f5ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #14 0x000000fff106f5ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x000000fff106f5ac clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:429:50 #16 0x000000fff106f5ac 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:45 #17 0x000000fff1070d9c clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:7 #18 0x000000fff1070d9c clang::ento::AnyCXXConstructorCall::getInitialStackFrameContents(clang::StackFrameContext const*, llvm::SmallVectorImpl>&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:915:31 #19 0x000000fff1123b90 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #20 0x000000fff1123b90 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #21 0x000000fff10cfe7c clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #22 0x000000fff10cfe7c clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #23 0x000000fff10d0058 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #24 0x000000fff10d0058 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #25 0x000000fff10d0058 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #26 0x000000fff10dc020 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff10dc020 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff10dc020 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #29 0x000000fff10dcb88 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #30 0x000000fff10dcb88 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #31 0x000000fff10dcb88 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x000000fff10dcb88 clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #33 0x000000fff1075670 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:706:0 #34 0x000000fff10dada0 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #35 0x000000fff10dada0 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #36 0x000000fff10dada0 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #37 0x000000fff10dada0 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #38 0x000000fff10dada0 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #39 0x000000fff10dada0 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #40 0x000000fff10dada0 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #41 0x000000fff1096cdc clang::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 0x000000fff1096cdc clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #43 0x000000fff1097e0c clang::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 0x000000fff109965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff109987c clang::ento::CoreEngine::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 0x000000fff1099c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #47 0x000000fff1099c70 clang::ento::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 0x000000fff13a703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #49 0x000000fff13a703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #50 0x000000fff13a703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #51 0x000000fff13a703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #52 0x000000fff13a703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #53 0x000000fff13a8224 llvm::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 0x000000fff13a8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #55 0x000000fff13a8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #56 0x000000fff13ac604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x000000fff13ac604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x000000fff13ac604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #59 0x000000fff13ac604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #60 0x000000fff13ac604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #61 0x000000ffef5ee978 __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 0x000000ffef5ee978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #63 0x000000ffef5ee978 void clang::finalize>, 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 0x000000ffef5ee978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #65 0x000000fff0e67b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #66 0x000000fff0e23354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #67 0x000000fff0e23354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #68 0x000000fff0e23354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #69 0x000000fff0eb79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #70 0x000000aaadb75c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #71 0x000000aaadb79b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #72 0x000000aaadb7b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #73 0x000000aaadb72034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #74 0x000000ffe7be08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #75 0x000000ffe7be09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #76 0x000000aaadb720a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-uninitialized-object-unguarded-access.cpp.script: line 1: 3884216 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/cxxctr-array-evalcall-analysis-order.cpp (640 of 19712) ******************** TEST 'Clang :: Analysis/cxxctr-array-evalcall-analysis-order.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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:520: note: possible intended match here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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 0x000000ffe7d52bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) next:22'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: #1 0x000000ffe7d50c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) next:22'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: #2 0x000000ffe7d533d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) next:22'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9: #3 0x000000fffdfb8648 (linux-vdso.so.1+0x648) next:22'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-uninitialized-object-notes-as-warnings.cpp (642 of 19712) ******************** TEST 'Clang :: Analysis/cxx-uninitialized-object-notes-as-warnings.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe70d6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe70d4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe70d73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc6fc648 (linux-vdso.so.1+0x648) #4 0x000000ffefa3ce54 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000ffefa3ce54 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffefa3ce54 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffefa3ce54 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffefa3ce54 llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:38 #9 0x000000ffefa3ce54 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 0x000000ffefa3ce54 contains<(anonymous namespace)::AnalyzedRegions> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:470:42 #11 0x000000ffefa3ce54 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 0x000000ffefa3fb2c 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 0x000000ffefa3fd04 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 0x000000ffefb69154 llvm::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 0x000000ffefb69154 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #16 0x000000ffefb69154 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x000000ffefb69154 (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 0x000000ffef75909c 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 0x000000ffef78f9ac 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 0x000000ffef79008c 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 0x000000ffef795a18 clang::ento::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 0x000000ffef795c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #23 0x000000ffef795c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #24 0x000000ffefaa303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #25 0x000000ffefaa303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #26 0x000000ffefaa303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #27 0x000000ffefaa303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #28 0x000000ffefaa303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #29 0x000000ffefaa4224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #30 0x000000ffefaa4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #31 0x000000ffefaa4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #32 0x000000ffefaa8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #33 0x000000ffefaa8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #34 0x000000ffefaa8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #35 0x000000ffefaa8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #36 0x000000ffefaa8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #37 0x000000ffedcea978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #38 0x000000ffedcea978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #39 0x000000ffedcea978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #40 0x000000ffedcea978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #41 0x000000ffef563b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #42 0x000000ffef51f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #43 0x000000ffef51f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #44 0x000000ffef51f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #45 0x000000ffef5b39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #46 0x000000aaac21dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #47 0x000000aaac221b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #48 0x000000aaac223234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #49 0x000000aaac21a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #50 0x000000ffe62dc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #51 0x000000ffe62dc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #52 0x000000aaac21a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-uninitialized-object-notes-as-warnings.cpp.script: line 1: 3884188 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:NotesAsWarnings=true -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-notes-as-warnings.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-uninitialized-object-ptr-ref.cpp (643 of 19712) ******************** TEST 'Clang :: Analysis/cxx-uninitialized-object-ptr-ref.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea582bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea580c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea5833d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffda04648 (linux-vdso.so.1+0x648) #4 0x000000fff2c0cf7c retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000fff2c0cf7c retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff2c0cf7c retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff2c0cf7c IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff2c0cf7c ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff2c0cf7c MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff2c0cf7c get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000fff2c0cf7c 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 0x000000fff2c175ac llvm::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 0x000000fff2c175ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #14 0x000000fff2c175ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x000000fff2c175ac clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:429:50 #16 0x000000fff2c175ac 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:45 #17 0x000000fff2c18d9c clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:7 #18 0x000000fff2c18d9c clang::ento::AnyCXXConstructorCall::getInitialStackFrameContents(clang::StackFrameContext const*, llvm::SmallVectorImpl>&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:915:31 #19 0x000000fff2ccbb90 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #20 0x000000fff2ccbb90 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #21 0x000000fff2c77e7c clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #22 0x000000fff2c77e7c clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #23 0x000000fff2c78058 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #24 0x000000fff2c78058 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #25 0x000000fff2c78058 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #26 0x000000fff2c84020 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff2c84020 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff2c84020 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #29 0x000000fff2c84b88 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #30 0x000000fff2c84b88 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #31 0x000000fff2c84b88 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x000000fff2c84b88 clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #33 0x000000fff2c1d670 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:706:0 #34 0x000000fff2c82da0 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #35 0x000000fff2c82da0 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #36 0x000000fff2c82da0 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #37 0x000000fff2c82da0 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #38 0x000000fff2c82da0 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #39 0x000000fff2c82da0 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #40 0x000000fff2c82da0 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #41 0x000000fff2c3ecdc clang::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 0x000000fff2c3ecdc clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #43 0x000000fff2c3fe0c clang::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 0x000000fff2c4165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff2c4187c clang::ento::CoreEngine::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 0x000000fff2c41c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #47 0x000000fff2c41c70 clang::ento::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 0x000000fff2f4f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #49 0x000000fff2f4f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #50 0x000000fff2f4f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #51 0x000000fff2f4f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #52 0x000000fff2f4f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #53 0x000000fff2f50224 llvm::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 0x000000fff2f50224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #55 0x000000fff2f50224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #56 0x000000fff2f54604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x000000fff2f54604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x000000fff2f54604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #59 0x000000fff2f54604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #60 0x000000fff2f54604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #61 0x000000fff1196978 __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 0x000000fff1196978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #63 0x000000fff1196978 void clang::finalize>, 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 0x000000fff1196978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #65 0x000000fff2a0fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #66 0x000000fff29cb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #67 0x000000fff29cb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #68 0x000000fff29cb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #69 0x000000fff2a5f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #70 0x000000aaaddd9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #71 0x000000aaaddddb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #72 0x000000aaadddf234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #73 0x000000aaaddd6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #74 0x000000ffe97888c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #75 0x000000ffe97889cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #76 0x000000aaaddd60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-uninitialized-object-ptr-ref.cpp.script: line 2: 3884210 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-ptr-ref.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-uninitialized-object-unionlike-constructs.cpp (645 of 19712) ******************** TEST 'Clang :: Analysis/cxx-uninitialized-object-unionlike-constructs.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe721abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7218c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe721b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc618648 (linux-vdso.so.1+0x648) #4 0x000000ffef8a4f7c retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000ffef8a4f7c retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffef8a4f7c retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffef8a4f7c IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffef8a4f7c ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffef8a4f7c MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000ffef8a4f7c get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000ffef8a4f7c 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 0x000000ffef8af5ac llvm::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 0x000000ffef8af5ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #14 0x000000ffef8af5ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x000000ffef8af5ac clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:429:50 #16 0x000000ffef8af5ac 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:45 #17 0x000000ffef8b0d9c clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:7 #18 0x000000ffef8b0d9c clang::ento::AnyCXXConstructorCall::getInitialStackFrameContents(clang::StackFrameContext const*, llvm::SmallVectorImpl>&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:915:31 #19 0x000000ffef963b90 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #20 0x000000ffef963b90 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #21 0x000000ffef90fe7c clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #22 0x000000ffef90fe7c clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #23 0x000000ffef910058 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #24 0x000000ffef910058 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #25 0x000000ffef910058 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #26 0x000000ffef91c020 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000ffef91c020 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000ffef91c020 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #29 0x000000ffef91cb88 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #30 0x000000ffef91cb88 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #31 0x000000ffef91cb88 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x000000ffef91cb88 clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #33 0x000000ffef8b5670 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:706:0 #34 0x000000ffef91ada0 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #35 0x000000ffef91ada0 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #36 0x000000ffef91ada0 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #37 0x000000ffef91ada0 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #38 0x000000ffef91ada0 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #39 0x000000ffef91ada0 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #40 0x000000ffef91ada0 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #41 0x000000ffef8d6cdc clang::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 0x000000ffef8d6cdc clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #43 0x000000ffef8d7e0c clang::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 0x000000ffef8d965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef8d987c clang::ento::CoreEngine::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 0x000000ffef8d9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #47 0x000000ffef8d9c70 clang::ento::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 0x000000ffefbe703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #49 0x000000ffefbe703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #50 0x000000ffefbe703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #51 0x000000ffefbe703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #52 0x000000ffefbe703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #53 0x000000ffefbe8224 llvm::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 0x000000ffefbe8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #55 0x000000ffefbe8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #56 0x000000ffefbec604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x000000ffefbec604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x000000ffefbec604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #59 0x000000ffefbec604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #60 0x000000ffefbec604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #61 0x000000ffede2e978 __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 0x000000ffede2e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #63 0x000000ffede2e978 void clang::finalize>, 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 0x000000ffede2e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #65 0x000000ffef6a7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #66 0x000000ffef663354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #67 0x000000ffef663354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #68 0x000000ffef663354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #69 0x000000ffef6f79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #70 0x000000aaae77dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #71 0x000000aaae781b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #72 0x000000aaae783234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #73 0x000000aaae77a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #74 0x000000ffe64208c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #75 0x000000ffe64209cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #76 0x000000aaae77a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-uninitialized-object-unionlike-constructs.cpp.script: line 2: 3884219 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/dead-stores.c (646 of 19712) ******************** TEST 'Clang :: Analysis/dead-stores.c' FAILED ******************** Script: -- : 'RUN: at line 1'; "/usr/bin/python3.11" /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/check-analyzer-fixit.py /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dead-stores.c /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dead-stores.c.tmp.c:675:12: Error evaluating statement #0 0x000000ffe8e62bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8e60c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8e633d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcda0648 (linux-vdso.so.1+0x648) #4 0x000000fff15b09e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff15b09e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff15b09e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff15b09e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000fff15b09e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000fff15b09e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000fff1518278 llvm::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 0x000000fff1518278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000fff1518278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000fff1518278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000fff151fd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #15 0x000000fff151fd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #16 0x000000fff151fd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #17 0x000000fff151fd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #18 0x000000fff151fd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #19 0x000000fff151fd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #20 0x000000fff151fd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #21 0x000000fff151fd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #22 0x000000fff151fd94 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 #23 0x000000fff152165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff1521780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #25 0x000000fff1521a58 clang::ento::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 #26 0x000000fff1521c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000fff1521c70 clang::ento::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 0x000000fff182f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000fff182f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000fff182f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000fff182f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000fff182f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000fff1830224 llvm::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 0x000000fff1830224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000fff1830224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000fff1834604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000fff1834604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000fff1834604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000fff1834604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000fff1834604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000ffefa76978 __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 0x000000ffefa76978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x000000ffefa76978 void clang::finalize>, 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 0x000000ffefa76978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x000000fff12efb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x000000fff12ab354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x000000fff12ab354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x000000fff12ab354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x000000fff133f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #50 0x000000aaacc99c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x000000aaacc9db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x000000aaacc9f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x000000aaacc96034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x000000ffe80688c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #55 0x000000ffe80689cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #56 0x000000aaacc960a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang-17+0xe0a0) -- 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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dead-stores.c.tmp.c']' died with . -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxxctr-evalcall-analysis-order.cpp (647 of 19712) ******************** TEST 'Clang :: Analysis/cxxctr-evalcall-analysis-order.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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 0x000000fff0a23f68 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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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 0x000000fff0a23f68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 17: #6 0x000000fff0a23f68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18: #7 0x000000fff0a23f68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19: #8 0x000000fff0a23f68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 20: #9 0x000000fff0a23f68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 21: #10 0x000000fff0a23f68 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 0x000000fff0a23f68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23: #12 0x000000fff0a2bd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 24: #13 0x000000fff0a2bd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 25: #14 0x000000fff0a2bd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 26: #15 0x000000fff0a2bd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxxnewexpr-callback.cpp (648 of 19712) ******************** TEST 'Clang :: Analysis/cxxnewexpr-callback.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8dcabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 12: #1 0x000000ffe8dc8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 13: #2 0x000000ffe8dcb3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14: #3 0x000000fffce78648 (linux-vdso.so.1+0x648) next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/debug-container-modeling.cpp (649 of 19712) ******************** TEST 'Clang :: Analysis/debug-container-modeling.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8f06bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8f04c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8f073d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe630648 (linux-vdso.so.1+0x648) #4 0x000000fff15dd510 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000fff15dd510 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff15dd510 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff15dd510 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff15dd510 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff15dd510 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff15dd510 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000fff15dd510 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x000000fff15dd510 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x000000fff15dd608 (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 0x000000fff164a6e4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #15 0x000000fff164a6e4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #16 0x000000fff164a6e4 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #17 0x000000fff164a6e4 (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 #18 0x000000fff1649e7c clang::ento::BinarySymExprImpl::getLHS() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:443:0 #19 0x000000fff1649e7c VisitSymIntExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1271:0 #20 0x000000fff1649e7c 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 #21 0x000000fff1ab76f4 llvm::DenseMap, llvm::detail::DenseMapPair>::~DenseMap() /usr/include/llvm/ADT/DenseMap.h:782:0 #22 0x000000fff1ab76f4 ~Simplifier /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1211:0 #23 0x000000fff1ab76f4 (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 #24 0x000000fff1628030 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #25 0x000000fff1628030 (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 #26 0x000000fff1627664 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x000000fff1627664 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x000000fff1627664 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #29 0x000000fff1627768 clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #30 0x000000fff1635310 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 #31 0x000000fff1627d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #32 0x000000fff1627d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #33 0x000000fff1627d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #34 0x000000fff16403b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #35 0x000000fff16403b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #36 0x000000fff16403b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #37 0x000000fff16471d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #38 0x000000fff16471d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #39 0x000000fff16471d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #40 0x000000fff15a20e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #41 0x000000fff15a20e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #42 0x000000fff15a20e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #43 0x000000fff15a20e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #44 0x000000fff15a2688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x000000fff15a2688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x000000fff15a2688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #47 0x000000fff156ab4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #48 0x000000fff156ab4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #49 0x000000fff156ab4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #50 0x000000fff1749b98 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #51 0x000000fff1749b98 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #52 0x000000fff1749b98 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 #53 0x000000fff16baab8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #54 0x000000fff16baab8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #55 0x000000fff16baab8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #56 0x000000fff16baab8 createContainerBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:850:27 #57 0x000000fff16baab8 handleBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:258:33 #58 0x000000fff16baab8 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:193:20 #59 0x000000fff16baab8 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::ContainerModeling>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:46 #60 0x000000fff1598df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #61 0x000000fff1598df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x000000fff1598df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #63 0x000000fff1598df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #64 0x000000fff1598df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #65 0x000000fff15ea500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #66 0x000000fff15ea500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #67 0x000000fff15ea500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #68 0x000000fff15ea500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #69 0x000000fff15eae4c clang::ento::ExprEngine::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 #70 0x000000fff15c2d1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #71 0x000000fff15c2d1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #72 0x000000fff15c3e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #73 0x000000fff15c565c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #74 0x000000fff15c587c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #75 0x000000fff15c5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #76 0x000000fff15c5c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #77 0x000000fff18d303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #78 0x000000fff18d303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #79 0x000000fff18d303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #80 0x000000fff18d303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #81 0x000000fff18d303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #82 0x000000fff18d4224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #83 0x000000fff18d4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #84 0x000000fff18d4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #85 0x000000fff18d8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #86 0x000000fff18d8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #87 0x000000fff18d8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #88 0x000000fff18d8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #89 0x000000fff18d8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #90 0x000000ffefb1a978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #91 0x000000ffefb1a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #92 0x000000ffefb1a978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #93 0x000000ffefb1a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #94 0x000000fff1393b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #95 0x000000fff134f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #96 0x000000fff134f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #97 0x000000fff134f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #98 0x000000fff13e39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #99 0x000000aaad5c1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #100 0x000000aaad5c5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #101 0x000000aaad5c7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #102 0x000000aaad5be034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #103 0x000000ffe810c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #104 0x000000ffe810c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #105 0x000000aaad5be0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/debug-container-modeling.cpp.script: line 2: 3885084 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/dead-stores.m (651 of 19712) ******************** TEST 'Clang :: Analysis/dead-stores.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe992abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9928c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe992b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffeda4648 (linux-vdso.so.1+0x648) #4 0x000000fff23dd388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff23dd388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff23dd388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff23dd388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff23dd388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff23dd388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff23dd388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff23dd388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff20543a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff20543a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff20543a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff20543a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff20543a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff20543a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff20543a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff20543a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff2057dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff2057dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff2057dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff2057dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff204b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff204b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff204b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff20593b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff20593b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff20593b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff204bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff204bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff204bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff20643b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff20643b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff20643b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff206b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff206b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff206b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1fc6138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1fc6138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1fc6138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1fc6138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1fc6688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff1fc6688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff1fc6688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff1f8eb4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff1f8eb4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff1f8eb4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff1fda6c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff1fda6c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff1fda6c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000fff1fea010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff1fea010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff1fea010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff22f703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff22f703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff22f703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff22f703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff22f703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff22f8224 llvm::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 0x000000fff22f8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff22f8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff22fc604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff22fc604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff22fc604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff22fc604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff22fc604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000fff053e978 __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 0x000000fff053e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000fff053e978 void clang::finalize>, 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 0x000000fff053e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff1db7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff1d73354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff1d73354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff1d73354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff1e079a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaac375c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaac379b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaac37b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaac372034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe8b308c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe8b309cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaac3720a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dead-stores.m.script: line 1: 3884800 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=deadcode.DeadStores,osx.cocoa.RetainCount -fblocks -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dead-stores.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/debug-iterator-modeling.cpp (652 of 19712) ******************** TEST 'Clang :: Analysis/debug-iterator-modeling.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea5a6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea5a4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea5a73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffb70648 (linux-vdso.so.1+0x648) #4 0x000000fff2c82244 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff2c82244 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff2c82244 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff2c82244 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x000000fff2c82244 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x000000fff2c82244 Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:27 #10 0x000000fff2c82244 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:89 #11 0x000000fff2c82244 llvm::IntrusiveRefCntPtr clang::ento::ProgramState::set<(anonymous namespace)::ObjectsUnderConstruction>(clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:63 #12 0x000000fff2c5a10c 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:600:0 #13 0x000000fff2c8936c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #14 0x000000fff2c8936c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #15 0x000000fff2c8936c clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:463:62 #16 0x000000fff2ca5bd0 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x000000fff2ca5bd0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x000000fff2ca5bd0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x000000fff2ca5bd0 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 #20 0x000000fff2ca5bd0 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 #21 0x000000fff2ca7dfc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:206:0 #22 0x000000fff2ca7dfc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #23 0x000000fff2ca7dfc 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 #24 0x000000fff2ca88f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #25 0x000000fff2ca88f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #26 0x000000fff2ca88f4 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 #27 0x000000fff2c41670 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:706:0 #28 0x000000fff2c8a440 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #29 0x000000fff2c8a440 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #30 0x000000fff2c8a440 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #31 0x000000fff2c8a440 clang::ento::ExprEngine::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 #32 0x000000fff2c8ae4c clang::ento::ExprEngine::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 #33 0x000000fff2c62d1c clang::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 0x000000fff2c62d1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #35 0x000000fff2c63e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #36 0x000000fff2c6565c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #37 0x000000fff2c6587c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #38 0x000000fff2c65c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #39 0x000000fff2c65c70 clang::ento::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 0x000000fff2f7303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #41 0x000000fff2f7303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #42 0x000000fff2f7303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #43 0x000000fff2f7303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #44 0x000000fff2f7303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #45 0x000000fff2f74224 llvm::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 0x000000fff2f74224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x000000fff2f74224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #48 0x000000fff2f78604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x000000fff2f78604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x000000fff2f78604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x000000fff2f78604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x000000fff2f78604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x000000fff11ba978 __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 0x000000fff11ba978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x000000fff11ba978 void clang::finalize>, 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 0x000000fff11ba978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x000000fff2a33b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #58 0x000000fff29ef354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #59 0x000000fff29ef354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #60 0x000000fff29ef354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #61 0x000000fff2a839a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #62 0x000000aaae129c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x000000aaae12db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x000000aaae12f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x000000aaae126034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x000000ffe97ac8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #67 0x000000ffe97ac9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #68 0x000000aaae1260a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/debug-iterator-modeling.cpp.script: line 2: 3885162 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus -analyzer-checker=debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-iterator-modeling.cpp -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/delegates.m (655 of 19712) ******************** TEST 'Clang :: Analysis/delegates.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe885abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8858c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe885b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff40c648 (linux-vdso.so.1+0x648) #4 0x000000fff130d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff130d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff130d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff130d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff130d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff130d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff130d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff130d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff0f843a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff0f843a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff0f843a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff0f843a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff0f843a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff0f843a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff0f843a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff0f843a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0f87dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0f87dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0f87dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0f87dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0f7b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0f7b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0f7b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff0f893b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0f893b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0f893b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0f7bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0f7bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0f7bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff0f943b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff0f943b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff0f943b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff0f9b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff0f9b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff0f9b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0ef6138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0ef6138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0ef6138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0ef6138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff0ef6688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff0ef6688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff0ef6688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff0ebeb4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff0ebeb4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff0ebeb4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff0f0a6c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff0f0a6c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff0f0a6c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000fff0f1a010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff0f1a010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff0f1a010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff122703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff122703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff122703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff122703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff122703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff1228224 llvm::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 0x000000fff1228224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff1228224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff122c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff122c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff122c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff122c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff122c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffef46e978 __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 0x000000ffef46e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffef46e978 void clang::finalize>, 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 0x000000ffef46e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff0ce7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff0ca3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff0ca3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff0ca3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff0d379a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaab2e5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaab2e9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaab2eb234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaab2e2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe7a608c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe7a609cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaab2e20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/delegates.m.script: line 1: 3885192 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -Wno-objc-root-class -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/delegates.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/derived-to-base.cpp (656 of 19712) ******************** TEST 'Clang :: Analysis/derived-to-base.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe86bebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe86bcc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe86bf3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff7b4648 (linux-vdso.so.1+0x648) #4 0x000000fff0d73f68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff0d73f68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff0d73f68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff0d73f68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff0d73f68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff0d73f68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff0d73f68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff0d73f68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000fff0d7bd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x000000fff0d7bd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x000000fff0d7bd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x000000fff0d7bd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x000000fff0d7bd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x000000fff0d7bd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x000000fff0d7bd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x000000fff0d7bd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x000000fff0d7bd94 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 0x000000fff0d7d65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff0d7d780 clang::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 0x000000fff0d7da58 clang::ento::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 0x000000fff0d7dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x000000fff0d7dc70 clang::ento::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 0x000000fff108b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff108b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff108b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x000000fff108b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x000000fff108b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x000000fff108c224 llvm::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 0x000000fff108c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x000000fff108c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x000000fff1090604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x000000fff1090604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x000000fff1090604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x000000fff1090604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x000000fff1090604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x000000ffef2d2978 __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 0x000000ffef2d2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x000000ffef2d2978 void clang::finalize>, 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 0x000000ffef2d2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x000000fff0b4bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x000000fff0b07354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x000000fff0b07354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x000000fff0b07354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x000000fff0b9b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000000aaabdf5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000000aaabdf9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000000aaabdfb234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000000aaabdf2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x000000ffe78c48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #53 0x000000ffe78c49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #54 0x000000aaabdf20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/derived-to-base.cpp.script: line 2: 3885217 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (657 of 19712) ******************** TEST 'Clang :: Analysis/debug-exprinspection-istainted.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe93f6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe93f4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe93f73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc4a0648 (linux-vdso.so.1+0x648) #4 0x000000fff1e9f688 llvm::ImutAVLTree>>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1e9f688 llvm::IntrusiveRefCntPtrInfo>>>>::retain(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1e9f688 llvm::IntrusiveRefCntPtr>>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1e9f688 llvm::IntrusiveRefCntPtr>>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1e9f688 llvm::ImmutableMap>, llvm::ImutKeyValueInfo>>>::ImmutableMap(llvm::ImutAVLTree>>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1e9f688 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 0x000000fff1e9f688 get<(anonymous namespace)::TaintArgsOnPostVisit> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1e9f688 (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 0x000000fff1a88df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #13 0x000000fff1a88df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x000000fff1a88df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #15 0x000000fff1a88df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #16 0x000000fff1a88df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #17 0x000000fff1ada500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #18 0x000000fff1ada500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #19 0x000000fff1ada500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #20 0x000000fff1ada500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #21 0x000000fff1adae4c clang::ento::ExprEngine::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 #22 0x000000fff1ab2d1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #23 0x000000fff1ab2d1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #24 0x000000fff1ab3e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #25 0x000000fff1ab565c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #26 0x000000fff1ab587c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #27 0x000000fff1ab5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #28 0x000000fff1ab5c70 clang::ento::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 0x000000fff1dc303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x000000fff1dc303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x000000fff1dc303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #32 0x000000fff1dc303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #33 0x000000fff1dc303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #34 0x000000fff1dc4224 llvm::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 0x000000fff1dc4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x000000fff1dc4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #37 0x000000fff1dc8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x000000fff1dc8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x000000fff1dc8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x000000fff1dc8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x000000fff1dc8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x000000fff000a978 __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 0x000000fff000a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x000000fff000a978 void clang::finalize>, 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 0x000000fff000a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x000000fff1883b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #47 0x000000fff183f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #48 0x000000fff183f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #49 0x000000fff183f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #50 0x000000fff18d39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #51 0x000000aaae15dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x000000aaae161b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x000000aaae163234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x000000aaae15a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x000000ffe85fc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #56 0x000000ffe85fc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #57 0x000000aaae15a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/debug-exprinspection-istainted.c.script: line 1: 3885120 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/diagnostics/deref-track-symbolic-region.cpp (658 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/deref-track-symbolic-region.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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:19:2: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/deref-track-symbolic-region.cpp:19:2: Error evaluating statement #0 0x000000ffe8fa2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8fa0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8fa33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc624648 (linux-vdso.so.1+0x648) #4 0x000000fff1a55388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1a55388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1a55388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1a55388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1a55388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1a55388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1a55388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1a55388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff16cc3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff16cc3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff16cc3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff16cc3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff16cc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff16cc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff16cc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff16cc3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff16cfdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff16cfdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff16cfdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff16cfdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff16c3430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff16c3430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff16c3430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff16d13b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff16d13b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff16d13b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff16c3d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff16c3d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff16c3d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff16dc3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff16dc3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff16dc3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff16e31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff16e31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff16e31d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff163e138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff163e138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff163e138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff163e138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1b94114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff1b94114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff1b94114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff17869f8 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #47 0x000000fff17869f8 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #48 0x000000fff17869f8 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #49 0x000000fff17869f8 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #50 0x000000fff17869f8 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #51 0x000000fff17869f8 checkBind /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:301:0 #52 0x000000fff17869f8 void clang::ento::check::Bind::_checkBind<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, clang::ento::SVal const&, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:215:0 #53 0x000000fff162656c void expandGraphWithCheckers<(anonymous namespace)::CheckBindContext>((anonymous namespace)::CheckBindContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #54 0x000000fff1660898 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #55 0x000000fff1660898 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #56 0x000000fff1660898 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #57 0x000000fff1660898 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #58 0x000000fff1660898 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #59 0x000000fff1660898 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #60 0x000000fff1660898 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:3571:0 #61 0x000000fff1692bd4 clang::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 0x000000fff1692bd4 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 #63 0x000000fff165f194 clang::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 0x000000fff165f194 clang::ento::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 #65 0x000000fff165fe0c clang::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 0x000000fff166165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff166187c clang::ento::CoreEngine::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 0x000000fff1661c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #69 0x000000fff1661c70 clang::ento::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 0x000000fff196f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #71 0x000000fff196f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #72 0x000000fff196f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #73 0x000000fff196f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #74 0x000000fff196f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #75 0x000000fff1970224 llvm::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 0x000000fff1970224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x000000fff1970224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #78 0x000000fff1974604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x000000fff1974604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x000000fff1974604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x000000fff1974604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x000000fff1974604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x000000ffefbb6978 __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 0x000000ffefbb6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x000000ffefbb6978 void clang::finalize>, 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 0x000000ffefbb6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x000000fff142fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #88 0x000000fff13eb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #89 0x000000fff13eb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #90 0x000000fff13eb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #91 0x000000fff147f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #92 0x000000aaab481c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x000000aaab485b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x000000aaab487234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x000000aaab47e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x000000ffe81a88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #97 0x000000ffe81a89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #98 0x000000aaab47e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/deref-track-symbolic-region.cpp.script: line 1: 3886075 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/deref-track-symbolic-region.c (661 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/deref-track-symbolic-region.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe9d5abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9d58c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9d5b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffe78648 (linux-vdso.so.1+0x648) #4 0x000000fff280d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff280d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff280d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff280d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff280d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff280d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff280d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff280d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff24843a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff24843a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff24843a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff24843a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff24843a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff24843a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff24843a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff24843a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff2487dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff2487dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff2487dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff2487dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff247b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff247b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff247b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff24893b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff24893b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff24893b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff247bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff247bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff247bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff24943b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff24943b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff24943b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff249b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff249b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff249b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff23f6138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff23f6138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff23f6138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff23f6138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff294c114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff294c114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff294c114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff2407190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff2407190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff2407190 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:0 #49 0x000000fff2407190 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:0 #50 0x000000fff2407190 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:0 #51 0x000000fff2407190 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:0 #52 0x000000fff2407190 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:0 #53 0x000000fff2407190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff2407190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff2407190 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:0 #56 0x000000fff24077ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff2419c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff2419c70 clang::ento::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 0x000000fff272703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff272703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff272703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff272703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff272703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff2728224 llvm::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 0x000000fff2728224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff2728224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff272c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff272c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff272c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff272c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff272c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000fff096e978 __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 0x000000fff096e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000fff096e978 void clang::finalize>, 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 0x000000fff096e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff21e7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff21a3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff21a3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff21a3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff22379a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaaad49c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaaad4db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaaad4f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaaad46034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe8f608c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe8f609cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaaad460a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/deref-track-symbolic-region.c.script: line 3: 3885524 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/deref-track-symbolic-region.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/explicit-suppression.cpp (662 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/explicit-suppression.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9bcebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9bccc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9bcf3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffde58648 (linux-vdso.so.1+0x648) #4 0x000000fff22f8a78 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff22f8a78 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff22f8a78 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff22f8a78 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff22f8a78 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff22f8a78 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff22f8a78 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff22f8a78 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2507:63 #12 0x000000fff22f8a78 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2494:46 #13 0x000000fff22f8a78 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2487:73 #14 0x000000fff22f8a78 trackDisequality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2155:72 #15 0x000000fff22f8a78 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2241:31 #16 0x000000fff22f8a78 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #17 0x000000fff22f8a78 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #18 0x000000fff22f8a78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #19 0x000000fff22f8a78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #20 0x000000fff22f8a78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #21 0x000000fff22f8a78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #22 0x000000fff22fbaec llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #23 0x000000fff22fbaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #24 0x000000fff22fbaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x000000fff22fbaec (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:31 #26 0x000000fff22ef430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x000000fff22ef430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x000000fff22ef430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, 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 0x000000fff22fd670 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x000000fff22fd670 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x000000fff22fd670 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 0x000000fff22efd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x000000fff22efd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x000000fff22efd18 clang::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 0x000000fff23083b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #36 0x000000fff23083b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #37 0x000000fff23083b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #38 0x000000fff230f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #39 0x000000fff230f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #40 0x000000fff230f1d4 clang::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 0x000000fff226a0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #42 0x000000fff226a0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #43 0x000000fff226a0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #44 0x000000fff226a0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #45 0x000000fff227fe4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #46 0x000000fff227fe4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #47 0x000000fff227fe4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #48 0x000000fff227fe4c 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:0 #49 0x000000fff228bb90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #50 0x000000fff228bb90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #51 0x000000fff228bb90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #52 0x000000fff228bb90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #53 0x000000fff228bb90 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #54 0x000000fff228be0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x000000fff228d65c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x000000fff228d87c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x000000fff228dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff228dc70 clang::ento::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 0x000000fff259b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff259b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff259b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff259b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff259b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff259c224 llvm::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 0x000000fff259c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff259c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff25a0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff25a0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff25a0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff25a0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff25a0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000fff07e2978 __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 0x000000fff07e2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000fff07e2978 void clang::finalize>, 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 0x000000fff07e2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff205bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff2017354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff2017354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff2017354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff20ab9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaae005c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaae009b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaae00b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaae002034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe8dd48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe8dd49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaae0020a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/explicit-suppression.cpp.script: line 3: 3886131 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config suppress-c++-stdlib=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/explicit-suppression.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/dtors.cpp (663 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/dtors.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6b5ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6b5cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6b5f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffdbe0648 (linux-vdso.so.1+0x648) #4 0x000000ffef611388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef611388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef611388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef611388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef611388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef611388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef611388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef611388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef2883a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef2883a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef2883a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef2883a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef2883a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef2883a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef2883a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef2883a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef28bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef28bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef28bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef28bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef27f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef27f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef27f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef28d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef28d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef28d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef27fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef27fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef27fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef2983b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef2983b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef2983b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef29f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef29f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef29f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef1fa138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef1fa138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef1fa138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef1fa138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffef750114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000ffef750114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000ffef750114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000ffef20b190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000ffef20b190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000ffef20b190 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:0 #49 0x000000ffef20b190 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:0 #50 0x000000ffef20b190 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:0 #51 0x000000ffef20b190 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:0 #52 0x000000ffef20b190 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:0 #53 0x000000ffef20b190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000ffef20b190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000ffef20b190 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:0 #56 0x000000ffef20b7ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000ffef21dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000ffef21dc70 clang::ento::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 0x000000ffef52b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000ffef52b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000ffef52b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000ffef52b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000ffef52b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000ffef52c224 llvm::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 0x000000ffef52c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000ffef52c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000ffef530604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000ffef530604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000ffef530604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000ffef530604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000ffef530604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffed772978 __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 0x000000ffed772978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffed772978 void clang::finalize>, 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 0x000000ffed772978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000ffeefebb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000ffeefa7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000ffeefa7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000ffeefa7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000ffef03b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaac705c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaac709b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaac70b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaac702034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe5d648c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe5d649cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaac7020a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/dtors.cpp.script: line 1: 3886089 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/false-positive-suppression.c (667 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/false-positive-suppression.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7836bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7834c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe78373d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe4ec648 (linux-vdso.so.1+0x648) #4 0x000000fff02cd7f4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff02cd7f4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff02cd7f4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff02cd7f4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff02cd7f4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff02cd7f4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff02cd7f4 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff02cd7f4 (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 0x000000fff0095fc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x000000fff0095fc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x000000fff0095fc8 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 0x000000ffefec7a28 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x000000ffefec7a28 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x000000ffefec7a28 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:29 #18 0x000000ffefec7a28 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x000000ffeff7043c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x000000ffeff7043c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x000000ffeff7043c clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x000000ffeff7043c clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x000000ffeff771d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x000000ffeff771d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x000000ffeff771d4 clang::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 0x000000ffefed2230 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000ffefed2230 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000ffefed2230 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x000000ffefed2230 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:0 #30 0x000000fff0428114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0428114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0428114 clang::ento::ProgramState::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 0x000000fff00b8554 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x000000fff00b8554 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x000000fff00b8554 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x000000fff00b8554 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x000000fff00b8554 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x000000fff00b8554 (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 0x000000fff00b8a4c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #40 0x000000fff00b8a4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #41 0x000000fff00b8a4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #42 0x000000fff00b8a4c (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 #43 0x000000fff00c5610 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #44 0x000000fff00c5610 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 #45 0x000000ffefec8df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #46 0x000000ffefec8df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x000000ffefec8df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #48 0x000000ffefec8df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #49 0x000000ffefec8df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #50 0x000000ffeff1a500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #51 0x000000ffeff1a500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #52 0x000000ffeff1a500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #53 0x000000ffeff1a500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #54 0x000000ffeff1ae4c clang::ento::ExprEngine::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 0x000000ffefef2d1c clang::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 0x000000ffefef2d1c clang::ento::ExprEngine::Visit(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 0x000000ffefef3e0c clang::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 0x000000ffefef565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffefef587c clang::ento::CoreEngine::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 0x000000ffefef5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #61 0x000000ffefef5c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #62 0x000000fff020303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #63 0x000000fff020303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #64 0x000000fff020303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #65 0x000000fff020303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #66 0x000000fff020303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #67 0x000000fff0204224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #68 0x000000fff0204224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #69 0x000000fff0204224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #70 0x000000fff0208604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x000000fff0208604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x000000fff0208604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #73 0x000000fff0208604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #74 0x000000fff0208604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #75 0x000000ffee44a978 __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 0x000000ffee44a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #77 0x000000ffee44a978 void clang::finalize>, 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 0x000000ffee44a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #79 0x000000ffefcc3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #80 0x000000ffefc7f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #81 0x000000ffefc7f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #82 0x000000ffefc7f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #83 0x000000ffefd139a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #84 0x000000aaaac99c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #85 0x000000aaaac9db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #86 0x000000aaaac9f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #87 0x000000aaaac96034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #88 0x000000ffe6a3c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #89 0x000000ffe6a3c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #90 0x000000aaaac960a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/false-positive-suppression.c.script: line 1: 3886175 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -I /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/Inputs -analyzer-checker=core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/false-positive-suppression.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/initializer.cpp (668 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/initializer.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe70f6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe70f4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe70f73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff6a0648 (linux-vdso.so.1+0x648) #4 0x000000ffef7abf68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000ffef7abf68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffef7abf68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffef7abf68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffef7abf68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffef7abf68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000ffef7abf68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000ffef7abf68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000ffef7b3d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x000000ffef7b3d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x000000ffef7b3d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x000000ffef7b3d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x000000ffef7b3d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x000000ffef7b3d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x000000ffef7b3d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x000000ffef7b3d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x000000ffef7b3d94 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 0x000000ffef7b565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef7b5780 clang::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 0x000000ffef7b5a58 clang::ento::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 0x000000ffef7b5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x000000ffef7b5c70 clang::ento::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 0x000000ffefac303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000ffefac303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000ffefac303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x000000ffefac303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x000000ffefac303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x000000ffefac4224 llvm::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 0x000000ffefac4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x000000ffefac4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x000000ffefac8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x000000ffefac8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x000000ffefac8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x000000ffefac8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x000000ffefac8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x000000ffedd0a978 __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 0x000000ffedd0a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x000000ffedd0a978 void clang::finalize>, 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 0x000000ffedd0a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x000000ffef583b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x000000ffef53f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x000000ffef53f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x000000ffef53f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x000000ffef5d39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000000aaae175c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000000aaae179b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000000aaae17b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000000aaae172034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x000000ffe62fc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #53 0x000000ffe62fc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #54 0x000000aaae1720a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/initializer.cpp.script: line 1: 3886269 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/initializer.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/implicit-cxx-std-suppression.cpp (669 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/implicit-cxx-std-suppression.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe800ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe800cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe800f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe608648 (linux-vdso.so.1+0x648) #4 0x000000fff0ac1390 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0ac1390 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0ac1390 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0ac1390 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0ac1390 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0ac1390 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0ac1390 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0ac1390 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff07383a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff07383a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff07383a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff07383a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff07383a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff07383a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff07383a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff07383a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff073bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff073bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff073bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff073bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff072f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff072f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff072f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff073d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff073d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff073d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff072fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff072fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff072fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff07483b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff07483b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff07483b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff074f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff074f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff074f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff06aa138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff06aa138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff06aa138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff06aa138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff06aa688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff06aa688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff06aa688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff07119ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff07119ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff07119ac clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff07119ac clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #50 0x000000fff06c4d50 clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1318:0 #51 0x000000fff06cd6a8 clang::ento::ExprEngine::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 #52 0x000000fff06cd780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #53 0x000000fff06cda58 clang::ento::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 #54 0x000000fff06cdc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x000000fff06cdc70 clang::ento::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 0x000000fff09db03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x000000fff09db03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x000000fff09db03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x000000fff09db03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x000000fff09db03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x000000fff09dc224 llvm::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 0x000000fff09dc224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x000000fff09dc224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x000000fff09e0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x000000fff09e0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x000000fff09e0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x000000fff09e0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x000000fff09e0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x000000ffeec22978 __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 0x000000ffeec22978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x000000ffeec22978 void clang::finalize>, 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 0x000000ffeec22978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x000000fff049bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x000000fff0457354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x000000fff0457354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x000000fff0457354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x000000fff04eb9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x000000aaae765c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x000000aaae769b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x000000aaae76b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x000000aaae762034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x000000ffe72148c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #83 0x000000ffe72149cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #84 0x000000aaae7620a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/implicit-cxx-std-suppression.cpp.script: line 4: 3886262 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/invalid-srcloc-fix.cpp (671 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/invalid-srcloc-fix.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe83aebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe83acc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe83af3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcc58648 (linux-vdso.so.1+0x648) #4 0x000000fff0a38f7c retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000fff0a38f7c retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff0a38f7c retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff0a38f7c IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff0a38f7c ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff0a38f7c MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff0a38f7c get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000fff0a38f7c 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 0x000000fff0a604d4 llvm::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 0x000000fff0a604d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x000000fff0a604d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x000000fff0a604d4 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 0x000000fff0a903b0 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #17 0x000000fff0a903b0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #18 0x000000fff0a903b0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #19 0x000000fff0a903b0 clang::ento::ExprEngine::CreateCXXTemporaryObject(clang::MaterializeTemporaryExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:38:40 #20 0x000000fff0a6a934 clang::ento::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 #21 0x000000fff0a6be0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #22 0x000000fff0a6d65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff0a6d87c clang::ento::CoreEngine::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 0x000000fff0a6dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x000000fff0a6dc70 clang::ento::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 0x000000fff0d7b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff0d7b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff0d7b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x000000fff0d7b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x000000fff0d7b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x000000fff0d7c224 llvm::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 0x000000fff0d7c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x000000fff0d7c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x000000fff0d80604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x000000fff0d80604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x000000fff0d80604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x000000fff0d80604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x000000fff0d80604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x000000ffeefc2978 __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 0x000000ffeefc2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x000000ffeefc2978 void clang::finalize>, 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 0x000000ffeefc2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x000000fff083bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x000000fff07f7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x000000fff07f7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x000000fff07f7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x000000fff088b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000000aaad1c5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000000aaad1c9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000000aaad1cb234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000000aaad1c2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x000000ffe75b48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #53 0x000000ffe75b49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #54 0x000000aaad1c20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/invalid-srcloc-fix.cpp.script: line 1: 3886281 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/find_last_store.c (672 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/find_last_store.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe86b6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe86b4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe86b73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd574648 (linux-vdso.so.1+0x648) #4 0x000000fff1169388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1169388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1169388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1169388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1169388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1169388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1169388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1169388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff0de03a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff0de03a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff0de03a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff0de03a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff0de03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff0de03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff0de03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff0de03a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0de3dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0de3dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0de3dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0de3dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0dd7430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0dd7430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0dd7430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff0de53b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0de53b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0de53b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0dd7d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0dd7d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0dd7d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff0df03b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff0df03b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff0df03b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff0df71d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff0df71d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff0df71d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0d52138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0d52138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0d52138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0d52138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff12a8114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff12a8114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff12a8114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff0d63190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff0d63190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff0d63190 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:0 #49 0x000000fff0d63190 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:0 #50 0x000000fff0d63190 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:0 #51 0x000000fff0d63190 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:0 #52 0x000000fff0d63190 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:0 #53 0x000000fff0d63190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff0d63190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff0d63190 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:0 #56 0x000000fff0d637ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff0d75c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff0d75c70 clang::ento::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 0x000000fff108303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff108303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff108303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff108303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff108303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff1084224 llvm::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 0x000000fff1084224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff1084224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff1088604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff1088604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff1088604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff1088604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff1088604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffef2ca978 __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 0x000000ffef2ca978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffef2ca978 void clang::finalize>, 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 0x000000ffef2ca978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff0b43b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff0aff354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff0aff354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff0aff354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff0b939a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaac875c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaac879b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaac87b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaac872034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe78bc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe78bc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaac8720a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/find_last_store.c.script: line 1: 3886248 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/macro-null-return-suppression.cpp (673 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/macro-null-return-suppression.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9b82bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9b80c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9b833d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffe60648 (linux-vdso.so.1+0x648) #4 0x000000fff2635388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2635388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2635388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2635388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2635388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2635388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2635388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2635388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff22ac3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff22ac3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff22ac3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff22ac3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff22ac3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff22ac3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff22ac3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff22ac3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff22afdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff22afdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff22afdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff22afdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff22a3430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff22a3430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff22a3430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff22b13b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff22b13b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff22b13b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff22a3d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff22a3d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff22a3d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff22bc3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff22bc3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff22bc3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff22c31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff22c31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff22c31d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff221e138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff221e138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff221e138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff221e138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff2774114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff2774114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff2774114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff222f190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff222f190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff222f190 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:0 #49 0x000000fff222f190 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:0 #50 0x000000fff222f190 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:0 #51 0x000000fff222f190 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:0 #52 0x000000fff222f190 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:0 #53 0x000000fff222f190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff222f190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff222f190 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:0 #56 0x000000fff222f7ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff2241c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff2241c70 clang::ento::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 0x000000fff254f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff254f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff254f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff254f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff254f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff2550224 llvm::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 0x000000fff2550224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff2550224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff2554604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff2554604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff2554604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff2554604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff2554604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000fff0796978 __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 0x000000fff0796978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000fff0796978 void clang::finalize>, 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 0x000000fff0796978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff200fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff1fcb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff1fcb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff1fcb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff205f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaab305c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaab309b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaab30b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaab302034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe8d888c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe8d889cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaab3020a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/macro-null-return-suppression.cpp.script: line 1: 3887093 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macro-null-return-suppression.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/no-store-func-path-notes.c (674 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/no-store-func-path-notes.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea4f6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea4f4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea4f73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffffac648 (linux-vdso.so.1+0x648) #4 0x000000fff2fa9388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2fa9388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2fa9388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2fa9388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2fa9388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2fa9388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2fa9388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2fa9388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff2c203a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff2c203a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff2c203a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff2c203a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff2c203a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff2c203a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff2c203a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff2c203a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff2c23dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff2c23dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff2c23dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff2c23dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff2c17430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff2c17430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff2c17430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff2c253b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff2c253b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff2c253b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff2c17d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff2c17d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff2c17d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff2c303b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff2c303b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff2c303b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff2c371d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff2c371d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff2c371d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff2b92138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff2b92138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff2b92138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff2b92138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff30e8114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff30e8114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff30e8114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff2ba3190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff2ba3190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff2ba3190 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:0 #49 0x000000fff2ba3190 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:0 #50 0x000000fff2ba3190 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:0 #51 0x000000fff2ba3190 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:0 #52 0x000000fff2ba3190 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:0 #53 0x000000fff2ba3190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff2ba3190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff2ba3190 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:0 #56 0x000000fff2ba37ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff2bb5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff2bb5c70 clang::ento::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 0x000000fff2ec303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff2ec303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff2ec303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff2ec303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff2ec303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff2ec4224 llvm::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 0x000000fff2ec4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff2ec4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff2ec8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff2ec8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff2ec8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff2ec8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff2ec8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000fff110a978 __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 0x000000fff110a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000fff110a978 void clang::finalize>, 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 0x000000fff110a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff2983b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff293f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff293f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff293f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff29d39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaabcedc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaabcf1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaabcf3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaabcea034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe96fc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe96fc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaabcea0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/no-store-func-path-notes.c.script: line 1: 3887146 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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.cpp (675 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/macros.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe93a2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe93a0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe93a33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffdf34648 (linux-vdso.so.1+0x648) #4 0x000000fff1e55388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1e55388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1e55388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1e55388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1e55388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1e55388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1e55388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1e55388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff1acc3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff1acc3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff1acc3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff1acc3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff1acc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff1acc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff1acc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff1acc3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1acfdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1acfdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1acfdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1acfdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1ac3430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1ac3430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1ac3430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff1ad13b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff1ad13b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff1ad13b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1ac3d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1ac3d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1ac3d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff1adc3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff1adc3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff1adc3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff1ae31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff1ae31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff1ae31d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1a3e138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1a3e138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1a3e138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1a3e138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1a53e4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff1a53e4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff1a53e4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000fff1a53e4c 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:0 #47 0x000000fff1a5fb90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000fff1a5fb90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000fff1a5fb90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000fff1a5fb90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000fff1a5fb90 clang::ento::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 #52 0x000000fff1a5fe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000fff1a6165c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000fff1a6187c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000fff1a61c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000fff1a61c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000fff1d6f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff1d6f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff1d6f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000fff1d6f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000fff1d6f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000fff1d70224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000fff1d70224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000fff1d70224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000fff1d74604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000fff1d74604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000fff1d74604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000fff1d74604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000fff1d74604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000ffeffb6978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000ffeffb6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000ffeffb6978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000ffeffb6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000fff182fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000fff17eb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000fff17eb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000fff17eb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000fff187f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaaea25c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaaea29b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaaea2b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaaea22034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe85a88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe85a89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaaea220a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/macros.cpp.script: line 1: 3887110 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,osx -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macros.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/macros.m (676 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/macros.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe70e6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe70e4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe70e73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd0b8648 (linux-vdso.so.1+0x648) #4 0x000000ffefb99388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffefb99388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffefb99388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffefb99388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffefb99388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffefb99388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffefb99388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffefb99388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef8103a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef8103a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef8103a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef8103a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef8103a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef8103a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef8103a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef8103a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef813dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef813dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef813dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef813dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef807430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef807430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef807430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef8153b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef8153b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef8153b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef807d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef807d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef807d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef8203b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef8203b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef8203b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef8271d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef8271d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef8271d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef7820e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef7820e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef7820e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef7820e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000ffef797e4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffef797e4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffef797e4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000ffef797e4c 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:0 #47 0x000000ffef7a3b90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000ffef7a3b90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000ffef7a3b90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000ffef7a3b90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000ffef7a3b90 clang::ento::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 #52 0x000000ffef7a3e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000ffef7a565c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000ffef7a587c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000ffef7a5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000ffef7a5c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000ffefab303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000ffefab303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000ffefab303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000ffefab303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000ffefab303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000ffefab4224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000ffefab4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000ffefab4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000ffefab8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000ffefab8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000ffefab8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000ffefab8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000ffefab8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000ffedcfa978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000ffedcfa978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000ffedcfa978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000ffedcfa978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000ffef573b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000ffef52f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000ffef52f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000ffef52f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000ffef5c39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaab44dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaab451b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaab453234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaab44a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe62ec8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe62ec9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaab44a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/macros.m.script: line 1: 3887125 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -fblocks -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macros.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/no-store-func-path-notes.cpp (677 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/no-store-func-path-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9c6abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9c68c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9c6b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd2d0648 (linux-vdso.so.1+0x648) #4 0x000000fff2323664 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff2323664 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff2323664 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff2323664 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff2323664 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff2323664 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff2323664 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff2323664 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 0x000000fff232408c 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 0x000000fff2329a18 clang::ento::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 0x000000fff2329c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x000000fff2329c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x000000fff263703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x000000fff263703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x000000fff263703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x000000fff263703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x000000fff263703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x000000fff2638224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x000000fff2638224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x000000fff2638224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x000000fff263c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x000000fff263c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x000000fff263c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x000000fff263c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x000000fff263c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x000000fff087e978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x000000fff087e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x000000fff087e978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x000000fff087e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x000000fff20f7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x000000fff20b3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x000000fff20b3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x000000fff20b3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x000000fff21479a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000000aaac8bdc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000000aaac8c1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000000aaac8c3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000000aaac8ba034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x000000ffe8e708c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #43 0x000000ffe8e709cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #44 0x000000aaac8ba0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/no-store-func-path-notes.cpp.script: line 1: 3887169 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (678 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/plist-diagnostics-include-check.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/plist-diagnostics-include-check.cpp.tmp.plist 1. parser at end of file #0 0x000000ffe67d2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe67d0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe67d33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc27c648 (linux-vdso.so.1+0x648) #4 0x000000ffeee8b664 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000ffeee8b664 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffeee8b664 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffeee8b664 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffeee8b664 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffeee8b664 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000ffeee8b664 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000ffeee8b664 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 0x000000ffeee8c08c 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 0x000000ffeee91a18 clang::ento::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 0x000000ffeee91c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x000000ffeee91c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x000000ffef19f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x000000ffef19f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x000000ffef19f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x000000ffef19f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x000000ffef19f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x000000ffef1a0224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x000000ffef1a0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x000000ffef1a0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x000000ffef1a4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x000000ffef1a4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x000000ffef1a4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x000000ffef1a4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x000000ffef1a4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x000000ffed3e6978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x000000ffed3e6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x000000ffed3e6978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x000000ffed3e6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x000000ffeec5fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x000000ffeec1b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x000000ffeec1b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x000000ffeec1b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x000000ffeecaf9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000000aaab451c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000000aaab455b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000000aaab457234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000000aaab44e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x000000ffe59d88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #43 0x000000ffe59d89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #44 0x000000aaab44e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/plist-diagnostics-include-check.cpp.script: line 2: 3887183 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/plist-diagnostics-include-check.cpp.tmp.plist -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/no-store-func-path-notes.m (679 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/no-store-func-path-notes.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe93eabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe93e8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe93eb3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcfdc648 (linux-vdso.so.1+0x648) #4 0x000000fff1e9d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1e9d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1e9d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1e9d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1e9d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1e9d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1e9d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1e9d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff1b143a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff1b143a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff1b143a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff1b143a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff1b143a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff1b143a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff1b143a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff1b143a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1b17dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1b17dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1b17dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1b17dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1b0b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1b0b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1b0b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff1b193b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff1b193b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff1b193b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1b0bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1b0bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1b0bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff1b243b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff1b243b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff1b243b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff1b2b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff1b2b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff1b2b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1a86138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1a86138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1a86138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1a86138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1a86688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff1a86688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff1a86688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff1a4eb4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff1a4eb4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff1a4eb4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff1a9a6c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff1a9a6c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff1a9a6c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000fff1aaa010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff1aaa010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff1aaa010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff1db703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff1db703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff1db703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff1db703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff1db703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff1db8224 llvm::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 0x000000fff1db8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff1db8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff1dbc604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff1dbc604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff1dbc604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff1dbc604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff1dbc604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffefffe978 __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 0x000000ffefffe978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffefffe978 void clang::finalize>, 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 0x000000ffefffe978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff1877b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff1833354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff1833354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff1833354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff18c79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaaba1dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaaba21b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaaba23234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaaba1a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe85f08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe85f09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaaba1a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/no-store-func-path-notes.m.script: line 1: 3887178 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x objective-c -analyzer-checker=core,nullability -analyzer-output=text -Wno-objc-root-class -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/no-store-func-path-notes.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/sarif-diagnostics-taint-test.c (680 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/sarif-diagnostics-taint-test.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-08-16 20:10:29.667244260 +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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9806bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9804c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe98073d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffefc0648 (linux-vdso.so.1+0x648) #4 0x000000fff22af688 llvm::ImutAVLTree>>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff22af688 llvm::IntrusiveRefCntPtrInfo>>>>::retain(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff22af688 llvm::IntrusiveRefCntPtr>>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff22af688 llvm::IntrusiveRefCntPtr>>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff22af688 llvm::ImmutableMap>, llvm::ImutKeyValueInfo>>>::ImmutableMap(llvm::ImutAVLTree>>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff22af688 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 0x000000fff22af688 get<(anonymous namespace)::TaintArgsOnPostVisit> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff22af688 (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 0x000000fff1e98df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #13 0x000000fff1e98df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x000000fff1e98df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #15 0x000000fff1e98df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #16 0x000000fff1e98df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #17 0x000000fff1eea500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #18 0x000000fff1eea500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #19 0x000000fff1eea500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #20 0x000000fff1eea500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #21 0x000000fff1eeae4c clang::ento::ExprEngine::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 #22 0x000000fff1ec2d1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #23 0x000000fff1ec2d1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #24 0x000000fff1ec3e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #25 0x000000fff1ec565c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #26 0x000000fff1ec587c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #27 0x000000fff1ec5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #28 0x000000fff1ec5c70 clang::ento::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 0x000000fff21d303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x000000fff21d303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x000000fff21d303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #32 0x000000fff21d303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #33 0x000000fff21d303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #34 0x000000fff21d4224 llvm::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 0x000000fff21d4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x000000fff21d4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #37 0x000000fff21d8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x000000fff21d8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x000000fff21d8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x000000fff21d8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x000000fff21d8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x000000fff041a978 __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 0x000000fff041a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x000000fff041a978 void clang::finalize>, 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 0x000000fff041a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x000000fff1c93b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #47 0x000000fff1c4f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #48 0x000000fff1c4f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #49 0x000000fff1c4f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #50 0x000000fff1ce39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #51 0x000000aaab10dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x000000aaab111b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x000000aaab113234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x000000aaab10a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x000000ffe8a0c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #56 0x000000ffe8a0c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #57 0x000000aaab10a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/report-issues-within-main-file.cpp (681 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/report-issues-within-main-file.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe8126bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8124c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe81273d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd0d4648 (linux-vdso.so.1+0x648) #4 0x000000fff0bd9388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0bd9388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0bd9388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0bd9388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0bd9388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0bd9388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0bd9388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0bd9388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff08503a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff08503a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff08503a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff08503a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff08503a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff08503a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff08503a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff08503a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0853dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0853dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0853dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0853dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0847430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0847430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0847430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff08553b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff08553b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff08553b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0847d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0847d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0847d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff08603b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff08603b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff08603b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff08671d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff08671d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff08671d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff07c2138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff07c2138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff07c2138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff07c2138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff07c2688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff07c2688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff07c2688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff08299ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff08299ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff08299ac clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff08299ac clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #50 0x000000fff07dcd50 clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1318:0 #51 0x000000fff07e56a8 clang::ento::ExprEngine::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 #52 0x000000fff07e587c clang::ento::CoreEngine::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 0x000000fff07e5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #54 0x000000fff07e5c70 clang::ento::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 0x000000fff0af303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff0af303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff0af303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff0af303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff0af303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff0af4224 llvm::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 0x000000fff0af4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff0af4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff0af8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff0af8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff0af8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff0af8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff0af8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffeed3a978 __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 0x000000ffeed3a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffeed3a978 void clang::finalize>, 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 0x000000ffeed3a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff05b3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff056f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff056f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff056f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff06039a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaadb21c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaadb25b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaadb27234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaadb1e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe732c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe732c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaadb1e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/report-issues-within-main-file.cpp.script: line 2: 3887964 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 19712) ******************** TEST 'Clang :: Analysis/diagnostics/sarif-multi-diagnostic-test.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-08-16 20:10:35.284823706 +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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9f8ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9f8cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9f8f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe23c648 (linux-vdso.so.1+0x648) #4 0x000000fff2a37688 llvm::ImutAVLTree>>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2a37688 llvm::IntrusiveRefCntPtrInfo>>>>::retain(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2a37688 llvm::IntrusiveRefCntPtr>>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2a37688 llvm::IntrusiveRefCntPtr>>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2a37688 llvm::ImmutableMap>, llvm::ImutKeyValueInfo>>>::ImmutableMap(llvm::ImutAVLTree>>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2a37688 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 0x000000fff2a37688 get<(anonymous namespace)::TaintArgsOnPostVisit> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2a37688 (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 0x000000fff2620df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #13 0x000000fff2620df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x000000fff2620df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #15 0x000000fff2620df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #16 0x000000fff2620df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #17 0x000000fff2672500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #18 0x000000fff2672500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #19 0x000000fff2672500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #20 0x000000fff2672500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #21 0x000000fff2672e4c clang::ento::ExprEngine::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 #22 0x000000fff264ad1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #23 0x000000fff264ad1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #24 0x000000fff264be0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #25 0x000000fff264d65c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #26 0x000000fff264d87c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #27 0x000000fff264dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #28 0x000000fff264dc70 clang::ento::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 0x000000fff295b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x000000fff295b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x000000fff295b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #32 0x000000fff295b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #33 0x000000fff295b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #34 0x000000fff295c224 llvm::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 0x000000fff295c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x000000fff295c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #37 0x000000fff2960604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x000000fff2960604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x000000fff2960604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x000000fff2960604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x000000fff2960604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x000000fff0ba2978 __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 0x000000fff0ba2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x000000fff0ba2978 void clang::finalize>, 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 0x000000fff0ba2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x000000fff241bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #47 0x000000fff23d7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #48 0x000000fff23d7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #49 0x000000fff23d7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #50 0x000000fff246b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #51 0x000000aaae665c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x000000aaae669b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x000000aaae66b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x000000aaae662034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x000000ffe91948c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #56 0x000000ffe91949cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #57 0x000000aaae6620a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) -- ******************** Testing: 0 FAIL: Clang :: Analysis/division-by-zero-track-zero.c (683 of 19712) ******************** TEST 'Clang :: Analysis/division-by-zero-track-zero.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6986bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6984c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe69873d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffbfc648 (linux-vdso.so.1+0x648) #4 0x000000ffef0d49e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef0d49e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef0d49e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef0d49e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000ffef0d49e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000ffef0d49e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000ffef03c278 llvm::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 0x000000ffef03c278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000ffef03c278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000ffef03c278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000ffef043d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #15 0x000000ffef043d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #16 0x000000ffef043d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #17 0x000000ffef043d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #18 0x000000ffef043d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #19 0x000000ffef043d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #20 0x000000ffef043d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #21 0x000000ffef043d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #22 0x000000ffef043d94 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 #23 0x000000ffef04565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef04587c clang::ento::CoreEngine::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 0x000000ffef045c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #26 0x000000ffef045c70 clang::ento::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 0x000000ffef35303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #28 0x000000ffef35303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #29 0x000000ffef35303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #30 0x000000ffef35303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #31 0x000000ffef35303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #32 0x000000ffef354224 llvm::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 0x000000ffef354224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x000000ffef354224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #35 0x000000ffef358604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x000000ffef358604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x000000ffef358604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x000000ffef358604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x000000ffef358604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x000000ffed59a978 __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 0x000000ffed59a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x000000ffed59a978 void clang::finalize>, 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 0x000000ffed59a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x000000ffeee13b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #45 0x000000ffeedcf354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #46 0x000000ffeedcf354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #47 0x000000ffeedcf354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #48 0x000000ffeee639a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #49 0x000000aaab329c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x000000aaab32db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x000000aaab32f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x000000aaab326034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x000000ffe5b8c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #54 0x000000ffe5b8c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #55 0x000000aaab3260a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/division-by-zero-track-zero.c.script: line 1: 3888113 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/division-by-zero-track-zero.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/track_subexpressions.cpp (686 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/track_subexpressions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9d6ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9d6cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9d6f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffee68648 (linux-vdso.so.1+0x648) #4 0x000000fff24bc9e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff24bc9e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff24bc9e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff24bc9e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000fff24bc9e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000fff24bc9e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000fff2424278 llvm::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 0x000000fff2424278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000fff2424278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000fff2424278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000fff242bd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #15 0x000000fff242bd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #16 0x000000fff242bd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #17 0x000000fff242bd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #18 0x000000fff242bd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #19 0x000000fff242bd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #20 0x000000fff242bd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #21 0x000000fff242bd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #22 0x000000fff242bd94 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 #23 0x000000fff242d65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff242d780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #25 0x000000fff242da58 clang::ento::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 #26 0x000000fff242dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000fff242dc70 clang::ento::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 0x000000fff273b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000fff273b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000fff273b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000fff273b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000fff273b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000fff273c224 llvm::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 0x000000fff273c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000fff273c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000fff2740604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000fff2740604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000fff2740604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000fff2740604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000fff2740604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000fff0982978 __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 0x000000fff0982978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x000000fff0982978 void clang::finalize>, 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 0x000000fff0982978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x000000fff21fbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x000000fff21b7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x000000fff21b7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x000000fff21b7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x000000fff224b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #50 0x000000aaabf39c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x000000aaabf3db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x000000aaabf3f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x000000aaabf36034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x000000ffe8f748c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #55 0x000000ffe8f749cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #56 0x000000aaabf360a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/track_subexpressions.cpp.script: line 1: 3888062 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/track_subexpressions.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/undef-value-param.m (688 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/undef-value-param.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe724abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7248c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe724b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd300648 (linux-vdso.so.1+0x648) #4 0x000000ffefcfd388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffefcfd388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffefcfd388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffefcfd388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffefcfd388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffefcfd388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffefcfd388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffefcfd388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef9743a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef9743a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef9743a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef9743a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef9743a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef9743a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef9743a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef9743a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef977dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef977dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef977dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef977dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef96b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef96b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef96b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef9793b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef9793b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef9793b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef96bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef96bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef96bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef9843b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef9843b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef9843b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef98b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef98b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef98b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef8e6138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef8e6138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef8e6138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef8e6138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffef8e6688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffef8e6688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffef8e6688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000ffef8aeb4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000ffef8aeb4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000ffef8aeb4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000ffef8fa6c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000ffef8fa6c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000ffef8fa6c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000ffef90a010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000ffef90a010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000ffef90a010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000ffefc1703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000ffefc1703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000ffefc1703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000ffefc1703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000ffefc1703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000ffefc18224 llvm::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 0x000000ffefc18224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000ffefc18224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000ffefc1c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000ffefc1c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000ffefc1c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000ffefc1c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000ffefc1c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffede5e978 __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 0x000000ffede5e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffede5e978 void clang::finalize>, 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 0x000000ffede5e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000ffef6d7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000ffef693354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000ffef693354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000ffef693354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000ffef7279a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaae4c1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaae4c5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaae4c7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaae4be034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe64508c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe64509cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaae4be0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/undef-value-param.m.script: line 3: 3888091 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/undef-value-param.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/text-diagnostics.c (690 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/text-diagnostics.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/dispatch-once.m (691 of 19712) ******************** TEST 'Clang :: Analysis/dispatch-once.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6ba6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6ba4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6ba73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc768648 (linux-vdso.so.1+0x648) #4 0x000000ffef659388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef659388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef659388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef659388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef659388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef659388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef659388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef659388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef2d03a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef2d03a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef2d03a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef2d03a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef2d03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef2d03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef2d03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef2d03a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef2d3dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef2d3dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef2d3dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef2d3dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef2c7430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef2c7430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef2c7430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef2d53b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef2d53b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef2d53b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef2c7d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef2c7d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef2c7d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef2e03b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef2e03b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef2e03b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef2e71d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef2e71d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef2e71d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef242138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef242138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef242138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef242138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffef257e4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffef257e4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffef257e4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000ffef257e4c 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:0 #47 0x000000ffef263b90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000ffef263b90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000ffef263b90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000ffef263b90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000ffef263b90 clang::ento::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 #52 0x000000ffef263e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000ffef26565c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000ffef26587c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000ffef265c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000ffef265c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000ffef57303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000ffef57303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000ffef57303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000ffef57303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000ffef57303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000ffef574224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000ffef574224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000ffef574224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000ffef578604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000ffef578604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000ffef578604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000ffef578604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000ffef578604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000ffed7ba978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000ffed7ba978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000ffed7ba978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000ffed7ba978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000ffef033b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000ffeefef354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000ffeefef354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000ffeefef354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000ffef0839a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaab645c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaab649b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaab64b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaab642034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe5dac8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe5dac9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaab6420a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dispatch-once.m.script: line 2: 3888100 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dispatch-once.m -analyzer-checker=core -analyzer-checker=osx.API -analyzer-checker=unix.Malloc -analyzer-config display-checker-name=false -- ******************** Testing: 0 FAIL: Clang :: Analysis/division-by-zero-track-zero.cpp (693 of 19712) ******************** TEST 'Clang :: Analysis/division-by-zero-track-zero.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9612bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9610c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe96133d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffc10648 (linux-vdso.so.1+0x648) #4 0x000000fff1d609e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1d609e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1d609e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1d609e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000fff1d609e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000fff1d609e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000fff1cc8278 llvm::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 0x000000fff1cc8278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000fff1cc8278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000fff1cc8278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000fff1ccfd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #15 0x000000fff1ccfd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #16 0x000000fff1ccfd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #17 0x000000fff1ccfd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #18 0x000000fff1ccfd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #19 0x000000fff1ccfd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #20 0x000000fff1ccfd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #21 0x000000fff1ccfd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #22 0x000000fff1ccfd94 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 #23 0x000000fff1cd165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff1cd187c clang::ento::CoreEngine::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 0x000000fff1cd1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #26 0x000000fff1cd1c70 clang::ento::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 0x000000fff1fdf03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #28 0x000000fff1fdf03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #29 0x000000fff1fdf03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #30 0x000000fff1fdf03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #31 0x000000fff1fdf03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #32 0x000000fff1fe0224 llvm::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 0x000000fff1fe0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x000000fff1fe0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #35 0x000000fff1fe4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x000000fff1fe4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x000000fff1fe4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x000000fff1fe4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x000000fff1fe4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x000000fff0226978 __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 0x000000fff0226978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x000000fff0226978 void clang::finalize>, 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 0x000000fff0226978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x000000fff1a9fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #45 0x000000fff1a5b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #46 0x000000fff1a5b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #47 0x000000fff1a5b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #48 0x000000fff1aef9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #49 0x000000aaacc51c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x000000aaacc55b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x000000aaacc57234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x000000aaacc4e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x000000ffe88188c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #54 0x000000ffe88189cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #55 0x000000aaacc4e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/division-by-zero-track-zero.cpp.script: line 1: 3888119 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/diagnostics/undef-value-param.c (696 of 19712) ******************** TEST 'Clang :: Analysis/diagnostics/undef-value-param.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe95debb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe95dcc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe95df3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd5f4648 (linux-vdso.so.1+0x648) #4 0x000000fff1d2c9e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1d2c9e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1d2c9e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1d2c9e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000fff1d2c9e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000fff1d2c9e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000fff1c94278 llvm::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 0x000000fff1c94278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000fff1c94278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000fff1c94278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000fff1c9bd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #15 0x000000fff1c9bd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #16 0x000000fff1c9bd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #17 0x000000fff1c9bd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #18 0x000000fff1c9bd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #19 0x000000fff1c9bd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #20 0x000000fff1c9bd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #21 0x000000fff1c9bd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #22 0x000000fff1c9bd94 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 #23 0x000000fff1c9d65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff1c9d780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #25 0x000000fff1c9da58 clang::ento::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 #26 0x000000fff1c9dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000fff1c9dc70 clang::ento::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 0x000000fff1fab03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000fff1fab03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000fff1fab03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000fff1fab03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000fff1fab03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000fff1fac224 llvm::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 0x000000fff1fac224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000fff1fac224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000fff1fb0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000fff1fb0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000fff1fb0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000fff1fb0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000fff1fb0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000fff01f2978 __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 0x000000fff01f2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x000000fff01f2978 void clang::finalize>, 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 0x000000fff01f2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x000000fff1a6bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x000000fff1a27354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x000000fff1a27354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x000000fff1a27354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x000000fff1abb9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #50 0x000000aaad5d9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x000000aaad5ddb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x000000aaad5df234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x000000aaad5d6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x000000ffe87e48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #55 0x000000ffe87e49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #56 0x000000aaad5d60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/undef-value-param.c.script: line 3: 3888073 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/div-zero.cpp (702 of 19712) ******************** TEST 'Clang :: Analysis/div-zero.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea156bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea154c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea1573d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd174648 (linux-vdso.so.1+0x648) #4 0x000000fff2c09388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2c09388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2c09388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2c09388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2c09388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2c09388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2c09388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2c09388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff28803a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff28803a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff28803a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff28803a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff28803a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff28803a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff28803a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff28803a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff2883dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff2883dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff2883dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff2883dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff2877430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff2877430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff2877430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff28853b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff28853b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff28853b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff2877d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff2877d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff2877d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff28903b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff28903b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff28903b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff28971d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff28971d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff28971d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff27f2138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff27f2138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff27f2138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff27f2138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff2807e4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff2807e4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff2807e4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000fff2807e4c 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:0 #47 0x000000fff2813b90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000fff2813b90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000fff2813b90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000fff2813b90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000fff2813b90 clang::ento::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 #52 0x000000fff2813e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000fff281565c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000fff281587c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000fff2815c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000fff2815c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000fff2b2303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff2b2303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff2b2303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000fff2b2303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000fff2b2303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000fff2b24224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000fff2b24224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000fff2b24224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000fff2b28604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000fff2b28604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000fff2b28604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000fff2b28604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000fff2b28604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000fff0d6a978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000fff0d6a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000fff0d6a978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000fff0d6a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000fff25e3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000fff259f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000fff259f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000fff259f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000fff26339a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaae605c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaae609b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaae60b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaae602034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe935c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe935c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaae6020a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/div-zero.cpp.script: line 1: 3888097 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.DivideZero -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/div-zero.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/dtor-array.cpp (710 of 19712) ******************** TEST 'Clang :: Analysis/dtor-array.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9dc2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9dc0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9dc33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe26c648 (linux-vdso.so.1+0x648) #4 0x000000fff2875388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2875388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2875388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2875388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2875388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2875388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2875388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2875388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff24ec3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff24ec3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff24ec3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff24ec3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff24ec3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff24ec3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff24ec3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff24ec3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff24efdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff24efdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff24efdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff24efdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff24e3430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff24e3430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff24e3430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff24f13b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff24f13b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff24f13b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff24e3d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff24e3d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff24e3d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff24fc3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff24fc3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff24fc3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff25031d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff25031d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff25031d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff245e138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff245e138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff245e138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff245e138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff245e688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff245e688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff245e688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff24c59ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff24c59ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff24c59ac clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff24c59ac clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #50 0x000000fff2478d50 clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1318:0 #51 0x000000fff24816a8 clang::ento::ExprEngine::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 #52 0x000000fff2481780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #53 0x000000fff2481a58 clang::ento::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 #54 0x000000fff2481c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x000000fff2481c70 clang::ento::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 0x000000fff278f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x000000fff278f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x000000fff278f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x000000fff278f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x000000fff278f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x000000fff2790224 llvm::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 0x000000fff2790224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x000000fff2790224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x000000fff2794604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x000000fff2794604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x000000fff2794604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x000000fff2794604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x000000fff2794604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x000000fff09d6978 __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 0x000000fff09d6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x000000fff09d6978 void clang::finalize>, 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 0x000000fff09d6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x000000fff224fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x000000fff220b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x000000fff220b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x000000fff220b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x000000fff229f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x000000aaab7cdc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x000000aaab7d1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x000000aaab7d3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x000000aaab7ca034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x000000ffe8fc88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #83 0x000000ffe8fc89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #84 0x000000aaab7ca0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dtor-array.cpp.script: line 2: 3889000 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-inlining=destructors -verify -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor-array.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/dtor-cxx11.cpp (711 of 19712) ******************** TEST 'Clang :: Analysis/dtor-cxx11.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe701abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7018c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe701b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc3dc648 (linux-vdso.so.1+0x648) #4 0x000000ffef6f6244 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000ffef6f6244 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffef6f6244 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffef6f6244 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x000000ffef6f6244 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x000000ffef6f6244 Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:27 #10 0x000000ffef6f6244 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:89 #11 0x000000ffef6f6244 llvm::IntrusiveRefCntPtr clang::ento::ProgramState::set<(anonymous namespace)::ObjectsUnderConstruction>(clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:63 #12 0x000000ffef6ce10c 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:600:0 #13 0x000000ffef6fd0f0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #14 0x000000ffef6fd0f0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #15 0x000000ffef6fd0f0 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:486:63 #16 0x000000ffef71b7a4 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x000000ffef71b7a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x000000ffef71b7a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x000000ffef71b7a4 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 #20 0x000000ffef71b7a4 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 #21 0x000000ffef6d6cdc clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #22 0x000000ffef6d6cdc clang::ento::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 #23 0x000000ffef6d7e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #24 0x000000ffef6d965c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #25 0x000000ffef6d9780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #26 0x000000ffef6d9a58 clang::ento::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 #27 0x000000ffef6d9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #28 0x000000ffef6d9c70 clang::ento::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 0x000000ffef9e703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x000000ffef9e703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x000000ffef9e703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #32 0x000000ffef9e703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #33 0x000000ffef9e703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #34 0x000000ffef9e8224 llvm::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 0x000000ffef9e8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x000000ffef9e8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #37 0x000000ffef9ec604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x000000ffef9ec604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x000000ffef9ec604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x000000ffef9ec604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x000000ffef9ec604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x000000ffedc2e978 __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 0x000000ffedc2e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x000000ffedc2e978 void clang::finalize>, 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 0x000000ffedc2e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x000000ffef4a7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #47 0x000000ffef463354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #48 0x000000ffef463354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #49 0x000000ffef463354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #50 0x000000ffef4f79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #51 0x000000aaac671c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x000000aaac675b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x000000aaac677234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x000000aaac66e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x000000ffe62208c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #56 0x000000ffe62209cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #57 0x000000aaac66e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dtor-cxx11.cpp.script: line 1: 3889011 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,unix.Malloc,debug.ExprInspection -Wno-null-dereference -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor-cxx11.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/division-by-zero.c (712 of 19712) ******************** TEST 'Clang :: Analysis/division-by-zero.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe85eebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe85ecc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe85ef3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc660648 (linux-vdso.so.1+0x648) #4 0x000000fff10a1388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff10a1388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff10a1388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff10a1388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff10a1388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff10a1388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff10a1388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff10a1388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff0d183a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff0d183a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff0d183a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff0d183a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff0d183a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff0d183a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff0d183a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff0d183a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0d18e78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0d18e78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0d18e78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0d18e78 (anonymous namespace)::RangeConstraintManager::assumeSymLE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3214:31 #24 0x000000fff0d0f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0d0f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0d0f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff0d1d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0d1d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0d1d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0d0fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0d0fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0d0fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff0d283b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff0d283b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff0d283b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff0d2f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff0d2f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff0d2f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0c8a0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0c8a0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0c8a0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0c8a0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff0c9fe4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff0c9fe4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff0c9fe4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000fff0c9fe4c 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:0 #47 0x000000fff0cabb90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000fff0cabb90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000fff0cabb90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000fff0cabb90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000fff0cabb90 clang::ento::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 #52 0x000000fff0cabe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000fff0cad65c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000fff0cad87c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000fff0cadc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000fff0cadc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000fff0fbb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff0fbb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff0fbb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000fff0fbb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000fff0fbb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000fff0fbc224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000fff0fbc224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000fff0fbc224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000fff0fc0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000fff0fc0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000fff0fc0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000fff0fc0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000fff0fc0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000ffef202978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000ffef202978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000ffef202978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000ffef202978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000fff0a7bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000fff0a37354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000fff0a37354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000fff0a37354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000fff0acb9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaab199c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaab19db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaab19f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaab196034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe77f48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe77f49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaab1960a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/division-by-zero.c.script: line 1: 3888242 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.Malloc /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/division-by-zero.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/double-ranges-bug.c (713 of 19712) ******************** TEST 'Clang :: Analysis/double-ranges-bug.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe94b6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe94b4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe94b73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff460648 (linux-vdso.so.1+0x648) #4 0x000000fff1f69388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1f69388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1f69388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1f69388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1f69388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1f69388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1f69388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1f69388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff1be03a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff1be03a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff1be03a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff1be03a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff1be03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff1be03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff1be03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff1be03a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1be3dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1be3dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1be3dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1be3dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1bd7430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1bd7430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1bd7430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff1be53b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff1be53b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff1be53b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1bd7d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1bd7d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1bd7d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff1bf03b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff1bf03b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff1bf03b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff1bf71d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff1bf71d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff1bf71d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1b52138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1b52138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1b52138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1b52138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff20a8114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff20a8114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff20a8114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff1c9ade0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff1c9ade0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:0 #48 0x000000fff1c9ade0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #49 0x000000fff1c9ade0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:0 #50 0x000000fff1b3a208 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #51 0x000000fff1b6406c clang::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 0x000000fff1b6406c 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:0 #53 0x000000fff1b67978 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #54 0x000000fff1b67978 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #55 0x000000fff1b67978 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x000000fff1b67978 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:0 #57 0x000000fff1bafecc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff1bafecc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff1bafecc 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 #60 0x000000fff1b72708 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #61 0x000000fff1b72708 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #62 0x000000fff1b72708 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #63 0x000000fff1b73e0c clang::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 0x000000fff1b7565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff1b7587c clang::ento::CoreEngine::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 0x000000fff1b75c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #67 0x000000fff1b75c70 clang::ento::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 0x000000fff1e8303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #69 0x000000fff1e8303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #70 0x000000fff1e8303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #71 0x000000fff1e8303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #72 0x000000fff1e8303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #73 0x000000fff1e84224 llvm::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 0x000000fff1e84224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #75 0x000000fff1e84224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #76 0x000000fff1e88604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #77 0x000000fff1e88604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #78 0x000000fff1e88604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #79 0x000000fff1e88604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #80 0x000000fff1e88604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #81 0x000000fff00ca978 __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 0x000000fff00ca978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #83 0x000000fff00ca978 void clang::finalize>, 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 0x000000fff00ca978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #85 0x000000fff1943b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #86 0x000000fff18ff354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #87 0x000000fff18ff354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #88 0x000000fff18ff354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #89 0x000000fff19939a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #90 0x000000aaabbb9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #91 0x000000aaabbbdb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #92 0x000000aaabbbf234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #93 0x000000aaabbb6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #94 0x000000ffe86bc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #95 0x000000ffe86bc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #96 0x000000aaabbb60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/double-ranges-bug.c.script: line 1: 3888937 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/dynamic-cast.cpp (714 of 19712) ******************** TEST 'Clang :: Analysis/dynamic-cast.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe88b6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe88b4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe88b73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe95c648 (linux-vdso.so.1+0x648) #4 0x000000fff1369388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1369388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1369388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1369388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1369388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1369388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1369388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1369388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff0fe03a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff0fe03a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff0fe03a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff0fe03a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff0fe03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff0fe03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff0fe03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff0fe03a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0fe3dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0fe3dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0fe3dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0fe3dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0fd7430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0fd7430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0fd7430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff0fe53b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0fe53b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0fe53b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0fd7d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0fd7d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0fd7d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff0ff03b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff0ff03b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff0ff03b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff0ff71d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff0ff71d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff0ff71d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0f52138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0f52138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0f52138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0f52138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff0f52688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff0f52688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff0f52688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff0f1ab4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff0f1ab4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff0f1ab4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff0f66674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff0f66674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff0f66674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000fff0f76010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff0f76010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff0f76010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff128303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff128303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff128303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff128303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff128303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff12941ec VisitFunctionDecl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:319:0 #61 0x000000fff12941ec WalkUpFromFunctionDecl /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include/clang/AST/DeclNodes.inc:433:0 #62 0x000000fff12941ec WalkUpFromCXXDeductionGuideDecl /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include/clang/AST/DeclNodes.inc:437:0 #63 0x000000fff12941ec clang::RecursiveASTVisitor<(anonymous namespace)::AnalysisConsumer>::TraverseCXXMethodDecl(clang::CXXMethodDecl*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/RecursiveASTVisitor.h:2233:0 #64 0x000000fff12889e8 clang::RecursiveASTVisitor<(anonymous namespace)::AnalysisConsumer>::TraverseDeclContextHelper(clang::DeclContext*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/RecursiveASTVisitor.h:1489:0 #65 0x000000fff12869e0 TraverseCXXRecordDecl /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/RecursiveASTVisitor.h:2015:0 #66 0x000000fff12869e0 clang::RecursiveASTVisitor<(anonymous namespace)::AnalysisConsumer>::TraverseDecl(clang::Decl*) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include/clang/AST/DeclNodes.inc:295:0 #67 0x000000fff128851c runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:552:0 #68 0x000000fff128851c (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x000000ffef4ca978 __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 0x000000ffef4ca978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x000000ffef4ca978 void clang::finalize>, 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 0x000000ffef4ca978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x000000fff0d43b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x000000fff0cff354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x000000fff0cff354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x000000fff0cff354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x000000fff0d939a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x000000aaae115c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x000000aaae119b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x000000aaae11b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x000000aaae112034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x000000ffe7abc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #83 0x000000ffe7abc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #84 0x000000aaae1120a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dynamic-cast.cpp.script: line 1: 3889073 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=none -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dynamic-cast.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/end-function-return-stmt.cpp (716 of 19712) ******************** TEST 'Clang :: Analysis/end-function-return-stmt.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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:387: note: scanning from here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9c8abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) next:24'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9: #1 0x000000ffe9c88c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) next:24'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10: #2 0x000000ffe9c8b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) next:24'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11: #3 0x000000fffd404648 (linux-vdso.so.1+0x648) next:24'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/dtor.cpp (717 of 19712) ******************** TEST 'Clang :: Analysis/dtor.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7106bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7104c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe71073d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffef6c648 (linux-vdso.so.1+0x648) #4 0x000000ffefbb9388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffefbb9388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffefbb9388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffefbb9388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffefbb9388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffefbb9388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffefbb9388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffefbb9388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef8303a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef8303a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef8303a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef8303a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef8303a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef8303a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef8303a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef8303a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef833dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef833dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef833dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef833dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef827430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef827430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef827430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef8353b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef8353b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef8353b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef827d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef827d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef827d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef8403b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef8403b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef8403b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef8471d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef8471d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef8471d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef7a20e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef7a20e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef7a20e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef7a20e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000ffefcf8114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000ffefcf8114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000ffefcf8114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000ffef988554 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #47 0x000000ffef988554 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #48 0x000000ffef988554 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #49 0x000000ffef988554 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #50 0x000000ffef988554 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #51 0x000000ffef988554 (anonymous namespace)::MallocChecker::ProcessZeroAllocCheck(clang::ento::CallEvent const&, unsigned int, llvm::IntrusiveRefCntPtr, std::optional) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1529:0 #52 0x000000ffef988a4c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #53 0x000000ffef988a4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #54 0x000000ffef988a4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x000000ffef988a4c (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 #56 0x000000ffef995610 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #57 0x000000ffef995610 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 #58 0x000000ffef798df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #59 0x000000ffef798df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x000000ffef798df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #61 0x000000ffef798df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #62 0x000000ffef798df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #63 0x000000ffef7ea500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #64 0x000000ffef7ea500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #65 0x000000ffef7ea500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #66 0x000000ffef7ea500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #67 0x000000ffef7eae4c clang::ento::ExprEngine::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 #68 0x000000ffef7c2d1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #69 0x000000ffef7c2d1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #70 0x000000ffef7c3e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #71 0x000000ffef7c565c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #72 0x000000ffef7c587c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #73 0x000000ffef7c5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #74 0x000000ffef7c5c70 clang::ento::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 0x000000ffefad303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #76 0x000000ffefad303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #77 0x000000ffefad303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #78 0x000000ffefad303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #79 0x000000ffefad303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #80 0x000000ffefad4224 llvm::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 0x000000ffefad4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #82 0x000000ffefad4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #83 0x000000ffefad8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #84 0x000000ffefad8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #85 0x000000ffefad8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #86 0x000000ffefad8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #87 0x000000ffefad8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #88 0x000000ffedd1a978 __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 0x000000ffedd1a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #90 0x000000ffedd1a978 void clang::finalize>, 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 0x000000ffedd1a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #92 0x000000ffef593b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #93 0x000000ffef54f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #94 0x000000ffef54f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #95 0x000000ffef54f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #96 0x000000ffef5e39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #97 0x000000aaace7dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #98 0x000000aaace81b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #99 0x000000aaace83234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #100 0x000000aaace7a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #101 0x000000ffe630c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #102 0x000000ffe630c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #103 0x000000aaace7a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dtor.cpp.script: line 1: 3889020 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection,cplusplus -analyzer-config c++-inlining=destructors -Wno-null-dereference -Wno-inaccessible-base -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/dump_egraph.cpp (718 of 19712) ******************** TEST 'Clang :: Analysis/dump_egraph.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe8f12bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8f10c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8f133d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff4c0648 (linux-vdso.so.1+0x648) #4 0x000000fff15c7f68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff15c7f68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff15c7f68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff15c7f68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff15c7f68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff15c7f68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff15c7f68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff15c7f68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000fff15cfd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x000000fff15cfd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x000000fff15cfd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x000000fff15cfd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x000000fff15cfd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x000000fff15cfd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x000000fff15cfd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x000000fff15cfd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x000000fff15cfd94 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 0x000000fff15d165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff15d1780 clang::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 0x000000fff15d1a58 clang::ento::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 0x000000fff15d1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x000000fff15d1c70 clang::ento::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 0x000000fff18df03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff18df03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff18df03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x000000fff18df03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x000000fff18df03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x000000fff18e0224 llvm::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 0x000000fff18e0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x000000fff18e0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x000000fff18e4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x000000fff18e4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x000000fff18e4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x000000fff18e4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x000000fff18e4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x000000ffefb26978 __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 0x000000ffefb26978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x000000ffefb26978 void clang::finalize>, 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 0x000000ffefb26978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x000000fff139fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x000000fff135b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x000000fff135b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x000000fff135b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x000000fff13ef9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000000aaab5b9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000000aaab5bdb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000000aaab5bf234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000000aaab5b6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x000000ffe81188c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #53 0x000000ffe81189cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #54 0x000000aaab5b60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dump_egraph.cpp.script: line 2: 3889054 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/engine/replay-without-inlining.c (719 of 19712) ******************** TEST 'Clang :: Analysis/engine/replay-without-inlining.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe73e6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe73e4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe73e73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff780648 (linux-vdso.so.1+0x648) #4 0x000000ffefb349e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffefb349e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffefb349e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffefb349e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000ffefb349e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000ffefb349e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000ffefa9c278 llvm::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 0x000000ffefa9c278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000ffefa9c278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000ffefa9c278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000ffefaa3d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #15 0x000000ffefaa3d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #16 0x000000ffefaa3d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #17 0x000000ffefaa3d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #18 0x000000ffefaa3d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #19 0x000000ffefaa3d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #20 0x000000ffefaa3d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #21 0x000000ffefaa3d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #22 0x000000ffefaa3d94 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 #23 0x000000ffefaa565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffefaa5780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #25 0x000000ffefaa5a58 clang::ento::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 #26 0x000000ffefaa5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000ffefaa5c70 clang::ento::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 0x000000ffefdb303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000ffefdb303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000ffefdb303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000ffefdb303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000ffefdb303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000ffefdb4224 llvm::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 0x000000ffefdb4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000ffefdb4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000ffefdb8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000ffefdb8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000ffefdb8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000ffefdb8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000ffefdb8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000ffedffa978 __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 0x000000ffedffa978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x000000ffedffa978 void clang::finalize>, 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 0x000000ffedffa978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x000000ffef873b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x000000ffef82f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x000000ffef82f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x000000ffef82f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x000000ffef8c39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #50 0x000000aaae991c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x000000aaae995b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x000000aaae997234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x000000aaae98e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x000000ffe65ec8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #55 0x000000ffe65ec9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #56 0x000000aaae98e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/engine/Output/replay-without-inlining.c.script: line 1: 3889147 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/engine/replay-without-inlining.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/enum.cpp (720 of 19712) ******************** TEST 'Clang :: Analysis/enum.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe843abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8438c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe843b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc2f8648 (linux-vdso.so.1+0x648) #4 0x000000fff0eed388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0eed388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0eed388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0eed388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0eed388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0eed388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0eed388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0eed388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff0b643a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff0b643a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff0b643a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff0b643a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff0b643a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff0b643a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff0b643a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff0b643a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0b69068 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0b69068 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0b69068 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0b69068 (anonymous namespace)::RangeConstraintManager::assumeSymWithinInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3224:34 #24 0x000000fff0b5ba38 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0b5ba38 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0b5ba38 clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:129:64 #27 0x000000fff0b5bf54 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0b5bf54 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0b5bf54 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #30 0x000000fff0ad6808 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x000000fff0ad6808 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x000000fff0ad6808 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:0 #33 0x000000fff0ad6808 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #34 0x000000fff0af47b8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #35 0x000000fff0af47b8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #36 0x000000fff0af47b8 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:0 #37 0x000000fff0af47b8 clang::ento::ExprEngine::processSwitch(clang::ento::SwitchNodeBuilder&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3004:0 #38 0x000000fff0af4c18 clang::ento::CoreEngine::HandleBlockExit(clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:422:0 #39 0x000000fff0af9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #40 0x000000fff0af9c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #41 0x000000fff0e0703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #42 0x000000fff0e0703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #43 0x000000fff0e0703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #44 0x000000fff0e0703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #45 0x000000fff0e0703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #46 0x000000fff0e08224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #47 0x000000fff0e08224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #48 0x000000fff0e08224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #49 0x000000fff0e0c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #50 0x000000fff0e0c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #51 0x000000fff0e0c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #52 0x000000fff0e0c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #53 0x000000fff0e0c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #54 0x000000ffef04e978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #55 0x000000ffef04e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #56 0x000000ffef04e978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #57 0x000000ffef04e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #58 0x000000fff08c7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #59 0x000000fff0883354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #60 0x000000fff0883354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #61 0x000000fff0883354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #62 0x000000fff09179a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #63 0x000000aaaab39c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #64 0x000000aaaab3db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #65 0x000000aaaab3f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #66 0x000000aaaab36034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #67 0x000000ffe76408c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #68 0x000000ffe76409cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #69 0x000000aaaab360a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/enum.cpp.script: line 1: 3889198 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (722 of 19712) ******************** TEST 'Clang :: Analysis/edges-new.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe958abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9588c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe958b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe53c648 (linux-vdso.so.1+0x648) #4 0x000000fff203d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff203d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff203d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff203d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff203d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff203d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff203d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff203d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff1cb43a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff1cb43a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff1cb43a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff1cb43a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff1cb43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff1cb43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff1cb43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff1cb43a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1cb7dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1cb7dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1cb7dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1cb7dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1cab430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1cab430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1cab430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff1cb93b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff1cb93b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff1cb93b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1cabd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1cabd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1cabd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff1cc43b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff1cc43b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff1cc43b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff1ccb1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff1ccb1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff1ccb1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1c26138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1c26138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1c26138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1c26138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1c26688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff1c26688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff1c26688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff1beeb4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff1beeb4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff1beeb4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff1c3a674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff1c3a674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff1c3a674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000fff1c4a010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff1c4a010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff1c4a010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff1f5703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff1f5703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff1f5703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff1f5703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff1f5703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff1f58224 llvm::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 0x000000fff1f58224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff1f58224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff1f5c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff1f5c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff1f5c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff1f5c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff1f5c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000fff019e978 __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 0x000000fff019e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000fff019e978 void clang::finalize>, 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 0x000000fff019e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff1a17b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff19d3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff19d3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff19d3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff1a679a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaacd45c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaacd49b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaacd4b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaacd42034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe87908c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe87909cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaacd420a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/edges-new.mm.script: line 2: 3889098 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/errno-notes.c (724 of 19712) ******************** TEST 'Clang :: Analysis/errno-notes.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6e7ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6e7cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6e7f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc80c648 (linux-vdso.so.1+0x648) #4 0x000000ffef5c730c clang::ento::MemRegion::getKind() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:172:0 #5 0x000000ffef5c730c 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 0x000000ffef5c730c llvm::isa_impl::doit(clang::ento::MemRegion const&) /usr/include/llvm/Support/Casting.h:64:0 #7 0x000000ffef5c730c llvm::isa_impl_cl::doit(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:110:0 #8 0x000000ffef5c730c llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:137:0 #9 0x000000ffef5c730c llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:129:0 #10 0x000000ffef5c730c llvm::CastIsPossible::isPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:257:0 #11 0x000000ffef5c730c llvm::CastInfo::doCastIfPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:493:0 #12 0x000000ffef5c730c decltype(auto) llvm::dyn_cast(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:663:0 #13 0x000000ffef5c730c (anonymous namespace)::RegionStoreManager::bind((anonymous namespace)::RegionBindingsRef const&, clang::ento::Loc, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:2368:0 #14 0x000000ffef57263c asImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:258:0 #15 0x000000ffef57263c asStore /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:225:0 #16 0x000000ffef57263c Bind /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:443:0 #17 0x000000ffef57263c 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:119:0 #18 0x000000ffef66c41c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #19 0x000000ffef66c41c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #20 0x000000ffef66c41c 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 #21 0x000000ffef66e0dc llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #22 0x000000ffef66e0dc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #23 0x000000ffef66e0dc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #24 0x000000ffef66e0dc checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:149:0 #25 0x000000ffef66e0dc 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 0x000000ffef502cc8 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #27 0x000000ffef502cc8 clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:441:26 #28 0x000000ffef53df88 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:126:0 #29 0x000000ffef84b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x000000ffef84b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x000000ffef84b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #32 0x000000ffef84b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #33 0x000000ffef84b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #34 0x000000ffef84c224 llvm::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 0x000000ffef84c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x000000ffef84c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #37 0x000000ffef850604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x000000ffef850604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x000000ffef850604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x000000ffef850604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x000000ffef850604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x000000ffeda92978 __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 0x000000ffeda92978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x000000ffeda92978 void clang::finalize>, 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 0x000000ffeda92978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x000000ffef30bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #47 0x000000ffef2c7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #48 0x000000ffef2c7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #49 0x000000ffef2c7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #50 0x000000ffef35b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #51 0x000000aaab3b5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x000000aaab3b9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x000000aaab3bb234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x000000aaab3b2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x000000ffe60848c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #56 0x000000ffe60849cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #57 0x000000aaab3b20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/errno-notes.c.script: line 2: 3889210 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-output text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-notes.c -analyzer-checker=core -analyzer-checker=apiModeling.Errno -analyzer-checker=debug.ExprInspection -analyzer-checker=debug.ErrnoTest -analyzer-checker=alpha.unix.Errno -DERRNO_VAR -- ******************** Testing: 0 FAIL: Clang :: Analysis/equality_tracking.c (725 of 19712) ******************** TEST 'Clang :: Analysis/equality_tracking.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 #0 0x000000ffe88dabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe88d8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe88db3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd3d4648 (linux-vdso.so.1+0x648) #4 0x000000fff10289e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff10289e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff10289e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff10289e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000fff10289e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000fff10289e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000fff0f90278 llvm::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 0x000000fff0f90278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000fff0f90278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000fff0f90278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000fff0fbde10 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #15 0x000000fff0fbde10 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 #16 0x000000fff0f93b44 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #17 0x000000fff0f93b44 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #18 0x000000fff0f93b44 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #19 0x000000fff0f93b44 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2951:0 #20 0x000000fff0f9408c 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 0x000000fff0f99a18 clang::ento::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 0x000000fff0f99c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #23 0x000000fff0f99c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #24 0x000000fff12a703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #25 0x000000fff12a703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #26 0x000000fff12a703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #27 0x000000fff12a703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #28 0x000000fff12a703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #29 0x000000fff12a8224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #30 0x000000fff12a8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #31 0x000000fff12a8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #32 0x000000fff12ac604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #33 0x000000fff12ac604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #34 0x000000fff12ac604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #35 0x000000fff12ac604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #36 0x000000fff12ac604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #37 0x000000ffef4ee978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #38 0x000000ffef4ee978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #39 0x000000ffef4ee978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #40 0x000000ffef4ee978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #41 0x000000fff0d67b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #42 0x000000fff0d23354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #43 0x000000fff0d23354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #44 0x000000fff0d23354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #45 0x000000fff0db79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #46 0x000000aaac3f5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #47 0x000000aaac3f9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #48 0x000000aaac3fb234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #49 0x000000aaac3f2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #50 0x000000ffe7ae08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #51 0x000000ffe7ae09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #52 0x000000aaac3f20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/equality_tracking.c.script: line 1: 3889208 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/enum-cast-out-of-range.cpp (726 of 19712) ******************** TEST 'Clang :: Analysis/enum-cast-out-of-range.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8a4abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8a48c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8a4b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff59c648 (linux-vdso.so.1+0x648) #4 0x000000fff1103664 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff1103664 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff1103664 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff1103664 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff1103664 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff1103664 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff1103664 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff1103664 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 0x000000fff110408c 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 0x000000fff1109a18 clang::ento::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 0x000000fff1109c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x000000fff1109c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x000000fff141703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x000000fff141703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x000000fff141703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x000000fff141703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x000000fff141703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x000000fff1418224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x000000fff1418224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x000000fff1418224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x000000fff141c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x000000fff141c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x000000fff141c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x000000fff141c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x000000fff141c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x000000ffef65e978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x000000ffef65e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x000000ffef65e978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x000000ffef65e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x000000fff0ed7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x000000fff0e93354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x000000fff0e93354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x000000fff0e93354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x000000fff0f279a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000000aaac649c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000000aaac64db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000000aaac64f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000000aaac646034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x000000ffe7c508c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #43 0x000000ffe7c509cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #44 0x000000aaac6460a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/enum-cast-out-of-range.cpp.script: line 1: 3889196 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/errno-options.c (727 of 19712) ******************** TEST 'Clang :: Analysis/errno-options.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea28abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea288c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea28b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffdd58648 (linux-vdso.so.1+0x648) #4 0x000000fff29d330c clang::ento::MemRegion::getKind() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:172:0 #5 0x000000fff29d330c 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 0x000000fff29d330c llvm::isa_impl::doit(clang::ento::MemRegion const&) /usr/include/llvm/Support/Casting.h:64:0 #7 0x000000fff29d330c llvm::isa_impl_cl::doit(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:110:0 #8 0x000000fff29d330c llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:137:0 #9 0x000000fff29d330c llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:129:0 #10 0x000000fff29d330c llvm::CastIsPossible::isPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:257:0 #11 0x000000fff29d330c llvm::CastInfo::doCastIfPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:493:0 #12 0x000000fff29d330c decltype(auto) llvm::dyn_cast(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:663:0 #13 0x000000fff29d330c (anonymous namespace)::RegionStoreManager::bind((anonymous namespace)::RegionBindingsRef const&, clang::ento::Loc, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:2368:0 #14 0x000000fff297e63c asImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:258:0 #15 0x000000fff297e63c asStore /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:225:0 #16 0x000000fff297e63c Bind /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:443:0 #17 0x000000fff297e63c 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:119:0 #18 0x000000fff2a7841c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #19 0x000000fff2a7841c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #20 0x000000fff2a7841c 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 #21 0x000000fff2a7a0dc llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #22 0x000000fff2a7a0dc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #23 0x000000fff2a7a0dc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #24 0x000000fff2a7a0dc checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:149:0 #25 0x000000fff2a7a0dc 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 0x000000fff290ecc8 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #27 0x000000fff290ecc8 clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:441:26 #28 0x000000fff2949f88 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:126:0 #29 0x000000fff2c5703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x000000fff2c5703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x000000fff2c5703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #32 0x000000fff2c5703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #33 0x000000fff2c5703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #34 0x000000fff2c58224 llvm::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 0x000000fff2c58224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x000000fff2c58224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #37 0x000000fff2c5c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x000000fff2c5c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x000000fff2c5c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x000000fff2c5c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x000000fff2c5c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x000000fff0e9e978 __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 0x000000fff0e9e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x000000fff0e9e978 void clang::finalize>, 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 0x000000fff0e9e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x000000fff2717b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #47 0x000000fff26d3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #48 0x000000fff26d3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #49 0x000000fff26d3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #50 0x000000fff27679a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #51 0x000000aaae7a5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x000000aaae7a9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x000000aaae7ab234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x000000aaae7a2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x000000ffe94908c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #56 0x000000ffe94909cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #57 0x000000aaae7a20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/errno-options.c.script: line 2: 3890041 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-options.c -analyzer-checker=core -analyzer-checker=apiModeling.Errno -analyzer-checker=debug.ErrnoTest -analyzer-checker=alpha.unix.Errno -analyzer-config alpha.unix.Errno:AllowErrnoReadOutsideConditionExpressions=false -DERRNO_VAR -- ******************** Testing: 0 FAIL: Clang :: Analysis/errno-stdlibraryfunctions-notes.c (728 of 19712) ******************** TEST 'Clang :: Analysis/errno-stdlibraryfunctions-notes.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe93d2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe93d0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe93d33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe1d0648 (linux-vdso.so.1+0x648) #4 0x000000fff1b1b30c clang::ento::MemRegion::getKind() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:172:0 #5 0x000000fff1b1b30c 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 0x000000fff1b1b30c llvm::isa_impl::doit(clang::ento::MemRegion const&) /usr/include/llvm/Support/Casting.h:64:0 #7 0x000000fff1b1b30c llvm::isa_impl_cl::doit(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:110:0 #8 0x000000fff1b1b30c llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:137:0 #9 0x000000fff1b1b30c llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:129:0 #10 0x000000fff1b1b30c llvm::CastIsPossible::isPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:257:0 #11 0x000000fff1b1b30c llvm::CastInfo::doCastIfPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:493:0 #12 0x000000fff1b1b30c decltype(auto) llvm::dyn_cast(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:663:0 #13 0x000000fff1b1b30c (anonymous namespace)::RegionStoreManager::bind((anonymous namespace)::RegionBindingsRef const&, clang::ento::Loc, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:2368:0 #14 0x000000fff1ac663c asImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:258:0 #15 0x000000fff1ac663c asStore /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:225:0 #16 0x000000fff1ac663c Bind /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:443:0 #17 0x000000fff1ac663c 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:119:0 #18 0x000000fff1bc041c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #19 0x000000fff1bc041c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #20 0x000000fff1bc041c 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 #21 0x000000fff1bc20dc llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #22 0x000000fff1bc20dc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #23 0x000000fff1bc20dc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #24 0x000000fff1bc20dc checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:149:0 #25 0x000000fff1bc20dc 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 0x000000fff1a56cc8 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #27 0x000000fff1a56cc8 clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:441:26 #28 0x000000fff1a91f88 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:126:0 #29 0x000000fff1d9f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x000000fff1d9f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x000000fff1d9f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #32 0x000000fff1d9f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #33 0x000000fff1d9f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #34 0x000000fff1da0224 llvm::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 0x000000fff1da0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x000000fff1da0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #37 0x000000fff1da4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x000000fff1da4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x000000fff1da4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x000000fff1da4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x000000fff1da4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x000000ffeffe6978 __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 0x000000ffeffe6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x000000ffeffe6978 void clang::finalize>, 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 0x000000ffeffe6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x000000fff185fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #47 0x000000fff181b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #48 0x000000fff181b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #49 0x000000fff181b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #50 0x000000fff18af9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #51 0x000000aaaab6dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x000000aaaab71b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x000000aaaab73234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x000000aaaab6a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x000000ffe85d88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #56 0x000000ffe85d89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #57 0x000000aaaab6a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/errno-stdlibraryfunctions-notes.c.script: line 1: 3890068 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/exceptions.mm (729 of 19712) ******************** TEST 'Clang :: Analysis/exceptions.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7432bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7430c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe74333d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd920648 (linux-vdso.so.1+0x648) #4 0x000000ffefec97f4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffefec97f4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffefec97f4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffefec97f4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffefec97f4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffefec97f4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffefec97f4 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffefec97f4 (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 0x000000ffefc91fc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x000000ffefc91fc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x000000ffefc91fc8 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 0x000000ffefac3a28 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x000000ffefac3a28 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x000000ffefac3a28 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:29 #18 0x000000ffefac3a28 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x000000ffefb6c43c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x000000ffefb6c43c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x000000ffefb6c43c clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x000000ffefb6c43c clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x000000ffefb731d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x000000ffefb731d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x000000ffefb731d4 clang::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 0x000000ffeface230 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000ffeface230 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000ffeface230 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x000000ffeface230 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:0 #30 0x000000fff0024114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0024114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0024114 clang::ento::ProgramState::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 0x000000ffefcb4554 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x000000ffefcb4554 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x000000ffefcb4554 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x000000ffefcb4554 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x000000ffefcb4554 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x000000ffefcb4554 (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 0x000000ffefcb4a4c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #40 0x000000ffefcb4a4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #41 0x000000ffefcb4a4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #42 0x000000ffefcb4a4c (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 #43 0x000000ffefcc1610 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #44 0x000000ffefcc1610 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 #45 0x000000ffefac4df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #46 0x000000ffefac4df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x000000ffefac4df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #48 0x000000ffefac4df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #49 0x000000ffefac4df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #50 0x000000ffefb16500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #51 0x000000ffefb16500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #52 0x000000ffefb16500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #53 0x000000ffefb16500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #54 0x000000ffefb16e4c clang::ento::ExprEngine::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 0x000000ffefaeed1c clang::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 0x000000ffefaeed1c clang::ento::ExprEngine::Visit(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 0x000000ffefaefe0c clang::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 0x000000ffefaf165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffefaf187c clang::ento::CoreEngine::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 0x000000ffefaf1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #61 0x000000ffefaf1c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #62 0x000000ffefdff03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #63 0x000000ffefdff03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #64 0x000000ffefdff03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #65 0x000000ffefdff03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #66 0x000000ffefdff03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #67 0x000000ffefe00224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #68 0x000000ffefe00224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #69 0x000000ffefe00224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #70 0x000000ffefe04604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x000000ffefe04604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x000000ffefe04604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #73 0x000000ffefe04604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #74 0x000000ffefe04604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #75 0x000000ffee046978 __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 0x000000ffee046978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #77 0x000000ffee046978 void clang::finalize>, 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 0x000000ffee046978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #79 0x000000ffef8bfb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #80 0x000000ffef87b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #81 0x000000ffef87b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #82 0x000000ffef87b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #83 0x000000ffef90f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #84 0x000000aaab05dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #85 0x000000aaab061b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #86 0x000000aaab063234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #87 0x000000aaab05a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #88 0x000000ffe66388c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #89 0x000000ffe66389cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #90 0x000000aaab05a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/exceptions.mm.script: line 1: 3890136 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/errno.c (730 of 19712) ******************** TEST 'Clang :: Analysis/errno.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe770abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7708c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe770b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff590648 (linux-vdso.so.1+0x648) #4 0x000000ffefe5330c clang::ento::MemRegion::getKind() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:172:0 #5 0x000000ffefe5330c 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 0x000000ffefe5330c llvm::isa_impl::doit(clang::ento::MemRegion const&) /usr/include/llvm/Support/Casting.h:64:0 #7 0x000000ffefe5330c llvm::isa_impl_cl::doit(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:110:0 #8 0x000000ffefe5330c llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:137:0 #9 0x000000ffefe5330c llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:129:0 #10 0x000000ffefe5330c llvm::CastIsPossible::isPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:257:0 #11 0x000000ffefe5330c llvm::CastInfo::doCastIfPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:493:0 #12 0x000000ffefe5330c decltype(auto) llvm::dyn_cast(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:663:0 #13 0x000000ffefe5330c (anonymous namespace)::RegionStoreManager::bind((anonymous namespace)::RegionBindingsRef const&, clang::ento::Loc, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:2368:0 #14 0x000000ffefdfe63c asImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:258:0 #15 0x000000ffefdfe63c asStore /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:225:0 #16 0x000000ffefdfe63c Bind /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:443:0 #17 0x000000ffefdfe63c 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:119:0 #18 0x000000ffefef841c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #19 0x000000ffefef841c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #20 0x000000ffefef841c 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 #21 0x000000ffefefa0dc llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #22 0x000000ffefefa0dc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #23 0x000000ffefefa0dc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #24 0x000000ffefefa0dc checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:149:0 #25 0x000000ffefefa0dc 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 0x000000ffefd8ecc8 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #27 0x000000ffefd8ecc8 clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:441:26 #28 0x000000ffefdc9f88 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:126:0 #29 0x000000fff00d703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x000000fff00d703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x000000fff00d703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #32 0x000000fff00d703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #33 0x000000fff00d703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #34 0x000000fff00d8224 llvm::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 0x000000fff00d8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x000000fff00d8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #37 0x000000fff00dc604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x000000fff00dc604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x000000fff00dc604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x000000fff00dc604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x000000fff00dc604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x000000ffee31e978 __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 0x000000ffee31e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x000000ffee31e978 void clang::finalize>, 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 0x000000ffee31e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x000000ffefb97b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #47 0x000000ffefb53354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #48 0x000000ffefb53354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #49 0x000000ffefb53354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #50 0x000000ffefbe79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #51 0x000000aaade45c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x000000aaade49b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x000000aaade4b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x000000aaade42034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x000000ffe69108c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #56 0x000000ffe69109cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #57 0x000000aaade420a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/errno.c.script: line 2: 3890114 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno.c -analyzer-checker=core -analyzer-checker=apiModeling.Errno -analyzer-checker=debug.ExprInspection -analyzer-checker=debug.ErrnoTest -analyzer-checker=alpha.unix.Errno -DERRNO_VAR -- ******************** Testing: 0 FAIL: Clang :: Analysis/eval-predefined-exprs.cpp (732 of 19712) ******************** TEST 'Clang :: Analysis/eval-predefined-exprs.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9e02bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9e00c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9e033d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff088648 (linux-vdso.so.1+0x648) #4 0x000000fff28b5388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff28b5388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff28b5388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff28b5388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff28b5388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff28b5388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff28b5388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff28b5388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff252c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff252c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff252c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff252c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff252c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff252c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff252c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff252c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff252fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff252fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff252fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff252fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff2523430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff2523430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff2523430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff25313b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff25313b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff25313b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff2523d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff2523d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff2523d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff253c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff253c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff253c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff25431d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff25431d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff25431d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff249e138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff249e138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff249e138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff249e138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff249e688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff249e688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff249e688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff2466b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff2466b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff2466b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff24b2674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff24b2674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff24b2674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000fff24c2010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff24c2010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff24c2010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff27cf03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff27cf03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff27cf03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff27cf03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff27cf03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff27d0224 llvm::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 0x000000fff27d0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff27d0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff27d4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff27d4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff27d4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff27d4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff27d4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000fff0a16978 __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 0x000000fff0a16978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000fff0a16978 void clang::finalize>, 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 0x000000fff0a16978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff228fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff224b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff224b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff224b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff22df9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaaabcdc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaaabd1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaaabd3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaaabca034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe90088c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe90089cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaaabca0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/eval-predefined-exprs.cpp.script: line 2: 3890125 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/errno-stdlibraryfunctions.c (733 of 19712) ******************** TEST 'Clang :: Analysis/errno-stdlibraryfunctions.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8fdebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8fdcc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8fdf3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff284648 (linux-vdso.so.1+0x648) #4 0x000000fff172730c clang::ento::MemRegion::getKind() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:172:0 #5 0x000000fff172730c 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 0x000000fff172730c llvm::isa_impl::doit(clang::ento::MemRegion const&) /usr/include/llvm/Support/Casting.h:64:0 #7 0x000000fff172730c llvm::isa_impl_cl::doit(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:110:0 #8 0x000000fff172730c llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:137:0 #9 0x000000fff172730c llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:129:0 #10 0x000000fff172730c llvm::CastIsPossible::isPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:257:0 #11 0x000000fff172730c llvm::CastInfo::doCastIfPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:493:0 #12 0x000000fff172730c decltype(auto) llvm::dyn_cast(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:663:0 #13 0x000000fff172730c (anonymous namespace)::RegionStoreManager::bind((anonymous namespace)::RegionBindingsRef const&, clang::ento::Loc, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:2368:0 #14 0x000000fff16d263c asImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:258:0 #15 0x000000fff16d263c asStore /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:225:0 #16 0x000000fff16d263c Bind /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:443:0 #17 0x000000fff16d263c 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:119:0 #18 0x000000fff17cc41c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #19 0x000000fff17cc41c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #20 0x000000fff17cc41c 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 #21 0x000000fff17ce0dc llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #22 0x000000fff17ce0dc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #23 0x000000fff17ce0dc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #24 0x000000fff17ce0dc checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:149:0 #25 0x000000fff17ce0dc 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 0x000000fff1662cc8 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #27 0x000000fff1662cc8 clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:441:26 #28 0x000000fff169df88 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:126:0 #29 0x000000fff19ab03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x000000fff19ab03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x000000fff19ab03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #32 0x000000fff19ab03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #33 0x000000fff19ab03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #34 0x000000fff19ac224 llvm::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 0x000000fff19ac224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x000000fff19ac224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #37 0x000000fff19b0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x000000fff19b0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x000000fff19b0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x000000fff19b0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x000000fff19b0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x000000ffefbf2978 __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 0x000000ffefbf2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x000000ffefbf2978 void clang::finalize>, 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 0x000000ffefbf2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x000000fff146bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #47 0x000000fff1427354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #48 0x000000fff1427354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #49 0x000000fff1427354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #50 0x000000fff14bb9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #51 0x000000aaab61dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x000000aaab621b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x000000aaab623234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x000000aaab61a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x000000ffe81e48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #56 0x000000ffe81e49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #57 0x000000aaab61a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/errno-stdlibraryfunctions.c.script: line 1: 3890104 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/explain-svals.c (734 of 19712) ******************** TEST 'Clang :: Analysis/explain-svals.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/explain-svals.c -analyzer-checker=core.builtin -analyzer-checker=debug.ExprInspection -analyzer-checker=unix.cstring -analyzer-config display-checker-name=false 1. parser at end of file 2. While analyzing stack: #0 Calling test_1 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/explain-svals.c:21:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/explain-svals.c:21:7: Error evaluating statement #0 0x000000ffe9246bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9244c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe92473d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd24c648 (linux-vdso.so.1+0x648) #4 0x000000fff1cf9388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1cf9388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1cf9388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1cf9388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1cf9388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1cf9388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1cf9388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1cf9388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff19703a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff19703a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff19703a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff19703a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff19703a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff19703a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff19703a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff19703a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1973dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1973dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1973dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1973dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1967430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1967430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1967430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff19753b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff19753b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff19753b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1967d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1967d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1967d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff19803b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff19803b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff19803b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff19871d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff19871d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff19871d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff18e20e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff18e20e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff18e20e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff18e20e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff18f7e4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff18f7e4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff18f7e4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000fff18f7e4c 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:0 #47 0x000000fff1903b90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000fff1903b90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000fff1903b90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000fff1903b90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000fff1903b90 clang::ento::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 #52 0x000000fff1903e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000fff190565c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000fff190587c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000fff1905c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000fff1905c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000fff1c1303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff1c1303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff1c1303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000fff1c1303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000fff1c1303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000fff1c14224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000fff1c14224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000fff1c14224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000fff1c18604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000fff1c18604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000fff1c18604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000fff1c18604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000fff1c18604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000ffefe5a978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000ffefe5a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000ffefe5a978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000ffefe5a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000fff16d3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000fff168f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000fff168f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000fff168f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000fff17239a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaab3adc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaab3b1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaab3b3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaab3aa034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe844c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe844c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaab3aa0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/explain-svals.c.script: line 1: 3891006 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/explain-svals.c -analyzer-checker=core.builtin -analyzer-checker=debug.ExprInspection -analyzer-checker=unix.cstring -analyzer-config display-checker-name=false -- ******************** Testing: 0 FAIL: Clang :: Analysis/exercise-ps.c (735 of 19712) ******************** TEST 'Clang :: Analysis/exercise-ps.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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 0x000000ffe8cf6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8cf4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8cf73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffddc8648 (linux-vdso.so.1+0x648) #4 0x000000fff13cd510 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000fff13cd510 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff13cd510 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff13cd510 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff13cd510 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff13cd510 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff13cd510 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000fff13cd510 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x000000fff13cd510 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x000000fff13cd608 (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 0x000000fff13ec650 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #15 0x000000fff13ec650 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #16 0x000000fff13ec650 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 #17 0x000000fff13a7b3c 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:0 #18 0x000000fff13efecc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #19 0x000000fff13efecc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x000000fff13efecc 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 #21 0x000000fff13b2708 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #22 0x000000fff13b2708 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #23 0x000000fff13b2708 clang::ento::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 #24 0x000000fff13b3e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #25 0x000000fff13b565c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #26 0x000000fff13b587c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #27 0x000000fff13b5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #28 0x000000fff13b5c70 clang::ento::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 0x000000fff16c303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x000000fff16c303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x000000fff16c303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #32 0x000000fff16c303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #33 0x000000fff16c303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #34 0x000000fff16c4224 llvm::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 0x000000fff16c4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x000000fff16c4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #37 0x000000fff16c8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x000000fff16c8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x000000fff16c8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x000000fff16c8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x000000fff16c8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x000000ffef90a978 __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 0x000000ffef90a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x000000ffef90a978 void clang::finalize>, 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 0x000000ffef90a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x000000fff1183b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #47 0x000000fff113f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #48 0x000000fff113f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #49 0x000000fff113f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #50 0x000000fff11d39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #51 0x000000aaac5d9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x000000aaac5ddb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x000000aaac5df234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x000000aaac5d6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x000000ffe7efc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #56 0x000000ffe7efc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #57 0x000000aaac5d60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/exercise-ps.c.script: line 1: 3890173 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exercise-ps.c -verify -Wno-error=implicit-function-declaration -analyzer-checker=core -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=true -- ******************** Testing: 0 FAIL: Clang :: Analysis/explain-svals.cpp (736 of 19712) ******************** TEST 'Clang :: Analysis/explain-svals.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea24ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea24cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea24f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffb48648 (linux-vdso.so.1+0x648) #4 0x000000fff2d01388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2d01388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2d01388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2d01388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2d01388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2d01388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2d01388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2d01388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff29783a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff29783a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff29783a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff29783a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff29783a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff29783a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff29783a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff29783a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff297bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff297bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff297bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff297bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff296f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff296f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff296f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff297d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff297d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff297d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff296fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff296fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff296fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff29883b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff29883b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff29883b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff298f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff298f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff298f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff28ea138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff28ea138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff28ea138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff28ea138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff28ea688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff28ea688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff28ea688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff28b2b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff28b2b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff28b2b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff28fe674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff28fe674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff28fe674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000fff290e010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff290e010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff290e010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff2c1b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff2c1b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff2c1b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff2c1b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff2c1b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff2c1c224 llvm::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 0x000000fff2c1c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff2c1c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff2c20604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff2c20604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff2c20604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff2c20604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff2c20604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000fff0e62978 __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 0x000000fff0e62978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000fff0e62978 void clang::finalize>, 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 0x000000fff0e62978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff26dbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff2697354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff2697354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff2697354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff272b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaab85dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaab861b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaab863234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaab85a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe94548c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe94549cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaab85a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/explain-svals.cpp.script: line 1: 3891122 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/exploration_order/noexprcrash.c (737 of 19712) ******************** TEST 'Clang :: Analysis/exploration_order/noexprcrash.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7312bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7310c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe73133d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe550648 (linux-vdso.so.1+0x648) #4 0x000000ffefdc5388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffefdc5388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffefdc5388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffefdc5388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffefdc5388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffefdc5388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffefdc5388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffefdc5388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffefa3c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffefa3c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffefa3c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffefa3c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffefa3c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffefa3c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffefa3c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffefa3c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffefa3fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffefa3fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffefa3fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffefa3fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffefa33430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffefa33430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffefa33430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffefa413b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffefa413b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffefa413b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffefa33d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffefa33d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffefa33d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffefa4c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffefa4c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffefa4c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffefa531d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffefa531d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffefa531d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef9ae138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef9ae138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef9ae138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef9ae138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffeff04114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000ffeff04114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000ffeff04114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000ffefaf6de0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000ffefaf6de0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:0 #48 0x000000ffefaf6de0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #49 0x000000ffefaf6de0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:0 #50 0x000000ffef996208 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #51 0x000000ffef9c006c clang::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 0x000000ffef9c006c 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:0 #53 0x000000ffef9c3978 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #54 0x000000ffef9c3978 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #55 0x000000ffef9c3978 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x000000ffef9c3978 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:0 #57 0x000000ffefa0becc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000ffefa0becc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000ffefa0becc 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 #60 0x000000ffef9ce708 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #61 0x000000ffef9ce708 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #62 0x000000ffef9ce708 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #63 0x000000ffef9cfe0c clang::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 0x000000ffef9d165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef9d187c clang::ento::CoreEngine::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 0x000000ffef9d1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #67 0x000000ffef9d1c70 clang::ento::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 0x000000ffefcdf03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #69 0x000000ffefcdf03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #70 0x000000ffefcdf03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #71 0x000000ffefcdf03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #72 0x000000ffefcdf03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #73 0x000000ffefce0224 llvm::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 0x000000ffefce0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #75 0x000000ffefce0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #76 0x000000ffefce4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #77 0x000000ffefce4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #78 0x000000ffefce4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #79 0x000000ffefce4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #80 0x000000ffefce4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #81 0x000000ffedf26978 __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 0x000000ffedf26978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #83 0x000000ffedf26978 void clang::finalize>, 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 0x000000ffedf26978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #85 0x000000ffef79fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #86 0x000000ffef75b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #87 0x000000ffef75b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #88 0x000000ffef75b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #89 0x000000ffef7ef9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #90 0x000000aaade2dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #91 0x000000aaade31b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #92 0x000000aaade33234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #93 0x000000aaade2a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #94 0x000000ffe65188c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #95 0x000000ffe65189cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #96 0x000000aaade2a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/exploration_order/Output/noexprcrash.c.script: line 2: 3891355 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/explain-svals.m (738 of 19712) ******************** TEST 'Clang :: Analysis/explain-svals.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe83eabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe83e8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe83eb3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd3c0648 (linux-vdso.so.1+0x648) #4 0x000000fff0e9d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0e9d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0e9d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0e9d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0e9d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0e9d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0e9d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0e9d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff0b143a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff0b143a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff0b143a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff0b143a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff0b143a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff0b143a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff0b143a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff0b143a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0b17dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0b17dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0b17dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0b17dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0b0b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0b0b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0b0b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff0b193b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0b193b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0b193b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0b0bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0b0bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0b0bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff0b243b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff0b243b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff0b243b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff0b2b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff0b2b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff0b2b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0a86138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0a86138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0a86138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0a86138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff0fdc114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff0fdc114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff0fdc114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff0aee404 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #47 0x000000fff0aee404 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #48 0x000000fff0aee404 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #49 0x000000fff0aee404 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #50 0x000000fff0aee404 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #51 0x000000fff0aee404 clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #52 0x000000fff0aa677c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #53 0x000000fff0aa677c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #54 0x000000fff0aa7e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x000000fff0aa965c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x000000fff0aa987c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x000000fff0aa9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff0aa9c70 clang::ento::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 0x000000fff0db703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff0db703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff0db703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff0db703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff0db703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff0db8224 llvm::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 0x000000fff0db8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff0db8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff0dbc604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff0dbc604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff0dbc604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff0dbc604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff0dbc604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffeeffe978 __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 0x000000ffeeffe978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffeeffe978 void clang::finalize>, 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 0x000000ffeeffe978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff0877b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff0833354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff0833354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff0833354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff08c79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaadc35c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaadc39b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaadc3b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaadc32034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe75f08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe75f09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaadc320a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/explain-svals.m.script: line 1: 3891228 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -triple i386-apple-darwin10 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/explain-svals.m -analyzer-checker=core.builtin -analyzer-checker=debug.ExprInspection -analyzer-config display-checker-name=false -- ******************** Testing: 0 FAIL: Clang :: Analysis/exploded-graph-rewriter/dynamic_types.cpp (739 of 19712) ******************** TEST 'Clang :: Analysis/exploded-graph-rewriter/dynamic_types.cpp' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang" "-cc1" "-internal-isystem" "/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe839ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe839cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe839f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff3d4648 (linux-vdso.so.1+0x648) #4 0x000000fff0e51388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0e51388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0e51388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0e51388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0e51388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0e51388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0e51388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0e51388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff0ac83a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff0ac83a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff0ac83a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff0ac83a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff0ac83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff0ac83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff0ac83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff0ac83a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0acbdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0acbdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0acbdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0acbdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0abf430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0abf430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0abf430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff0acd3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0acd3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0acd3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0abfd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0abfd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0abfd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff0ad83b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff0ad83b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff0ad83b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff0adf1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff0adf1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff0adf1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0a3a138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0a3a138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0a3a138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0a3a138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff0a3a688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff0a3a688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff0a3a688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff0aa19ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff0aa19ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff0aa19ac clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff0aa19ac clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #50 0x000000fff0a54d50 clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1318:0 #51 0x000000fff0a5d6a8 clang::ento::ExprEngine::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 #52 0x000000fff0a5d780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #53 0x000000fff0a5da58 clang::ento::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 #54 0x000000fff0a5dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x000000fff0a5dc70 clang::ento::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 0x000000fff0d6b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x000000fff0d6b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x000000fff0d6b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x000000fff0d6b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x000000fff0d6b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x000000fff0d6c224 llvm::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 0x000000fff0d6c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x000000fff0d6c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x000000fff0d70604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x000000fff0d70604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x000000fff0d70604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x000000fff0d70604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x000000fff0d70604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x000000ffeefb2978 __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 0x000000ffeefb2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x000000ffeefb2978 void clang::finalize>, 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 0x000000ffeefb2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x000000fff082bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x000000fff07e7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x000000fff07e7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x000000fff07e7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x000000fff087b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x000000aaabcf5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x000000aaabcf9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x000000aaabcfb234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x000000aaabcf2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x000000ffe75a48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #83 0x000000ffe75a49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #84 0x000000aaabcf20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) error: command failed with exit status: -11 -- ******************** Testing: 0 FAIL: Clang :: Analysis/exploded-graph-rewriter/initializers_under_construction.cpp (743 of 19712) ******************** TEST 'Clang :: Analysis/exploded-graph-rewriter/initializers_under_construction.cpp' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang" "-cc1" "-internal-isystem" "/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe79aabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe79a8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe79ab3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff2b0648 (linux-vdso.so.1+0x648) #4 0x000000fff005ff68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff005ff68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff005ff68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff005ff68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff005ff68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff005ff68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff005ff68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff005ff68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000fff0067d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x000000fff0067d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x000000fff0067d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x000000fff0067d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x000000fff0067d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x000000fff0067d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x000000fff0067d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x000000fff0067d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x000000fff0067d94 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 0x000000fff006965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff0069780 clang::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 0x000000fff0069a58 clang::ento::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 0x000000fff0069c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x000000fff0069c70 clang::ento::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 0x000000fff037703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff037703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff037703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x000000fff037703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x000000fff037703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x000000fff0378224 llvm::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 0x000000fff0378224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x000000fff0378224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x000000fff037c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x000000fff037c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x000000fff037c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x000000fff037c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x000000fff037c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x000000ffee5be978 __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 0x000000ffee5be978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x000000ffee5be978 void clang::finalize>, 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 0x000000ffee5be978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x000000ffefe37b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x000000ffefdf3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x000000ffefdf3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x000000ffefdf3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x000000ffefe879a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000000aaae9a9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000000aaae9adb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000000aaae9af234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000000aaae9a6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x000000ffe6bb08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #53 0x000000ffe6bb09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #54 0x000000aaae9a60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) error: command failed with exit status: -11 -- ******************** Testing: 0 FAIL: Clang :: Analysis/expr-inspection-printState-diseq-info.c (744 of 19712) ******************** TEST 'Clang :: Analysis/expr-inspection-printState-diseq-info.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe91d2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10: #1 0x000000ffe91d0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11: #2 0x000000ffe91d33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/expr-inspection.c (746 of 19712) ******************** TEST 'Clang :: Analysis/expr-inspection.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000fff2be49e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000fff2be49e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 13: #5 0x000000fff2be49e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14: #6 0x000000fff2be49e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15: #7 0x000000fff2be49e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 16: #8 0x000000fff2be49e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 17: #9 0x000000fff2be49e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /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 0x000000fff2b4c278 llvm::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:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19: #11 0x000000fff2b4c278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 20: #12 0x000000fff2b4c278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 21: #13 0x000000fff2b4c278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 22: #14 0x000000fff2b53d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/exploration_order/prefer_unexplored.cpp (747 of 19712) ******************** TEST 'Clang :: Analysis/exploration_order/prefer_unexplored.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe737abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7378c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe737b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffdd48648 (linux-vdso.so.1+0x648) #4 0x000000ffefe2d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffefe2d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffefe2d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffefe2d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffefe2d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffefe2d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffefe2d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffefe2d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffefaa43a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffefaa43a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffefaa43a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffefaa43a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffefaa43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffefaa43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffefaa43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffefaa43a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffefaa7dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffefaa7dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffefaa7dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffefaa7dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffefa9b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffefa9b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffefa9b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffefaa93b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffefaa93b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffefaa93b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffefa9bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffefa9bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffefa9bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffefab43b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffefab43b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffefab43b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffefabb1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffefabb1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffefabb1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffefa16138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffefa16138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffefa16138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffefa16138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffeff6c114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000ffeff6c114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000ffeff6c114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000ffefa27190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000ffefa27190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000ffefa27190 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:0 #49 0x000000ffefa27190 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:0 #50 0x000000ffefa27190 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:0 #51 0x000000ffefa27190 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:0 #52 0x000000ffefa27190 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:0 #53 0x000000ffefa27190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000ffefa27190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000ffefa27190 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:0 #56 0x000000ffefa277ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000ffefa39c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000ffefa39c70 clang::ento::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 0x000000ffefd4703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000ffefd4703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000ffefd4703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000ffefd4703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000ffefd4703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000ffefd48224 llvm::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 0x000000ffefd48224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000ffefd48224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000ffefd4c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000ffefd4c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000ffefd4c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000ffefd4c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000ffefd4c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffedf8e978 __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 0x000000ffedf8e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffedf8e978 void clang::finalize>, 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 0x000000ffedf8e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000ffef807b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000ffef7c3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000ffef7c3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000ffef7c3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000ffef8579a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaae945c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaae949b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaae94b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaae942034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe65808c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe65809cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaae9420a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/exploration_order/Output/prefer_unexplored.cpp.script: line 2: 3891361 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/expr-inspection-printState-eq-classes.c (749 of 19712) ******************** TEST 'Clang :: Analysis/expr-inspection-printState-eq-classes.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe84eebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) check:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10: #1 0x000000ffe84ecc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) check:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11: #2 0x000000ffe84ef3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) check:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/exploded-graph-rewriter/objects_under_construction.cpp (750 of 19712) ******************** TEST 'Clang :: Analysis/exploded-graph-rewriter/objects_under_construction.cpp' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang" "-cc1" "-internal-isystem" "/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe87d2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe87d0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe87d33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc934648 (linux-vdso.so.1+0x648) #4 0x000000fff0eae244 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff0eae244 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff0eae244 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff0eae244 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x000000fff0eae244 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x000000fff0eae244 Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:27 #10 0x000000fff0eae244 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:89 #11 0x000000fff0eae244 llvm::IntrusiveRefCntPtr clang::ento::ProgramState::set<(anonymous namespace)::ObjectsUnderConstruction>(clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:63 #12 0x000000fff0e8610c 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:600:0 #13 0x000000fff0eb536c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #14 0x000000fff0eb536c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #15 0x000000fff0eb536c clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:463:62 #16 0x000000fff0ed37a4 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x000000fff0ed37a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x000000fff0ed37a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x000000fff0ed37a4 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 #20 0x000000fff0ed37a4 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 #21 0x000000fff0e8ecdc clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #22 0x000000fff0e8ecdc clang::ento::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 #23 0x000000fff0e8fe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #24 0x000000fff0e9165c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #25 0x000000fff0e91780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #26 0x000000fff0e91a58 clang::ento::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 #27 0x000000fff0e91c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #28 0x000000fff0e91c70 clang::ento::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 0x000000fff119f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x000000fff119f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x000000fff119f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #32 0x000000fff119f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #33 0x000000fff119f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #34 0x000000fff11a0224 llvm::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 0x000000fff11a0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x000000fff11a0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #37 0x000000fff11a4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x000000fff11a4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x000000fff11a4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x000000fff11a4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x000000fff11a4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x000000ffef3e6978 __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 0x000000ffef3e6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x000000ffef3e6978 void clang::finalize>, 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 0x000000ffef3e6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x000000fff0c5fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #47 0x000000fff0c1b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #48 0x000000fff0c1b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #49 0x000000fff0c1b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #50 0x000000fff0caf9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #51 0x000000aaacb99c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x000000aaacb9db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x000000aaacb9f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x000000aaacb96034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x000000ffe79d88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #56 0x000000ffe79d89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #57 0x000000aaacb960a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) error: command failed with exit status: -11 -- ******************** Testing: 0 FAIL: Clang :: Analysis/expr-inspection.cpp (751 of 19712) ******************** TEST 'Clang :: Analysis/expr-inspection.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8a26bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8a24c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8a273d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff3f8648 (linux-vdso.so.1+0x648) #4 0x000000fff1217a04 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1217a04 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1217a04 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1217a04 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1217a04 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1217a04 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 0x000000fff1217a04 get<(anonymous namespace)::DenotedSymbols> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1217a04 (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 0x000000fff10aa8e8 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x000000fff10dc1b4 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x000000fff10dc1b4 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x000000fff10dc1b4 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #16 0x000000fff10dc1b4 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #17 0x000000fff10dc1b4 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #18 0x000000fff10dc1b4 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #19 0x000000fff10dc1b4 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #20 0x000000fff10e3d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x000000fff10e3d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x000000fff10e3d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x000000fff10e3d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x000000fff10e3d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x000000fff10e3d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x000000fff10e3d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x000000fff10e3d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x000000fff10e3d94 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 0x000000fff10e565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff10e587c clang::ento::CoreEngine::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 0x000000fff10e5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #32 0x000000fff10e5c70 clang::ento::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 0x000000fff13f303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x000000fff13f303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x000000fff13f303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #36 0x000000fff13f303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #37 0x000000fff13f303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #38 0x000000fff13f4224 llvm::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 0x000000fff13f4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #40 0x000000fff13f4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #41 0x000000fff13f8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x000000fff13f8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x000000fff13f8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #44 0x000000fff13f8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #45 0x000000fff13f8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #46 0x000000ffef63a978 __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 0x000000ffef63a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #48 0x000000ffef63a978 void clang::finalize>, 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 0x000000ffef63a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #50 0x000000fff0eb3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #51 0x000000fff0e6f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #52 0x000000fff0e6f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #53 0x000000fff0e6f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #54 0x000000fff0f039a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #55 0x000000aaac411c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #56 0x000000aaac415b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #57 0x000000aaac417234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #58 0x000000aaac40e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #59 0x000000ffe7c2c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #60 0x000000ffe7c2c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #61 0x000000aaac40e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/expr-inspection.cpp.script: line 2: 3892371 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/func.c (752 of 19712) ******************** TEST 'Clang :: Analysis/func.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8c8ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8c8cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8c8f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffda60648 (linux-vdso.so.1+0x648) #4 0x000000fff1741388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1741388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1741388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1741388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1741388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1741388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1741388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1741388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff13b83a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff13b83a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff13b83a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff13b83a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff13b83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff13b83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff13b83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff13b83a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff13bbdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff13bbdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff13bbdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff13bbdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff13af430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff13af430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff13af430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff13bd3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff13bd3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff13bd3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff13afd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff13afd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff13afd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff13c83b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff13c83b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff13c83b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff13cf1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff13cf1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff13cf1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff132a138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff132a138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff132a138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff132a138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1880114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff1880114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff1880114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff133b190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff133b190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff133b190 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:0 #49 0x000000fff133b190 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:0 #50 0x000000fff133b190 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:0 #51 0x000000fff133b190 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:0 #52 0x000000fff133b190 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:0 #53 0x000000fff133b190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff133b190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff133b190 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:0 #56 0x000000fff133b7ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff134dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff134dc70 clang::ento::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 0x000000fff165b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff165b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff165b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff165b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff165b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff165c224 llvm::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 0x000000fff165c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff165c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff1660604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff1660604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff1660604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff1660604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff1660604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffef8a2978 __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 0x000000ffef8a2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffef8a2978 void clang::finalize>, 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 0x000000ffef8a2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff111bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff10d7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff10d7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff10d7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff116b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaac645c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaac649b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaac64b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaac642034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe7e948c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe7e949cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaac6420a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/func.c.script: line 1: 3892464 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/flexible-array-member.cpp (753 of 19712) ******************** TEST 'Clang :: Analysis/flexible-array-member.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea3aebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea3acc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea3af3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd1f4648 (linux-vdso.so.1+0x648) #4 0x000000fff2a63f68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff2a63f68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff2a63f68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff2a63f68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff2a63f68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff2a63f68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff2a63f68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff2a63f68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000fff2aacc58 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #13 0x000000fff2aacc58 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #14 0x000000fff2aacc58 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #15 0x000000fff2aacc58 clang::ento::ExprEngine::processCallExit(clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:377:0 #16 0x000000fff2a6dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #17 0x000000fff2a6dc70 clang::ento::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 0x000000fff2d7b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #19 0x000000fff2d7b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x000000fff2d7b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #21 0x000000fff2d7b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #22 0x000000fff2d7b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #23 0x000000fff2d7c224 llvm::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 0x000000fff2d7c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x000000fff2d7c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #26 0x000000fff2d80604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x000000fff2d80604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x000000fff2d80604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x000000fff2d80604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x000000fff2d80604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x000000fff0fc2978 __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 0x000000fff0fc2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x000000fff0fc2978 void clang::finalize>, 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 0x000000fff0fc2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x000000fff283bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #36 0x000000fff27f7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #37 0x000000fff27f7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #38 0x000000fff27f7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #39 0x000000fff288b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #40 0x000000aaae289c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x000000aaae28db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x000000aaae28f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x000000aaae286034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x000000ffe95b48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #45 0x000000ffe95b49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #46 0x000000aaae2860a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/flexible-array-member.cpp.script: line 2: 3892398 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/fields.c (754 of 19712) ******************** TEST 'Clang :: Analysis/fields.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe86fabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe86f8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe86fb3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcd54648 (linux-vdso.so.1+0x648) #4 0x000000fff0ff9c54 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000fff0ff9c54 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff0ff9c54 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff0ff9c54 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff0ff9c54 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff0ff9c54 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 0x000000fff0ff9c54 get<(anonymous namespace)::DestroyRetVal> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff0ff9c54 remove<(anonymous namespace)::DestroyRetVal> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:669:89 #12 0x000000fff0ff9c54 llvm::IntrusiveRefCntPtr clang::ento::ProgramState::remove<(anonymous namespace)::DestroyRetVal>(clang::ento::ProgramStateTrait<(anonymous namespace)::DestroyRetVal>::key_type) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:854:63 #13 0x000000fff1007ba4 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #14 0x000000fff1007ba4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #15 0x000000fff1007ba4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #16 0x000000fff1007ba4 checkRegionChanges /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp:690:41 #17 0x000000fff1007ba4 llvm::IntrusiveRefCntPtr clang::ento::check::RegionChanges::_checkRegionChanges<(anonymous namespace)::PthreadLockChecker>(void*, llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:344:70 #18 0x000000fff0d8b704 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #19 0x000000fff0d8b704 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #20 0x000000fff0d8b704 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*)>::operator()(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:29 #21 0x000000fff0d8b704 clang::ento::CheckerManager::runCheckersForRegionChanges(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:608:33 #22 0x000000fff0def2b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #23 0x000000fff0def2b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #24 0x000000fff0def2b4 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 #25 0x000000fff0def2b4 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 #26 0x000000fff0d8ed0c std::_Rb_tree, std::less, std::allocator>::~_Rb_tree() /usr/include/c++/12/bits/stl_tree.h:986:0 #27 0x000000fff0d8ed0c std::set, std::allocator>::~set() /usr/include/c++/12/bits/stl_set.h:281:0 #28 0x000000fff0d8ed0c llvm::SmallSet>::~SmallSet() /usr/include/llvm/ADT/SmallSet.h:135:0 #29 0x000000fff0d8ed0c clang::ento::CallEvent::invalidateRegions(unsigned int, llvm::IntrusiveRefCntPtr) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:286:1 #30 0x000000fff0dfbd98 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #31 0x000000fff0dfbd98 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #32 0x000000fff0dfbd98 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 0x000000fff0dfc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x000000fff0dfc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x000000fff0dfc8f4 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 0x000000fff0d95670 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:706:0 #37 0x000000fff0dde440 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #38 0x000000fff0dde440 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #39 0x000000fff0dde440 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #40 0x000000fff0dde440 clang::ento::ExprEngine::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 0x000000fff0ddee4c clang::ento::ExprEngine::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 0x000000fff0db6d1c clang::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 0x000000fff0db6d1c clang::ento::ExprEngine::Visit(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 0x000000fff0db7e0c clang::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 0x000000fff0db965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff0db987c clang::ento::CoreEngine::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 0x000000fff0db9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #48 0x000000fff0db9c70 clang::ento::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 0x000000fff10c703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #50 0x000000fff10c703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #51 0x000000fff10c703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #52 0x000000fff10c703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #53 0x000000fff10c703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #54 0x000000fff10c8224 llvm::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 0x000000fff10c8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #56 0x000000fff10c8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #57 0x000000fff10cc604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #58 0x000000fff10cc604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #59 0x000000fff10cc604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #60 0x000000fff10cc604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #61 0x000000fff10cc604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #62 0x000000ffef30e978 __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 0x000000ffef30e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #64 0x000000ffef30e978 void clang::finalize>, 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 0x000000ffef30e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #66 0x000000fff0b87b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #67 0x000000fff0b43354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #68 0x000000fff0b43354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #69 0x000000fff0b43354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #70 0x000000fff0bd79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #71 0x000000aaae9bdc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #72 0x000000aaae9c1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #73 0x000000aaae9c3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #74 0x000000aaae9ba034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #75 0x000000ffe79008c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #76 0x000000ffe79009cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #77 0x000000aaae9ba0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/fields.c.script: line 1: 3892380 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/fuchsia_handle.cpp (756 of 19712) ******************** TEST 'Clang :: Analysis/fuchsia_handle.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe874ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe874cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe874f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff064648 (linux-vdso.so.1+0x648) #4 0x000000fff0f55304 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000fff0f55304 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff0f55304 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff0f55304 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff0f55304 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff0f55304 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff0f55304 get<(anonymous namespace)::HStateMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000fff0f55304 (anonymous namespace)::FuchsiaHandleChecker::checkPostCall(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/FuchsiaHandleChecker.cpp:421:56 #12 0x000000fff0de0df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #13 0x000000fff0de0df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x000000fff0de0df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #15 0x000000fff0de0df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #16 0x000000fff0de0df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #17 0x000000fff0e32500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #18 0x000000fff0e32500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #19 0x000000fff0e32500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #20 0x000000fff0e32500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #21 0x000000fff0e32e4c clang::ento::ExprEngine::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 #22 0x000000fff0e0ad1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #23 0x000000fff0e0ad1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #24 0x000000fff0e0be0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #25 0x000000fff0e0d65c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #26 0x000000fff0e0d87c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #27 0x000000fff0e0dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #28 0x000000fff0e0dc70 clang::ento::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 0x000000fff111b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x000000fff111b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x000000fff111b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #32 0x000000fff111b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #33 0x000000fff111b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #34 0x000000fff111c224 llvm::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 0x000000fff111c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x000000fff111c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #37 0x000000fff1120604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x000000fff1120604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x000000fff1120604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x000000fff1120604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x000000fff1120604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x000000ffef362978 __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 0x000000ffef362978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x000000ffef362978 void clang::finalize>, 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 0x000000ffef362978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x000000fff0bdbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #47 0x000000fff0b97354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #48 0x000000fff0b97354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #49 0x000000fff0b97354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #50 0x000000fff0c2b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #51 0x000000aaac02dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x000000aaac031b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x000000aaac033234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x000000aaac02a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x000000ffe79548c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #56 0x000000ffe79549cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #57 0x000000aaac02a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/fuchsia_handle.cpp.script: line 1: 3892428 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/fuchsia_lock_impl.c (757 of 19712) ******************** TEST 'Clang :: Analysis/fuchsia_lock_impl.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8c6ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8c6cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8c6f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc4d4648 (linux-vdso.so.1+0x648) #4 0x000000fff1721388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1721388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1721388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1721388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1721388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1721388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1721388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1721388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff13983a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff13983a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff13983a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff13983a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff13983a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff13983a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff13983a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff13983a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff139bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff139bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff139bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff139bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff139a65c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff139a65c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff139a65c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000fff139d444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff139d444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff139d444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000fff138fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff138fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff138fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff13a83b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff13a83b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff13a83b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff13af1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff13af1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff13af1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff130a138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff130a138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff130a138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff130a138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1860114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff1860114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff1860114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff131b190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff131b190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff131b190 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:0 #49 0x000000fff131b190 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:0 #50 0x000000fff131b190 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:0 #51 0x000000fff131b190 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:0 #52 0x000000fff131b190 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:0 #53 0x000000fff131b190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff131b190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff131b190 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:0 #56 0x000000fff131b7ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff132dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff132dc70 clang::ento::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 0x000000fff163b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff163b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff163b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff163b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff163b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff163c224 llvm::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 0x000000fff163c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff163c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff1640604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff1640604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff1640604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff1640604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff1640604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffef882978 __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 0x000000ffef882978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffef882978 void clang::finalize>, 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 0x000000ffef882978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff10fbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff10b7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff10b7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff10b7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff114b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaaaf09c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaaaf0db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaaaf0f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaaaf06034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe7e748c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe7e749cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaaaf060a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/fuchsia_lock_impl.c.script: line 1: 3892438 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.fuchsia.Lock -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_lock_impl.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/fuchsia_lock.c (759 of 19712) ******************** TEST 'Clang :: Analysis/fuchsia_lock.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8006bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8004c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe80073d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd158648 (linux-vdso.so.1+0x648) #4 0x000000fff0ab9388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0ab9388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0ab9388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0ab9388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0ab9388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0ab9388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0ab9388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0ab9388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff07303a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff07303a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff07303a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff07303a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff07303a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff07303a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff07303a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff07303a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0733dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0733dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0733dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0733dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff073265c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff073265c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff073265c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000fff0735444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0735444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0735444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000fff0727d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0727d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0727d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff07403b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff07403b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff07403b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff07471d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff07471d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff07471d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff06a2138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff06a2138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff06a2138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff06a2138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff0bf8114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff0bf8114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff0bf8114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff090c094 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:9 #47 0x000000fff090c094 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:21 #48 0x000000fff090c094 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:44 #49 0x000000fff090c094 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:25 #50 0x000000fff090c094 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:44 #51 0x000000fff090c094 (anonymous namespace)::PthreadLockChecker::AcquireLockAux(clang::ento::CallEvent const&, clang::ento::CheckerContext&, clang::Expr const*, clang::ento::SVal, bool, (anonymous namespace)::PthreadLockChecker::LockingSemantics, (anonymous namespace)::PthreadLockChecker::CheckerKind) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp:433:17 #52 0x000000fff090c420 (anonymous namespace)::PthreadLockChecker::TryPthreadLock(clang::ento::CallEvent const&, clang::ento::CheckerContext&, (anonymous namespace)::PthreadLockChecker::CheckerKind) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp:375:0 #53 0x000000fff0698df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #54 0x000000fff0698df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #55 0x000000fff0698df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #56 0x000000fff0698df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #57 0x000000fff0698df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #58 0x000000fff06ea500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #59 0x000000fff06ea500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #60 0x000000fff06ea500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #61 0x000000fff06ea500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #62 0x000000fff06eae4c clang::ento::ExprEngine::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 0x000000fff06c2d1c clang::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 0x000000fff06c2d1c clang::ento::ExprEngine::Visit(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 0x000000fff06c3e0c clang::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 0x000000fff06c565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff06c587c clang::ento::CoreEngine::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 0x000000fff06c5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #69 0x000000fff06c5c70 clang::ento::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 0x000000fff09d303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #71 0x000000fff09d303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #72 0x000000fff09d303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #73 0x000000fff09d303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #74 0x000000fff09d303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #75 0x000000fff09d4224 llvm::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 0x000000fff09d4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x000000fff09d4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #78 0x000000fff09d8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x000000fff09d8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x000000fff09d8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x000000fff09d8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x000000fff09d8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x000000ffeec1a978 __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 0x000000ffeec1a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x000000ffeec1a978 void clang::finalize>, 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 0x000000ffeec1a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x000000fff0493b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #88 0x000000fff044f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #89 0x000000fff044f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #90 0x000000fff044f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #91 0x000000fff04e39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #92 0x000000aaab5b9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x000000aaab5bdb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x000000aaab5bf234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x000000aaab5b6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x000000ffe720c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #97 0x000000ffe720c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #98 0x000000aaab5b60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/fuchsia_lock.c.script: line 1: 3892436 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/free.cpp (763 of 19712) ******************** TEST 'Clang :: Analysis/free.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9a36bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9a34c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9a373d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc968648 (linux-vdso.so.1+0x648) #4 0x000000fff24e9388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff24e9388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff24e9388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff24e9388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff24e9388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff24e9388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff24e9388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff24e9388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff21603a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff21603a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff21603a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff21603a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff21603a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff21603a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff21603a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff21603a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff2163dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff2163dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff2163dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff2163dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff2157430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff2157430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff2157430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff21653b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff21653b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff21653b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff2157d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff2157d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff2157d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff21703b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff21703b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff21703b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff21771d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff21771d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff21771d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff20d2138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff20d2138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff20d2138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff20d2138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff2628114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff2628114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff2628114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff22bd414 (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 #47 0x000000fff24c77ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #48 0x000000fff24c77ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #49 0x000000fff24c77ac (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 #50 0x000000fff22b7dfc llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #51 0x000000fff22b7dfc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #52 0x000000fff22b7dfc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #53 0x000000fff22b7dfc (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:1292:0 #54 0x000000fff22c5540 std::function&)>::operator()(clang::Expr const*, clang::ast_matchers::MatchFinder::MatchResult const&, clang::dataflow::TransferState&) const /usr/include/c++/12/bits/std_function.h:591:0 #55 0x000000fff22c5540 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1469:0 #56 0x000000fff22c5540 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #57 0x000000fff20c8df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #58 0x000000fff20c8df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #59 0x000000fff20c8df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #60 0x000000fff20c8df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #61 0x000000fff20c8df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #62 0x000000fff211a500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #63 0x000000fff211a500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #64 0x000000fff211a500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #65 0x000000fff211a500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #66 0x000000fff211ae4c clang::ento::ExprEngine::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 #67 0x000000fff20f2d1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #68 0x000000fff20f2d1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #69 0x000000fff20f3e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #70 0x000000fff20f565c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #71 0x000000fff20f587c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #72 0x000000fff20f5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #73 0x000000fff20f5c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #74 0x000000fff240303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #75 0x000000fff240303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #76 0x000000fff240303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #77 0x000000fff240303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #78 0x000000fff240303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #79 0x000000fff2404224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #80 0x000000fff2404224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #81 0x000000fff2404224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #82 0x000000fff2408604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #83 0x000000fff2408604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #84 0x000000fff2408604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #85 0x000000fff2408604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #86 0x000000fff2408604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #87 0x000000fff064a978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #88 0x000000fff064a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #89 0x000000fff064a978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #90 0x000000fff064a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #91 0x000000fff1ec3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #92 0x000000fff1e7f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #93 0x000000fff1e7f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #94 0x000000fff1e7f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #95 0x000000fff1f139a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #96 0x000000aaac111c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #97 0x000000aaac115b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #98 0x000000aaac117234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #99 0x000000aaac10e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #100 0x000000ffe8c3c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #101 0x000000ffe8c3c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #102 0x000000aaac10e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/free.cpp.script: line 2: 3892427 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/free.cpp -analyzer-checker=core -analyzer-checker=unix.Malloc -- ******************** Testing: 0 FAIL: Clang :: Analysis/free.c (764 of 19712) ******************** TEST 'Clang :: Analysis/free.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8ffebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8ffcc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8fff3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe0b8648 (linux-vdso.so.1+0x648) #4 0x000000fff1ab1388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1ab1388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1ab1388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1ab1388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1ab1388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1ab1388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1ab1388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1ab1388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff17283a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff17283a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff17283a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff17283a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff17283a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff17283a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff17283a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff17283a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff172bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff172bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff172bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff172bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff171f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff171f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff171f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff172d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff172d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff172d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff171fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff171fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff171fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff17383b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff17383b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff17383b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff173f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff173f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff173f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff169a138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff169a138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff169a138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff169a138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1bf0114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff1bf0114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff1bf0114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff1885414 (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 #47 0x000000fff1a8f7ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #48 0x000000fff1a8f7ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #49 0x000000fff1a8f7ac (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 #50 0x000000fff187fdfc llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #51 0x000000fff187fdfc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #52 0x000000fff187fdfc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #53 0x000000fff187fdfc (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:1292:0 #54 0x000000fff188d540 std::function&)>::operator()(clang::Expr const*, clang::ast_matchers::MatchFinder::MatchResult const&, clang::dataflow::TransferState&) const /usr/include/c++/12/bits/std_function.h:591:0 #55 0x000000fff188d540 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1469:0 #56 0x000000fff188d540 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #57 0x000000fff1690df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #58 0x000000fff1690df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #59 0x000000fff1690df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #60 0x000000fff1690df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #61 0x000000fff1690df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #62 0x000000fff16e2500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #63 0x000000fff16e2500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #64 0x000000fff16e2500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #65 0x000000fff16e2500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #66 0x000000fff16e2e4c clang::ento::ExprEngine::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 #67 0x000000fff16bad1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #68 0x000000fff16bad1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #69 0x000000fff16bbe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #70 0x000000fff16bd65c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #71 0x000000fff16bd87c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #72 0x000000fff16bdc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #73 0x000000fff16bdc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #74 0x000000fff19cb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #75 0x000000fff19cb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #76 0x000000fff19cb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #77 0x000000fff19cb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #78 0x000000fff19cb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #79 0x000000fff19cc224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #80 0x000000fff19cc224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #81 0x000000fff19cc224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #82 0x000000fff19d0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #83 0x000000fff19d0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #84 0x000000fff19d0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #85 0x000000fff19d0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #86 0x000000fff19d0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #87 0x000000ffefc12978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #88 0x000000ffefc12978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #89 0x000000ffefc12978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #90 0x000000ffefc12978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #91 0x000000fff148bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #92 0x000000fff1447354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #93 0x000000fff1447354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #94 0x000000fff1447354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #95 0x000000fff14db9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #96 0x000000aaac09dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #97 0x000000aaac0a1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #98 0x000000aaac0a3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #99 0x000000aaac09a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #100 0x000000ffe82048c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #101 0x000000ffe82049cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #102 0x000000aaac09a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/free.c.script: line 2: 3892412 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/flexible-array-members.c (766 of 19712) ******************** TEST 'Clang :: Analysis/flexible-array-members.c' FAILED ******************** Script: -- : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe789ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe789cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe789f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff0a4648 (linux-vdso.so.1+0x648) #4 0x000000fff03357f4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff03357f4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff03357f4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff03357f4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff03357f4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff03357f4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff03357f4 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff03357f4 (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 0x000000fff00fdfc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x000000fff00fdfc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x000000fff00fdfc8 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 0x000000ffeff2fa28 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x000000ffeff2fa28 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x000000ffeff2fa28 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:29 #18 0x000000ffeff2fa28 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x000000ffeffd843c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x000000ffeffd843c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x000000ffeffd843c clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x000000ffeffd843c clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x000000ffeffdf1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x000000ffeffdf1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x000000ffeffdf1d4 clang::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 0x000000ffeff3a230 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000ffeff3a230 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000ffeff3a230 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x000000ffeff3a230 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:0 #30 0x000000fff0490114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0490114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0490114 clang::ento::ProgramState::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 0x000000fff0120554 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x000000fff0120554 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x000000fff0120554 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x000000fff0120554 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x000000fff0120554 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x000000fff0120554 (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 0x000000fff01216ac llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #40 0x000000fff01216ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #41 0x000000fff01216ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #42 0x000000fff01216ac (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 #43 0x000000fff012d610 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #44 0x000000fff012d610 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 #45 0x000000ffeff30df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #46 0x000000ffeff30df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x000000ffeff30df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #48 0x000000ffeff30df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #49 0x000000ffeff30df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #50 0x000000ffeff82500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #51 0x000000ffeff82500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #52 0x000000ffeff82500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #53 0x000000ffeff82500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #54 0x000000ffeff82e4c clang::ento::ExprEngine::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 0x000000ffeff5ad1c clang::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 0x000000ffeff5ad1c clang::ento::ExprEngine::Visit(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 0x000000ffeff5be0c clang::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 0x000000ffeff5d65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffeff5d87c clang::ento::CoreEngine::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 0x000000ffeff5dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #61 0x000000ffeff5dc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #62 0x000000fff026b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #63 0x000000fff026b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #64 0x000000fff026b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #65 0x000000fff026b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #66 0x000000fff026b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #67 0x000000fff026c224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #68 0x000000fff026c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #69 0x000000fff026c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #70 0x000000fff0270604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x000000fff0270604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x000000fff0270604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #73 0x000000fff0270604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #74 0x000000fff0270604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #75 0x000000ffee4b2978 __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 0x000000ffee4b2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #77 0x000000ffee4b2978 void clang::finalize>, 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 0x000000ffee4b2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #79 0x000000ffefd2bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #80 0x000000ffefce7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #81 0x000000ffefce7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #82 0x000000ffefce7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #83 0x000000ffefd7b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #84 0x000000aaae3c5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #85 0x000000aaae3c9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #86 0x000000aaae3cb234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #87 0x000000aaae3c2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #88 0x000000ffe6aa48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #89 0x000000ffe6aa49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #90 0x000000aaae3c20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/flexible-array-members.c.script: line 11: 3892399 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/find-binop-constraints.cpp (768 of 19712) ******************** TEST 'Clang :: Analysis/find-binop-constraints.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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 0x000000ffe78b2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe78b0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe78b33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe3a0648 (linux-vdso.so.1+0x648) #4 0x000000ffeffdca78 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000ffeffdca78 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffeffdca78 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffeffdca78 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffeffdca78 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffeffdca78 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000ffeffdca78 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000ffeffdca78 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2507:63 #12 0x000000ffeffdca78 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2494:46 #13 0x000000ffeffdca78 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2487:73 #14 0x000000ffeffdca78 trackDisequality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2155:72 #15 0x000000ffeffdca78 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2241:31 #16 0x000000ffeffdca78 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #17 0x000000ffeffdca78 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #18 0x000000ffeffdca78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #19 0x000000ffeffdca78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #20 0x000000ffeffdca78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #21 0x000000ffeffdca78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #22 0x000000ffeffe0738 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #23 0x000000ffeffe0738 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #24 0x000000ffeffe0738 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x000000ffeffe0738 (anonymous namespace)::RangeConstraintManager::assumeSymGT(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3133:31 #26 0x000000ffeffd3430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x000000ffeffd3430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x000000ffeffd3430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, 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 0x000000ffeffe13b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x000000ffeffe13b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x000000ffeffe13b4 clang::ento::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 0x000000ffeffd3d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x000000ffeffd3d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x000000ffeffd3d18 clang::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 0x000000ffeffec3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #36 0x000000ffeffec3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #37 0x000000ffeffec3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #38 0x000000ffefff31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #39 0x000000ffefff31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #40 0x000000ffefff31d4 clang::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 0x000000ffeff4e0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #42 0x000000ffeff4e0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #43 0x000000ffeff4e0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #44 0x000000ffeff4e0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #45 0x000000fff04a4114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #46 0x000000fff04a4114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x000000fff04a4114 clang::ento::ProgramState::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 0x000000ffeff5f190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #49 0x000000ffeff5f190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #50 0x000000ffeff5f190 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:0 #51 0x000000ffeff5f190 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:0 #52 0x000000ffeff5f190 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:0 #53 0x000000ffeff5f190 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:0 #54 0x000000ffeff5f190 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:0 #55 0x000000ffeff5f190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #56 0x000000ffeff5f190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #57 0x000000ffeff5f190 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:0 #58 0x000000ffeff5f7ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #59 0x000000ffeff71c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #60 0x000000ffeff71c70 clang::ento::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 0x000000fff027f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #62 0x000000fff027f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #63 0x000000fff027f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #64 0x000000fff027f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #65 0x000000fff027f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #66 0x000000fff0280224 llvm::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 0x000000fff0280224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #68 0x000000fff0280224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #69 0x000000fff0284604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #70 0x000000fff0284604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #71 0x000000fff0284604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #72 0x000000fff0284604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #73 0x000000fff0284604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #74 0x000000ffee4c6978 __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 0x000000ffee4c6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #76 0x000000ffee4c6978 void clang::finalize>, 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 0x000000ffee4c6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #78 0x000000ffefd3fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #79 0x000000ffefcfb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #80 0x000000ffefcfb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #81 0x000000ffefcfb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #82 0x000000ffefd8f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #83 0x000000aaae381c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #84 0x000000aaae385b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #85 0x000000aaae387234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #86 0x000000aaae37e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #87 0x000000ffe6ab88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #88 0x000000ffe6ab89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #89 0x000000aaae37e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/find-binop-constraints.cpp.script: line 1: 3892386 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/gcdantipatternchecker_test.m (771 of 19712) ******************** TEST 'Clang :: Analysis/gcdantipatternchecker_test.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7962bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7960c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe79633d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcfb8648 (linux-vdso.so.1+0x648) #4 0x000000fff0415388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0415388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0415388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0415388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0415388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0415388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0415388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0415388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff008c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff008c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff008c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff008c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff008c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff008c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff008c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff008c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff008fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff008fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff008fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff008fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0083430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0083430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0083430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff00913b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff00913b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff00913b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0083d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0083d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0083d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff009c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff009c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff009c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff00a31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff00a31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff00a31d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffefffe138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffefffe138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffefffe138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffefffe138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff0554114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff0554114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff0554114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff0066404 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #47 0x000000fff0066404 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #48 0x000000fff0066404 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #49 0x000000fff0066404 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #50 0x000000fff0066404 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #51 0x000000fff0066404 clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #52 0x000000fff001e77c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #53 0x000000fff001e77c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #54 0x000000fff001fe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x000000fff002165c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x000000fff002187c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x000000fff0021c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff0021c70 clang::ento::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 0x000000fff032f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff032f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff032f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff032f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff032f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff0330224 llvm::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 0x000000fff0330224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff0330224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff0334604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff0334604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff0334604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff0334604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff0334604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffee576978 __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 0x000000ffee576978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffee576978 void clang::finalize>, 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 0x000000ffee576978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000ffefdefb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000ffefdab354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000ffefdab354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000ffefdab354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000ffefe3f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaae48dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaae491b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaae493234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaae48a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe6b688c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe6b689cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaae48a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/gcdantipatternchecker_test.m.script: line 1: 3892676 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.performance.GCDAntipattern /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gcdantipatternchecker_test.m -fblocks -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/generics.m (773 of 19712) ******************** TEST 'Clang :: Analysis/generics.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe8356bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8354c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe83573d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffb88648 (linux-vdso.so.1+0x648) #4 0x000000fff0df7a34 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0df7a34 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0df7a34 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0df7a34 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0df7a34 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0df7a34 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 0x000000fff0df7a34 get<(anonymous namespace)::MostSpecializedTypeArgsMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0df7a34 (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 0x000000fff09da8e8 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x000000fff0a0c1b4 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x000000fff0a0c1b4 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x000000fff0a0c1b4 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #16 0x000000fff0a0c1b4 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #17 0x000000fff0a0c1b4 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #18 0x000000fff0a0c1b4 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #19 0x000000fff0a0c1b4 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #20 0x000000fff0a13d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x000000fff0a13d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x000000fff0a13d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x000000fff0a13d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x000000fff0a13d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x000000fff0a13d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x000000fff0a13d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x000000fff0a13d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x000000fff0a13d94 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 0x000000fff0a1565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff0a1587c clang::ento::CoreEngine::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 0x000000fff0a15c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #32 0x000000fff0a15c70 clang::ento::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 0x000000fff0d2303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x000000fff0d2303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x000000fff0d2303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #36 0x000000fff0d2303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #37 0x000000fff0d2303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #38 0x000000fff0d24224 llvm::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 0x000000fff0d24224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #40 0x000000fff0d24224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #41 0x000000fff0d28604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x000000fff0d28604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x000000fff0d28604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #44 0x000000fff0d28604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #45 0x000000fff0d28604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #46 0x000000ffeef6a978 __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 0x000000ffeef6a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #48 0x000000ffeef6a978 void clang::finalize>, 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 0x000000ffeef6a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #50 0x000000fff07e3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #51 0x000000fff079f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #52 0x000000fff079f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #53 0x000000fff079f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #54 0x000000fff08339a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #55 0x000000aaacee9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #56 0x000000aaaceedb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #57 0x000000aaaceef234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #58 0x000000aaacee6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #59 0x000000ffe755c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #60 0x000000ffe755c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #61 0x000000aaacee60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/generics.m.script: line 3: 3892826 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.ObjCGenerics,alpha.core.DynamicTypeChecker -verify -Wno-objc-method-access /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/generics.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/global-region-invalidation-errno.c (775 of 19712) ******************** TEST 'Clang :: Analysis/global-region-invalidation-errno.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9e56bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9e54c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9e573d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc2cc648 (linux-vdso.so.1+0x648) #4 0x000000fff27b25a4 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000fff27b25a4 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff27b25a4 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff27b25a4 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff27b25a4 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff27b25a4 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 0x000000fff27b25a4 get<(anonymous namespace)::TaintMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000fff27b25a4 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 0x000000fff27b33ac llvm::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 0x000000fff27b33ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #14 0x000000fff27b33ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x000000fff27b33ac 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:67 #16 0x000000fff27b34dc __gnu_cxx::__normal_iterator>>::__normal_iterator(clang::ento::SymExpr const* const* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #17 0x000000fff27b34dc std::vector>::begin() const /usr/include/c++/12/bits/stl_vector.h:879:16 #18 0x000000fff27b34dc std::vector>::empty() const /usr/include/c++/12/bits/stl_vector.h:1084:21 #19 0x000000fff27b34dc 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:21 #20 0x000000fff2664658 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x000000fff2664658 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x000000fff2664658 (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:16 #23 0x000000fff267e6a4 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp:939:0 #24 0x000000fff267e6a4 operator()<(anonymous namespace)::GenericTaintRule::process(const (anonymous namespace)::GenericTaintChecker&, const clang::ento::CallEvent&, clang::ento::CheckerContext&) const:: > /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp:905:0 #25 0x000000fff267e6a4 (anonymous namespace)::GenericTaintRule::process((anonymous namespace)::GenericTaintChecker const&, clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp:936:0 #26 0x000000fff26806c0 checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp:818:0 #27 0x000000fff26806c0 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 #28 0x000000fff24e8df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #29 0x000000fff24e8df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #30 0x000000fff24e8df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #31 0x000000fff24e8df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #32 0x000000fff24e8df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #33 0x000000fff253a3d8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #34 0x000000fff253a3d8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #35 0x000000fff253a3d8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #36 0x000000fff253a3d8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #37 0x000000fff253a3d8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #38 0x000000fff253a3d8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #39 0x000000fff253a3d8 clang::ento::ExprEngine::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 #40 0x000000fff253ae4c clang::ento::ExprEngine::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 0x000000fff2512d1c clang::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 0x000000fff2512d1c clang::ento::ExprEngine::Visit(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 0x000000fff2513e0c clang::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 0x000000fff251565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff251587c clang::ento::CoreEngine::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 0x000000fff2515c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #47 0x000000fff2515c70 clang::ento::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 0x000000fff282303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #49 0x000000fff282303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #50 0x000000fff282303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #51 0x000000fff282303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #52 0x000000fff282303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #53 0x000000fff2824224 llvm::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 0x000000fff2824224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #55 0x000000fff2824224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #56 0x000000fff2828604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x000000fff2828604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x000000fff2828604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #59 0x000000fff2828604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #60 0x000000fff2828604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #61 0x000000fff0a6a978 __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 0x000000fff0a6a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #63 0x000000fff0a6a978 void clang::finalize>, 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 0x000000fff0a6a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #65 0x000000fff22e3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #66 0x000000fff229f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #67 0x000000fff229f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #68 0x000000fff229f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #69 0x000000fff23339a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #70 0x000000aaade19c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #71 0x000000aaade1db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #72 0x000000aaade1f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #73 0x000000aaade16034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #74 0x000000ffe905c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #75 0x000000ffe905c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #76 0x000000aaade160a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/global-region-invalidation-errno.c.script: line 2: 3893528 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/global-region-invalidation.c (777 of 19712) ******************** TEST 'Clang :: Analysis/global-region-invalidation.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -disable-free -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/global-region-invalidation.c -analyzer-checker=core,deadcode,alpha.security.taint,debug.TaintTest,debug.ExprInspection 1. parser at end of file 2. While analyzing stack: #0 Calling Function1 #0 0x000000ffe70aabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe70a8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe70ab3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcd70648 (linux-vdso.so.1+0x648) #4 0x000000ffef757908 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef757908 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef757908 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef757908 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef757908 llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:0 #9 0x000000ffef757908 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 0x000000ffef757908 contains<(anonymous namespace)::InitializedGlobalsSet> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:470:0 #11 0x000000ffef757908 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:0 #12 0x000000ffef757ce4 clang::ento::CoreEngine::HandleStaticInit(clang::DeclStmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:484:0 #13 0x000000ffef769a58 clang::ento::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 0x000000ffef769c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x000000ffef769c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x000000ffefa7703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x000000ffefa7703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x000000ffefa7703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x000000ffefa7703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x000000ffefa7703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x000000ffefa78224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x000000ffefa78224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x000000ffefa78224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x000000ffefa7c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x000000ffefa7c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x000000ffefa7c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x000000ffefa7c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x000000ffefa7c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x000000ffedcbe978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x000000ffedcbe978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x000000ffedcbe978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x000000ffedcbe978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x000000ffef537b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x000000ffef4f3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x000000ffef4f3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x000000ffef4f3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x000000ffef5879a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000000aaad391c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000000aaad395b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000000aaad397234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000000aaad38e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x000000ffe62b08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #43 0x000000ffe62b09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #44 0x000000aaad38e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/global-region-invalidation.c.script: line 1: 3893781 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/global_region_invalidation.mm (778 of 19712) ******************** TEST 'Clang :: Analysis/global_region_invalidation.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8afebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8afcc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8aff3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffdd70648 (linux-vdso.so.1+0x648) #4 0x000000fff15b1388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff15b1388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff15b1388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff15b1388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff15b1388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff15b1388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff15b1388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff15b1388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff12283a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff12283a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff12283a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff12283a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff12283a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff12283a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff12283a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff12283a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff122bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff122bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff122bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff122bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff121f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff121f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff121f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff122d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff122d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff122d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff121fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff121fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff121fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff12383b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff12383b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff12383b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff123f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff123f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff123f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff119a0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff119a0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff119a0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff119a0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff16f0114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff16f0114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff16f0114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff11ab190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff11ab190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff11ab190 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:0 #49 0x000000fff11ab190 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:0 #50 0x000000fff11ab190 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:0 #51 0x000000fff11ab190 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:0 #52 0x000000fff11ab190 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:0 #53 0x000000fff11ab190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff11ab190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff11ab190 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:0 #56 0x000000fff11ab7ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff11bdc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff11bdc70 clang::ento::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 0x000000fff14cb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff14cb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff14cb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff14cb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff14cb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff14cc224 llvm::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 0x000000fff14cc224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff14cc224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff14d0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff14d0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff14d0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff14d0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff14d0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffef712978 __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 0x000000ffef712978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffef712978 void clang::finalize>, 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 0x000000ffef712978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff0f8bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff0f47354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff0f47354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff0f47354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff0fdb9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaaae01c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaaae05b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaaae07234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaaadfe034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe7d048c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe7d049cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaaadfe0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/global_region_invalidation.mm.script: line 1: 3893973 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/gtest.cpp (779 of 19712) ******************** TEST 'Clang :: Analysis/gtest.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9b46bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9b44c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9b473d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff4d0648 (linux-vdso.so.1+0x648) #4 0x000000fff2222244 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff2222244 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff2222244 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff2222244 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x000000fff2222244 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x000000fff2222244 Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:27 #10 0x000000fff2222244 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:89 #11 0x000000fff2222244 llvm::IntrusiveRefCntPtr clang::ento::ProgramState::set<(anonymous namespace)::ObjectsUnderConstruction>(clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:63 #12 0x000000fff21fa10c 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:600:0 #13 0x000000fff222936c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #14 0x000000fff222936c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #15 0x000000fff222936c clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:463:62 #16 0x000000fff22477a4 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x000000fff22477a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x000000fff22477a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x000000fff22477a4 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 #20 0x000000fff22477a4 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 #21 0x000000fff2202cdc clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #22 0x000000fff2202cdc clang::ento::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 #23 0x000000fff2203e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #24 0x000000fff220565c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #25 0x000000fff220587c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #26 0x000000fff2205c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000fff2205c70 clang::ento::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 0x000000fff251303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000fff251303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000fff251303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000fff251303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000fff251303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000fff2514224 llvm::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 0x000000fff2514224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000fff2514224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000fff2518604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000fff2518604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000fff2518604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000fff2518604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000fff2518604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000fff075a978 __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 0x000000fff075a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x000000fff075a978 void clang::finalize>, 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 0x000000fff075a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x000000fff1fd3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x000000fff1f8f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x000000fff1f8f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x000000fff1f8f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x000000fff20239a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #50 0x000000aaaae39c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x000000aaaae3db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x000000aaaae3f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x000000aaaae36034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x000000ffe8d4c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #55 0x000000ffe8d4c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #56 0x000000aaaae360a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/gtest.cpp.script: line 2: 3894026 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-are-not-always-immutable.c (780 of 19712) ******************** TEST 'Clang :: Analysis/globals-are-not-always-immutable.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe76cebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe76ccc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe76cf3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffec2c648 (linux-vdso.so.1+0x648) #4 0x000000ffefdaa984 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000ffefdaa984 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffefdaa984 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffefdaa984 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffefdaa984 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffefdaa984 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000ffefdaa984 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000ffefdaa984 (anonymous namespace)::EquivalenceClass::mergeImpl(clang::ento::RangeSet::Factory&, llvm::IntrusiveRefCntPtr, llvm::ImmutableSet>, (anonymous namespace)::EquivalenceClass, llvm::ImmutableSet>) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2361:63 #12 0x000000ffefdd980c llvm::IntrusiveRefCntPtrInfo>>::release(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:351:0 #13 0x000000ffefdd980c llvm::IntrusiveRefCntPtr>>::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x000000ffefdd980c llvm::IntrusiveRefCntPtr>>::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x000000ffefdd980c llvm::ImmutableSet>::~ImmutableSet() /usr/include/llvm/ADT/ImmutableSet.h:957:0 #16 0x000000ffefdd980c (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 0x000000ffefdf899c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #18 0x000000ffefdf899c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #19 0x000000ffefdf899c merge /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2309:48 #20 0x000000ffefdf899c trackEquality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2160:65 #21 0x000000ffefdf899c assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2238:28 #22 0x000000ffefdf899c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #23 0x000000ffefdf899c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #24 0x000000ffefdf899c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #25 0x000000ffefdf899c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #26 0x000000ffefdf899c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #27 0x000000ffefdf899c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #28 0x000000ffefdfbaec llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #29 0x000000ffefdfbaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #30 0x000000ffefdfbaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x000000ffefdfbaec (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:31 #32 0x000000ffefdfa65c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x000000ffefdfa65c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x000000ffefdfa65c 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 0x000000ffefdefd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x000000ffefdefd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x000000ffefdefd18 clang::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 0x000000ffefe083b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #39 0x000000ffefe083b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #40 0x000000ffefe083b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #41 0x000000ffefe0f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #42 0x000000ffefe0f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #43 0x000000ffefe0f1d4 clang::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 0x000000ffefd6a0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x000000ffefd6a0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x000000ffefd6a0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #47 0x000000ffefd6a0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #48 0x000000fff02c1e24 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #49 0x000000fff02c1e24 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #50 0x000000fff02c1e24 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 0x000000fff02c1e24 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 0x000000ffefe7b864 getArgumentValueString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:135:3 #53 0x000000ffefe7b864 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #54 0x000000ffefe7b864 (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 0x000000ffefec37b0 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:0 #56 0x000000ffefec37b0 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 0x000000ffefd69588 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 0x000000ffefdb2440 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #59 0x000000ffefdb2440 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #60 0x000000ffefdb2440 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #61 0x000000ffefdb2440 clang::ento::ExprEngine::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 0x000000ffefdb2e4c clang::ento::ExprEngine::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 0x000000ffefd8ad1c clang::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 0x000000ffefd8ad1c clang::ento::ExprEngine::Visit(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 0x000000ffefd8be0c clang::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 0x000000ffefd8d65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffefd8d87c clang::ento::CoreEngine::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 0x000000ffefd8dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #69 0x000000ffefd8dc70 clang::ento::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 0x000000fff009b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #71 0x000000fff009b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #72 0x000000fff009b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #73 0x000000fff009b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #74 0x000000fff009b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #75 0x000000fff009c224 llvm::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 0x000000fff009c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x000000fff009c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #78 0x000000fff00a0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x000000fff00a0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x000000fff00a0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x000000fff00a0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x000000fff00a0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x000000ffee2e2978 __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 0x000000ffee2e2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x000000ffee2e2978 void clang::finalize>, 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 0x000000ffee2e2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x000000ffefb5bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #88 0x000000ffefb17354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #89 0x000000ffefb17354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #90 0x000000ffefb17354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #91 0x000000ffefbab9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #92 0x000000aaac07dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x000000aaac081b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x000000aaac083234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x000000aaac07a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x000000ffe68d48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #97 0x000000ffe68d49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #98 0x000000aaac07a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/globals-are-not-always-immutable.c.script: line 1: 3893991 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/gmalloc.c (781 of 19712) ******************** TEST 'Clang :: Analysis/gmalloc.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea2d6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea2d4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea2d73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc1e0648 (linux-vdso.so.1+0x648) #4 0x000000fff2d6d7f4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2d6d7f4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2d6d7f4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2d6d7f4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2d6d7f4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2d6d7f4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2d6d7f4 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2d6d7f4 (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 0x000000fff2b35fc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x000000fff2b35fc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x000000fff2b35fc8 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 0x000000fff2967a28 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x000000fff2967a28 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x000000fff2967a28 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:29 #18 0x000000fff2967a28 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x000000fff2a1043c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x000000fff2a1043c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x000000fff2a1043c clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x000000fff2a1043c clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x000000fff2a171d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x000000fff2a171d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x000000fff2a171d4 clang::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 0x000000fff2972230 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff2972230 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff2972230 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x000000fff2972230 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:0 #30 0x000000fff2ec8114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff2ec8114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff2ec8114 clang::ento::ProgramState::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 0x000000fff2b58554 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x000000fff2b58554 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x000000fff2b58554 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x000000fff2b58554 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x000000fff2b58554 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x000000fff2b58554 (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 0x000000fff2b59a0c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #40 0x000000fff2b59a0c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #41 0x000000fff2b59a0c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #42 0x000000fff2b59a0c (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 #43 0x000000fff2b65610 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #44 0x000000fff2b65610 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 #45 0x000000fff2968df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #46 0x000000fff2968df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x000000fff2968df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #48 0x000000fff2968df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #49 0x000000fff2968df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #50 0x000000fff29ba500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #51 0x000000fff29ba500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #52 0x000000fff29ba500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #53 0x000000fff29ba500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #54 0x000000fff29bae4c clang::ento::ExprEngine::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 0x000000fff2992d1c clang::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 0x000000fff2992d1c clang::ento::ExprEngine::Visit(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 0x000000fff2993e0c clang::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 0x000000fff299565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff299587c clang::ento::CoreEngine::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 0x000000fff2995c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #61 0x000000fff2995c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #62 0x000000fff2ca303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #63 0x000000fff2ca303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #64 0x000000fff2ca303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #65 0x000000fff2ca303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #66 0x000000fff2ca303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #67 0x000000fff2ca4224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #68 0x000000fff2ca4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #69 0x000000fff2ca4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #70 0x000000fff2ca8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x000000fff2ca8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x000000fff2ca8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #73 0x000000fff2ca8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #74 0x000000fff2ca8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #75 0x000000fff0eea978 __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 0x000000fff0eea978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #77 0x000000fff0eea978 void clang::finalize>, 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 0x000000fff0eea978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #79 0x000000fff2763b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #80 0x000000fff271f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #81 0x000000fff271f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #82 0x000000fff271f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #83 0x000000fff27b39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #84 0x000000aaac285c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #85 0x000000aaac289b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #86 0x000000aaac28b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #87 0x000000aaac282034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #88 0x000000ffe94dc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #89 0x000000ffe94dc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #90 0x000000aaac2820a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/gmalloc.c.script: line 1: 3894012 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/globals.cpp (782 of 19712) ******************** TEST 'Clang :: Analysis/globals.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7a7abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7a78c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7a7b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe0ac648 (linux-vdso.so.1+0x648) #4 0x000000fff012ff68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff012ff68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff012ff68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff012ff68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff012ff68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff012ff68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff012ff68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff012ff68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000fff0137d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x000000fff0137d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x000000fff0137d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x000000fff0137d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x000000fff0137d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x000000fff0137d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x000000fff0137d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x000000fff0137d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x000000fff0137d94 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 0x000000fff013965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff0139780 clang::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 0x000000fff0139a58 clang::ento::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 0x000000fff0139c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x000000fff0139c70 clang::ento::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 0x000000fff044703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff044703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff044703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x000000fff044703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x000000fff044703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x000000fff0448224 llvm::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 0x000000fff0448224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x000000fff0448224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x000000fff044c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x000000fff044c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x000000fff044c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x000000fff044c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x000000fff044c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x000000ffee68e978 __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 0x000000ffee68e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x000000ffee68e978 void clang::finalize>, 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 0x000000ffee68e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x000000ffeff07b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x000000ffefec3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x000000ffefec3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x000000ffefec3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x000000ffeff579a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000000aaad139c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000000aaad13db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000000aaad13f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000000aaad136034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x000000ffe6c808c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #53 0x000000ffe6c809cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #54 0x000000aaad1360a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/globals.cpp.script: line 1: 3894009 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/handle_constructors_with_new_array.cpp (783 of 19712) ******************** TEST 'Clang :: Analysis/handle_constructors_with_new_array.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6d2abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6d28c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6d2b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe000648 (linux-vdso.so.1+0x648) #4 0x000000ffef7dd388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef7dd388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef7dd388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef7dd388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef7dd388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef7dd388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef7dd388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef7dd388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef4543a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef4543a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef4543a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef4543a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef4543a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef4543a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef4543a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef4543a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef457dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef457dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef457dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef457dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef44b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef44b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef44b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef4593b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef4593b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef4593b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef44bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef44bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef44bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef4643b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef4643b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef4643b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef46b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef46b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef46b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef3c6138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef3c6138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef3c6138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef3c6138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffef3c6688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffef3c6688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffef3c6688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000ffef42d9ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000ffef42d9ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000ffef42d9ac clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000ffef42d9ac clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #50 0x000000ffef3e0d50 clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1318:0 #51 0x000000ffef3e96a8 clang::ento::ExprEngine::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 #52 0x000000ffef3e987c clang::ento::CoreEngine::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 0x000000ffef3e9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #54 0x000000ffef3e9c70 clang::ento::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 0x000000ffef6f703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000ffef6f703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000ffef6f703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000ffef6f703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000ffef6f703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000ffef6f8224 llvm::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 0x000000ffef6f8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000ffef6f8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000ffef6fc604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000ffef6fc604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000ffef6fc604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000ffef6fc604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000ffef6fc604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffed93e978 __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 0x000000ffed93e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffed93e978 void clang::finalize>, 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 0x000000ffed93e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000ffef1b7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000ffef173354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000ffef173354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000ffef173354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000ffef2079a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaaab41c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaaab45b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaaab47234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaaab3e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe5f308c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe5f309cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaaab3e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/handle_constructors_with_new_array.cpp.script: line 1: 3894213 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/handle_constructors_for_default_arguments.cpp (785 of 19712) ******************** TEST 'Clang :: Analysis/handle_constructors_for_default_arguments.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8a02bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8a00c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8a033d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcc4c648 (linux-vdso.so.1+0x648) #4 0x000000fff14b5388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff14b5388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff14b5388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff14b5388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff14b5388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff14b5388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff14b5388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff14b5388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff112c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff112c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff112c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff112c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff112c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff112c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff112c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff112c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff112fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff112fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff112fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff112fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1123430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1123430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1123430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff11313b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff11313b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff11313b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1123d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1123d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1123d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff113c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff113c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff113c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff11431d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff11431d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff11431d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff109e0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff109e0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff109e0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff109e0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff10b3e4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff10b3e4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff10b3e4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000fff10b3e4c 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:0 #47 0x000000fff10bfb90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000fff10bfb90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000fff10bfb90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000fff10bfb90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000fff10bfb90 clang::ento::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 #52 0x000000fff10bfe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000fff10c165c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000fff10c187c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000fff10c1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000fff10c1c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000fff13cf03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff13cf03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff13cf03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000fff13cf03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000fff13cf03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000fff13d0224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000fff13d0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000fff13d0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000fff13d4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000fff13d4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000fff13d4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000fff13d4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000fff13d4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000ffef616978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000ffef616978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000ffef616978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000ffef616978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000fff0e8fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000fff0e4b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000fff0e4b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000fff0e4b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000fff0edf9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaac1b5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaac1b9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaac1bb234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaac1b2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe7c088c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe7c089cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaac1b20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/handle_constructors_for_default_arguments.cpp.script: line 1: 3894154 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/hangs.c (786 of 19712) ******************** TEST 'Clang :: Analysis/hangs.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea252bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea250c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea2533d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe53c648 (linux-vdso.so.1+0x648) #4 0x000000fff29a09e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff29a09e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff29a09e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff29a09e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000fff29a09e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000fff29a09e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000fff2908278 llvm::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 0x000000fff2908278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000fff2908278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000fff2908278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000fff290fd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #15 0x000000fff290fd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #16 0x000000fff290fd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #17 0x000000fff290fd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #18 0x000000fff290fd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #19 0x000000fff290fd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #20 0x000000fff290fd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #21 0x000000fff290fd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #22 0x000000fff290fd94 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 #23 0x000000fff291165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff2911780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #25 0x000000fff2911a58 clang::ento::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 #26 0x000000fff2911c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000fff2911c70 clang::ento::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 0x000000fff2c1f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000fff2c1f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000fff2c1f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000fff2c1f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000fff2c1f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000fff2c20224 llvm::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 0x000000fff2c20224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000fff2c20224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000fff2c24604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000fff2c24604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000fff2c24604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000fff2c24604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000fff2c24604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000fff0e66978 __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 0x000000fff0e66978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x000000fff0e66978 void clang::finalize>, 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 0x000000fff0e66978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x000000fff26dfb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x000000fff269b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x000000fff269b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x000000fff269b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x000000fff272f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #50 0x000000aaac9c5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x000000aaac9c9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x000000aaac9cb234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x000000aaac9c2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x000000ffe94588c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #55 0x000000ffe94589cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #56 0x000000aaac9c20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/hangs.c.script: line 1: 3895366 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/hangs.c -analyzer-checker core,debug.ExprInspection -- ******************** Testing: 0 FAIL: Clang :: Analysis/html_diagnostics/relevant_lines/goto.c (787 of 19712) ******************** TEST 'Clang :: Analysis/html_diagnostics/relevant_lines/goto.c' FAILED ******************** Script: -- : 'RUN: at line 10'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe8972bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8970c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe89733d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc098648 (linux-vdso.so.1+0x648) #4 0x000000fff1425388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1425388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1425388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1425388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1425388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1425388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1425388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1425388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff109c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff109c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff109c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff109c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff109c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff109c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff109c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff109c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff109fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff109fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff109fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff109fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff109e65c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff109e65c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff109e65c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000fff10a1444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff10a1444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff10a1444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000fff1093d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1093d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1093d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff10ac3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff10ac3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff10ac3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff10b31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff10b31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff10b31d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff100e138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff100e138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff100e138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff100e138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1564114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff1564114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff1564114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff101f190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff101f190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff101f190 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:0 #49 0x000000fff101f190 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:0 #50 0x000000fff101f190 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:0 #51 0x000000fff101f190 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:0 #52 0x000000fff101f190 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:0 #53 0x000000fff101f190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff101f190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff101f190 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:0 #56 0x000000fff101f7ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff1031c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff1031c70 clang::ento::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 0x000000fff133f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff133f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff133f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff133f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff133f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff1340224 llvm::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 0x000000fff1340224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff1340224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff1344604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff1344604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff1344604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff1344604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff1344604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffef586978 __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 0x000000ffef586978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffef586978 void clang::finalize>, 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 0x000000ffef586978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff0dffb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff0dbb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff0dbb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff0dbb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff0e4f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaaca1dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaaca21b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaaca23234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaaca1a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe7b788c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe7b789cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaaca1a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/goto.c.script: line 3: 3895810 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/goto.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/goto.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/html_diagnostics/relevant_lines/simple_conditional.c (790 of 19712) ******************** TEST 'Clang :: Analysis/html_diagnostics/relevant_lines/simple_conditional.c' FAILED ******************** Script: -- : 'RUN: at line 10'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe9986bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9984c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe99873d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe594648 (linux-vdso.so.1+0x648) #4 0x000000fff2439388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2439388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2439388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2439388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2439388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2439388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2439388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2439388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff20b03a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff20b03a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff20b03a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff20b03a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff20b03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff20b03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff20b03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff20b03a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff20b3dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff20b3dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff20b3dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff20b3dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff20b265c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff20b265c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff20b265c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000fff20b5444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff20b5444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff20b5444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000fff20a7d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff20a7d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff20a7d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff20c03b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff20c03b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff20c03b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff20c71d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff20c71d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff20c71d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff2022138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff2022138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff2022138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff2022138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff2578114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff2578114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff2578114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff2033190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff2033190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff2033190 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:0 #49 0x000000fff2033190 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:0 #50 0x000000fff2033190 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:0 #51 0x000000fff2033190 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:0 #52 0x000000fff2033190 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:0 #53 0x000000fff2033190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff2033190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff2033190 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:0 #56 0x000000fff20337ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff2045c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff2045c70 clang::ento::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 0x000000fff235303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff235303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff235303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff235303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff235303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff2354224 llvm::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 0x000000fff2354224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff2354224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff2358604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff2358604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff2358604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff2358604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff2358604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000fff059a978 __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 0x000000fff059a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000fff059a978 void clang::finalize>, 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 0x000000fff059a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff1e13b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff1dcf354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff1dcf354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff1dcf354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff1e639a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaaadb5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaaadb9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaaadbb234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaaadb2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe8b8c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe8b8c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaaadb20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/simple_conditional.c.script: line 3: 3895884 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/control-arrows.cpp (791 of 19712) ******************** TEST 'Clang :: Analysis/html_diagnostics/control-arrows.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -fR /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/Output/control-arrows.cpp.tmp : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe9ddebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9ddcc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9ddf3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc8c0648 (linux-vdso.so.1+0x648) #4 0x000000fff2891388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2891388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2891388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2891388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2891388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2891388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2891388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2891388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff25083a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff25083a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff25083a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff25083a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff25083a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff25083a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff25083a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff25083a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff250baec llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff250baec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff250baec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff250baec (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:31 #24 0x000000fff250a65c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff250a65c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff250a65c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000fff250d444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff250d444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff250d444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000fff24ffd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff24ffd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff24ffd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff25183b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff25183b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff25183b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff251f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff251f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff251f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff247a0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff247a0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff247a0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff247a0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff29d0114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff29d0114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff29d0114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff248b190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff248b190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff248b190 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:0 #49 0x000000fff248b190 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:0 #50 0x000000fff248b190 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:0 #51 0x000000fff248b190 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:0 #52 0x000000fff248b190 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:0 #53 0x000000fff248b190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff248b190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff248b190 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:0 #56 0x000000fff248b7ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff249dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff249dc70 clang::ento::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 0x000000fff27ab03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff27ab03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff27ab03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff27ab03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff27ab03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff27ac224 llvm::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 0x000000fff27ac224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff27ac224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff27b0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff27b0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff27b0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff27b0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff27b0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000fff09f2978 __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 0x000000fff09f2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000fff09f2978 void clang::finalize>, 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 0x000000fff09f2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff226bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff2227354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff2227354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff2227354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff22bb9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaaad4dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaaad51b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaaad53234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaaad4a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe8fe48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe8fe49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaaad4a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/Output/control-arrows.cpp.script: line 4: 3895807 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/switch_default.c (792 of 19712) ******************** TEST 'Clang :: Analysis/html_diagnostics/relevant_lines/switch_default.c' FAILED ******************** Script: -- : 'RUN: at line 17'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe7036bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7034c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe70373d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff9cc648 (linux-vdso.so.1+0x648) #4 0x000000ffefae9388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffefae9388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffefae9388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffefae9388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffefae9388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffefae9388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffefae9388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffefae9388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef7603a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef7603a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef7603a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef7603a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef7603a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef7603a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef7603a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef7603a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef765068 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef765068 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef765068 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef765068 (anonymous namespace)::RangeConstraintManager::assumeSymWithinInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3224:34 #24 0x000000ffef757a38 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef757a38 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef757a38 clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:129:64 #27 0x000000ffef757f54 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef757f54 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef757f54 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #30 0x000000ffef6d2808 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x000000ffef6d2808 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x000000ffef6d2808 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:0 #33 0x000000ffef6d2808 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #34 0x000000ffef6f07b8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #35 0x000000ffef6f07b8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #36 0x000000ffef6f07b8 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:0 #37 0x000000ffef6f07b8 clang::ento::ExprEngine::processSwitch(clang::ento::SwitchNodeBuilder&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3004:0 #38 0x000000ffef6f0c18 clang::ento::CoreEngine::HandleBlockExit(clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:422:0 #39 0x000000ffef6f5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #40 0x000000ffef6f5c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #41 0x000000ffefa0303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #42 0x000000ffefa0303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #43 0x000000ffefa0303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #44 0x000000ffefa0303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #45 0x000000ffefa0303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #46 0x000000ffefa04224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #47 0x000000ffefa04224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #48 0x000000ffefa04224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #49 0x000000ffefa08604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #50 0x000000ffefa08604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #51 0x000000ffefa08604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #52 0x000000ffefa08604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #53 0x000000ffefa08604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #54 0x000000ffedc4a978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #55 0x000000ffedc4a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #56 0x000000ffedc4a978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #57 0x000000ffedc4a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #58 0x000000ffef4c3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #59 0x000000ffef47f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #60 0x000000ffef47f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #61 0x000000ffef47f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #62 0x000000ffef5139a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #63 0x000000aaacd45c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #64 0x000000aaacd49b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #65 0x000000aaacd4b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #66 0x000000aaacd42034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #67 0x000000ffe623c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #68 0x000000ffe623c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #69 0x000000aaacd420a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/switch_default.c.script: line 3: 3895964 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/switch_default.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/switch_default.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/html_diagnostics/relevant_lines/multifile.c (793 of 19712) ******************** TEST 'Clang :: Analysis/html_diagnostics/relevant_lines/multifile.c' FAILED ******************** Script: -- : 'RUN: at line 11'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe9e5abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9e58c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9e5b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffd00648 (linux-vdso.so.1+0x648) #4 0x000000fff290d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff290d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff290d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff290d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff290d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff290d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff290d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff290d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff25843a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff25843a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff25843a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff25843a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff25843a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff25843a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff25843a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff25843a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff2587dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff2587dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff2587dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff2587dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff258665c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff258665c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff258665c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000fff2589444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff2589444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff2589444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000fff257bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff257bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff257bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff25943b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff25943b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff25943b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff259b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff259b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff259b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff24f6138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff24f6138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff24f6138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff24f6138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff2a4c114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff2a4c114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff2a4c114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff2507190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff2507190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff2507190 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:0 #49 0x000000fff2507190 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:0 #50 0x000000fff2507190 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:0 #51 0x000000fff2507190 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:0 #52 0x000000fff2507190 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:0 #53 0x000000fff2507190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff2507190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff2507190 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:0 #56 0x000000fff25077ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff2519c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff2519c70 clang::ento::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 0x000000fff282703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff282703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff282703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff282703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff282703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff2828224 llvm::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 0x000000fff2828224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff2828224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff282c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff282c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff282c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff282c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff282c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000fff0a6e978 __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 0x000000fff0a6e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000fff0a6e978 void clang::finalize>, 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 0x000000fff0a6e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff22e7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff22a3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff22a3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff22a3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff23379a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaaca95c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaaca99b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaaca9b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaaca92034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe90608c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe90609cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaaca920a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/multifile.c.script: line 3: 3895839 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/multifile.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/multifile.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/html_diagnostics/relevant_lines/multiline_func_def.c (794 of 19712) ******************** TEST 'Clang :: Analysis/html_diagnostics/relevant_lines/multiline_func_def.c' FAILED ******************** Script: -- : 'RUN: at line 13'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe8e0abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8e08c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8e0b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffd90648 (linux-vdso.so.1+0x648) #4 0x000000fff18bd388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff18bd388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff18bd388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff18bd388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff18bd388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff18bd388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff18bd388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff18bd388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff15343a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff15343a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff15343a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff15343a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff15343a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff15343a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff15343a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff15343a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1537dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1537dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1537dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1537dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff153665c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff153665c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff153665c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000fff1539444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff1539444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff1539444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000fff152bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff152bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff152bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff15443b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff15443b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff15443b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff154b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff154b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff154b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff14a6138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff14a6138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff14a6138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff14a6138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff19fc114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff19fc114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff19fc114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff14b7190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff14b7190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff14b7190 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:0 #49 0x000000fff14b7190 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:0 #50 0x000000fff14b7190 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:0 #51 0x000000fff14b7190 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:0 #52 0x000000fff14b7190 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:0 #53 0x000000fff14b7190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff14b7190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff14b7190 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:0 #56 0x000000fff14b77ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff14c9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff14c9c70 clang::ento::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 0x000000fff17d703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff17d703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff17d703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff17d703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff17d703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff17d8224 llvm::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 0x000000fff17d8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff17d8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff17dc604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff17dc604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff17dc604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff17dc604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff17dc604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffefa1e978 __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 0x000000ffefa1e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffefa1e978 void clang::finalize>, 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 0x000000ffefa1e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff1297b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff1253354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff1253354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff1253354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff12e79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaae2ddc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaae2e1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaae2e3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaae2da034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe80108c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe80109cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaae2da0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/multiline_func_def.c.script: line 3: 3895846 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/switch.c (795 of 19712) ******************** TEST 'Clang :: Analysis/html_diagnostics/relevant_lines/switch.c' FAILED ******************** Script: -- : 'RUN: at line 17'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe7616bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7614c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe76173d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcab8648 (linux-vdso.so.1+0x648) #4 0x000000fff00c9388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff00c9388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff00c9388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff00c9388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff00c9388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff00c9388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff00c9388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff00c9388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffefd403a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffefd403a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffefd403a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffefd403a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffefd403a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffefd403a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffefd403a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffefd403a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffefd45068 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffefd45068 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffefd45068 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffefd45068 (anonymous namespace)::RangeConstraintManager::assumeSymWithinInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3224:34 #24 0x000000ffefd37a38 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffefd37a38 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffefd37a38 clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:129:64 #27 0x000000ffefd37f54 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffefd37f54 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffefd37f54 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #30 0x000000ffefcb2808 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x000000ffefcb2808 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x000000ffefcb2808 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:0 #33 0x000000ffefcb2808 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #34 0x000000ffefcd07b8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #35 0x000000ffefcd07b8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #36 0x000000ffefcd07b8 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:0 #37 0x000000ffefcd07b8 clang::ento::ExprEngine::processSwitch(clang::ento::SwitchNodeBuilder&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3004:0 #38 0x000000ffefcd0c18 clang::ento::CoreEngine::HandleBlockExit(clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:422:0 #39 0x000000ffefcd5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #40 0x000000ffefcd5c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #41 0x000000ffeffe303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #42 0x000000ffeffe303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #43 0x000000ffeffe303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #44 0x000000ffeffe303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #45 0x000000ffeffe303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #46 0x000000ffeffe4224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #47 0x000000ffeffe4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #48 0x000000ffeffe4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #49 0x000000ffeffe8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #50 0x000000ffeffe8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #51 0x000000ffeffe8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #52 0x000000ffeffe8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #53 0x000000ffeffe8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #54 0x000000ffee22a978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #55 0x000000ffee22a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #56 0x000000ffee22a978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #57 0x000000ffee22a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #58 0x000000ffefaa3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #59 0x000000ffefa5f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #60 0x000000ffefa5f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #61 0x000000ffefa5f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #62 0x000000ffefaf39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #63 0x000000aaad585c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #64 0x000000aaad589b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #65 0x000000aaad58b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #66 0x000000aaad582034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #67 0x000000ffe681c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #68 0x000000ffe681c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #69 0x000000aaad5820a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/switch.c.script: line 3: 3895893 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/switch.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/switch.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/html_diagnostics/relevant_lines/macros_same_file.c (796 of 19712) ******************** TEST 'Clang :: Analysis/html_diagnostics/relevant_lines/macros_same_file.c' FAILED ******************** Script: -- : 'RUN: at line 12'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe6d22bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6d20c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6d233d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffede8648 (linux-vdso.so.1+0x648) #4 0x000000ffef7d5388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef7d5388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef7d5388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef7d5388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef7d5388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef7d5388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef7d5388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef7d5388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef44c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef44c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef44c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef44c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef44c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef44c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef44c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef44c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef44fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef44fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef44fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef44fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef44e65c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef44e65c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef44e65c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000ffef451444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef451444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef451444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000ffef443d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef443d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef443d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef45c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef45c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef45c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef4631d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef4631d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef4631d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef3be138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef3be138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef3be138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef3be138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffef914114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000ffef914114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000ffef914114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000ffef3cf190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000ffef3cf190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000ffef3cf190 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:0 #49 0x000000ffef3cf190 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:0 #50 0x000000ffef3cf190 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:0 #51 0x000000ffef3cf190 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:0 #52 0x000000ffef3cf190 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:0 #53 0x000000ffef3cf190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000ffef3cf190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000ffef3cf190 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:0 #56 0x000000ffef3cf7ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000ffef3e1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000ffef3e1c70 clang::ento::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 0x000000ffef6ef03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000ffef6ef03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000ffef6ef03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000ffef6ef03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000ffef6ef03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000ffef6f0224 llvm::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 0x000000ffef6f0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000ffef6f0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000ffef6f4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000ffef6f4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000ffef6f4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000ffef6f4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000ffef6f4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffed936978 __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 0x000000ffed936978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffed936978 void clang::finalize>, 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 0x000000ffed936978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000ffef1afb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000ffef16b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000ffef16b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000ffef16b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000ffef1ff9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaab831c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaab835b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaab837234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaab82e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe5f288c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe5f289cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaab82e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/macros_same_file.c.script: line 3: 3895831 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/objcmethods.m (797 of 19712) ******************** TEST 'Clang :: Analysis/html_diagnostics/relevant_lines/objcmethods.m' FAILED ******************** Script: -- : 'RUN: at line 16'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe9902bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9900c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe99033d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff3c8648 (linux-vdso.so.1+0x648) #4 0x000000fff23b5388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff23b5388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff23b5388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff23b5388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff23b5388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff23b5388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff23b5388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff23b5388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff202c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff202c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff202c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff202c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff202c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff202c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff202c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff202c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff202fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff202fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff202fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff202fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff2023430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff2023430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff2023430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff20313b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff20313b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff20313b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff2023d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff2023d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff2023d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff203c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff203c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff203c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff20431d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff20431d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff20431d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1f9e138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1f9e138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1f9e138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1f9e138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff24f4114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff24f4114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff24f4114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff2006404 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #47 0x000000fff2006404 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #48 0x000000fff2006404 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #49 0x000000fff2006404 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #50 0x000000fff2006404 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #51 0x000000fff2006404 clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #52 0x000000fff1fbe77c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #53 0x000000fff1fbe77c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #54 0x000000fff1fbfe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x000000fff1fc165c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x000000fff1fc187c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x000000fff1fc1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff1fc1c70 clang::ento::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 0x000000fff22cf03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff22cf03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff22cf03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff22cf03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff22cf03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff22d0224 llvm::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 0x000000fff22d0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff22d0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff22d4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff22d4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff22d4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff22d4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff22d4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000fff0516978 __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 0x000000fff0516978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000fff0516978 void clang::finalize>, 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 0x000000fff0516978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff1d8fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff1d4b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff1d4b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff1d4b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff1ddf9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaadfc9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaadfcdb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaadfcf234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaadfc6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe8b088c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe8b089cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaadfc60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/objcmethods.m.script: line 3: 3895871 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/objcmethods.m.tmp.output -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/objcmethods.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/html_diagnostics/relevant_lines/synthesized_body.cpp (798 of 19712) ******************** TEST 'Clang :: Analysis/html_diagnostics/relevant_lines/synthesized_body.cpp' FAILED ******************** Script: -- : 'RUN: at line 22'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe92b6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe92b4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe92b73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe128648 (linux-vdso.so.1+0x648) #4 0x000000fff196bf68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff196bf68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff196bf68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff196bf68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff196bf68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff196bf68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff196bf68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff196bf68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000fff1973d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x000000fff1973d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x000000fff1973d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x000000fff1973d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x000000fff1973d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x000000fff1973d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x000000fff1973d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x000000fff1973d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x000000fff1973d94 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 0x000000fff197565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff1975780 clang::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 0x000000fff1975a58 clang::ento::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 0x000000fff1975c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x000000fff1975c70 clang::ento::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 0x000000fff1c8303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff1c8303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff1c8303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x000000fff1c8303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x000000fff1c8303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x000000fff1c84224 llvm::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 0x000000fff1c84224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x000000fff1c84224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x000000fff1c88604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x000000fff1c88604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x000000fff1c88604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x000000fff1c88604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x000000fff1c88604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x000000ffefeca978 __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 0x000000ffefeca978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x000000ffefeca978 void clang::finalize>, 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 0x000000ffefeca978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x000000fff1743b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x000000fff16ff354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x000000fff16ff354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x000000fff16ff354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x000000fff17939a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000000aaacf41c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000000aaacf45b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000000aaacf47234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000000aaacf3e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x000000ffe84bc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #53 0x000000ffe84bc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #54 0x000000aaacf3e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/synthesized_body.cpp.script: line 3: 3897022 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/identical-expressions.cpp (799 of 19712) ******************** TEST 'Clang :: Analysis/identical-expressions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9702bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9700c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe97033d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe07c648 (linux-vdso.so.1+0x648) #4 0x000000fff21b5388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff21b5388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff21b5388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff21b5388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff21b5388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff21b5388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff21b5388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff21b5388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff1e2c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff1e2c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff1e2c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff1e2c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff1e2c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff1e2c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff1e2c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff1e2c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1e2fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1e2fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1e2fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1e2fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1e23430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1e23430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1e23430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff1e313b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff1e313b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff1e313b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1e23d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1e23d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1e23d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff1e3c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff1e3c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff1e3c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff1e431d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff1e431d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff1e431d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1d9e0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1d9e0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1d9e0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1d9e0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff1db3e4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff1db3e4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff1db3e4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000fff1db3e4c 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:0 #47 0x000000fff1dbfb90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000fff1dbfb90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000fff1dbfb90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000fff1dbfb90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000fff1dbfb90 clang::ento::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 #52 0x000000fff1dbfe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000fff1dc165c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000fff1dc187c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000fff1dc1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000fff1dc1c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000fff20cf03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff20cf03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff20cf03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000fff20cf03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000fff20cf03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000fff20d0224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000fff20d0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000fff20d0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000fff20d4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000fff20d4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000fff20d4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000fff20d4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000fff20d4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000fff0316978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000fff0316978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000fff0316978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000fff0316978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000fff1b8fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000fff1b4b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000fff1b4b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000fff1b4b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000fff1bdf9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaab5c9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaab5cdb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaab5cf234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaab5c6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe89088c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe89089cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaab5c60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/identical-expressions.cpp.script: line 1: 3897556 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/initialization.cpp (800 of 19712) ******************** TEST 'Clang :: Analysis/initialization.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -std=c++14 -triple i386-apple-darwin10 -analyze -analyzer-config eagerly-assume=false -analyzer-checker=core.uninitialized.Assign,core.builtin,debug.ExprInspection,core.uninitialized.UndefReturn -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/initialization.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -std=c++14 -triple i386-apple-darwin10 -analyze -analyzer-config eagerly-assume=false -analyzer-checker=core.uninitialized.Assign,core.builtin,debug.ExprInspection,core.uninitialized.UndefReturn -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/initialization.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling struct_arr_index1() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/initialization.cpp:115:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/initialization.cpp:115:3: Error evaluating statement #0 0x000000ffea35ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea35cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea35f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc734648 (linux-vdso.so.1+0x648) #4 0x000000fff2e11388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2e11388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2e11388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2e11388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2e11388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2e11388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2e11388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2e11388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff2a883a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff2a883a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff2a883a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff2a883a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff2a883a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff2a883a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff2a883a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff2a883a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff2a8bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff2a8bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff2a8bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff2a8bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff2a8a65c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff2a8a65c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff2a8a65c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000fff2a8d444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff2a8d444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff2a8d444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000fff2a7fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff2a7fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff2a7fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff2a983b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff2a983b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff2a983b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff2a9f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff2a9f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff2a9f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff29fa138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff29fa138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff29fa138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff29fa138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff2f51e24 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff2f51e24 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff2f51e24 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff2f51e24 getArgumentValueString(clang::CallExpr const*, clang::ento::CheckerContext&) (.part.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:150:20 #47 0x000000fff2b0b864 getArgumentValueString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:135:3 #48 0x000000fff2b0b864 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #49 0x000000fff2b0b864 (anonymous namespace)::ExprInspectionChecker::analyzerEval(clang::CallExpr const*, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:215:0 #50 0x000000fff2b537b0 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:0 #51 0x000000fff2b537b0 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 #52 0x000000fff29f9588 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #53 0x000000fff2a42440 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #54 0x000000fff2a42440 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #55 0x000000fff2a42440 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #56 0x000000fff2a42440 clang::ento::ExprEngine::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 #57 0x000000fff2a42e4c clang::ento::ExprEngine::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 #58 0x000000fff2a1ad1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #59 0x000000fff2a1ad1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #60 0x000000fff2a1be0c clang::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 0x000000fff2a1d65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff2a1d87c clang::ento::CoreEngine::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 0x000000fff2a1dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #64 0x000000fff2a1dc70 clang::ento::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 0x000000fff2d2b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #66 0x000000fff2d2b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #67 0x000000fff2d2b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #68 0x000000fff2d2b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #69 0x000000fff2d2b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #70 0x000000fff2d2c224 llvm::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 0x000000fff2d2c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #72 0x000000fff2d2c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #73 0x000000fff2d30604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #74 0x000000fff2d30604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #75 0x000000fff2d30604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #76 0x000000fff2d30604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #77 0x000000fff2d30604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #78 0x000000fff0f72978 __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 0x000000fff0f72978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #80 0x000000fff0f72978 void clang::finalize>, 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 0x000000fff0f72978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #82 0x000000fff27ebb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #83 0x000000fff27a7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #84 0x000000fff27a7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #85 0x000000fff27a7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #86 0x000000fff283b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #87 0x000000aaab34dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #88 0x000000aaab351b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #89 0x000000aaab353234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #90 0x000000aaab34a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #91 0x000000ffe95648c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #92 0x000000ffe95649cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #93 0x000000aaab34a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/initialization.cpp.script: line 1: 3897593 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -std=c++14 -triple i386-apple-darwin10 -analyze -analyzer-config eagerly-assume=false -analyzer-checker=core.uninitialized.Assign,core.builtin,debug.ExprInspection,core.uninitialized.UndefReturn -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/initialization.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/inline-plist.c (801 of 19712) ******************** TEST 'Clang :: Analysis/inline-plist.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/inline-plist.c.tmp : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling bar 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline-plist.c:39:7: Error evaluating branch #0 0x000000ffe9476bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9474c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe94773d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcdbc648 (linux-vdso.so.1+0x648) #4 0x000000fff1f29388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1f29388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1f29388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1f29388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1f29388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1f29388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1f29388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1f29388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff1ba03a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff1ba03a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff1ba03a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff1ba03a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff1ba03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff1ba03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff1ba03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff1ba03a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1ba3dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1ba3dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1ba3dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1ba3dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1b97430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1b97430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1b97430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff1ba53b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff1ba53b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff1ba53b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1b97d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1b97d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1b97d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff1bb03b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff1bb03b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff1bb03b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff1bb71d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff1bb71d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff1bb71d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1b12138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1b12138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1b12138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1b12138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff2068114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff2068114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff2068114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff1b23190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff1b23190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff1b23190 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:0 #49 0x000000fff1b23190 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:0 #50 0x000000fff1b23190 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:0 #51 0x000000fff1b23190 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:0 #52 0x000000fff1b23190 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:0 #53 0x000000fff1b23190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff1b23190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff1b23190 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:0 #56 0x000000fff1b237ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff1b35c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff1b35c70 clang::ento::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 0x000000fff1e4303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff1e4303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff1e4303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff1e4303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff1e4303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff1e44224 llvm::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 0x000000fff1e44224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff1e44224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff1e48604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff1e48604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff1e48604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff1e48604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff1e48604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000fff008a978 __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 0x000000fff008a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000fff008a978 void clang::finalize>, 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 0x000000fff008a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff1903b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff18bf354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff18bf354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff18bf354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff19539a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaae8d5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaae8d9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaae8db234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaae8d2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe867c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe867c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaae8d20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/inline-plist.c.script: line 3: 3897616 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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 (802 of 19712) ******************** TEST 'Clang :: Analysis/html_diagnostics/relevant_lines/unused_header.c' FAILED ******************** Script: -- : 'RUN: at line 16'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe8e6ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8e6cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8e6f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffc60648 (linux-vdso.so.1+0x648) #4 0x000000fff1921388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1921388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1921388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1921388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1921388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1921388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1921388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1921388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff15983a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff15983a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff15983a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff15983a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff15983a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff15983a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff15983a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff15983a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff159bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff159bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff159bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff159bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff159a65c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff159a65c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff159a65c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000fff159d444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff159d444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff159d444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000fff158fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff158fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff158fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff15a83b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff15a83b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff15a83b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff15af1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff15af1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff15af1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff150a138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff150a138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff150a138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff150a138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1a60114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff1a60114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff1a60114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff151b190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff151b190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff151b190 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:0 #49 0x000000fff151b190 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:0 #50 0x000000fff151b190 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:0 #51 0x000000fff151b190 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:0 #52 0x000000fff151b190 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:0 #53 0x000000fff151b190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff151b190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff151b190 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:0 #56 0x000000fff151b7ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff152dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff152dc70 clang::ento::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 0x000000fff183b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff183b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff183b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff183b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff183b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff183c224 llvm::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 0x000000fff183c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff183c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff1840604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff1840604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff1840604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff1840604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff1840604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffefa82978 __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 0x000000ffefa82978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffefa82978 void clang::finalize>, 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 0x000000ffefa82978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff12fbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff12b7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff12b7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff12b7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff134b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaaad01c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaaad05b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaaad07234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaaacfe034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe80748c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe80749cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaaacfe0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/unused_header.c.script: line 3: 3897451 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/infeasible-sink.c (803 of 19712) ******************** TEST 'Clang :: Analysis/infeasible-sink.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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 0x000000ffe882ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe882cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe882f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe6f0648 (linux-vdso.so.1+0x648) #4 0x000000fff12e1388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff12e1388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff12e1388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff12e1388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff12e1388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff12e1388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff12e1388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff12e1388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff0f583a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff0f583a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff0f583a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff0f583a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff0f583a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff0f583a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff0f583a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff0f583a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0f5bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0f5bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0f5bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0f5bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0f4f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0f4f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0f4f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff0f5d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0f5d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0f5d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0f4fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0f4fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0f4fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff0f683b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff0f683b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff0f683b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff0f6f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff0f6f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff0f6f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0eca0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0eca0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0eca0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0eca0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff1420114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff1420114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff1420114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff0edb190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff0edb190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff0edb190 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:0 #49 0x000000fff0edb190 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:0 #50 0x000000fff0edb190 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:0 #51 0x000000fff0edb190 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:0 #52 0x000000fff0edb190 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:0 #53 0x000000fff0edb190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff0edb190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff0edb190 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:0 #56 0x000000fff0edb7ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff0eedc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff0eedc70 clang::ento::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 0x000000fff11fb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff11fb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff11fb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff11fb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff11fb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff11fc224 llvm::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 0x000000fff11fc224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff11fc224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff1200604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff1200604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff1200604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff1200604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff1200604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffef442978 __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 0x000000ffef442978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffef442978 void clang::finalize>, 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 0x000000ffef442978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff0cbbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff0c77354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff0c77354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff0c77354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff0d0b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaaac51c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaaac55b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaaac57234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaaac4e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe7a348c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe7a349cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaaac4e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/infeasible-sink.c.script: line 1: 3897581 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/incorrect-checker-names.mm (804 of 19712) ******************** TEST 'Clang :: Analysis/incorrect-checker-names.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 use_out_param_leak() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/incorrect-checker-names.mm:128:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/incorrect-checker-names.mm:128:3: Error evaluating statement #0 0x000000ffe75eebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe75ecc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe75ef3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffc24648 (linux-vdso.so.1+0x648) #4 0x000000fff00a1388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff00a1388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff00a1388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff00a1388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff00a1388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff00a1388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff00a1388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff00a1388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffefd183a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffefd183a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffefd183a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffefd183a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffefd183a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffefd183a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffefd183a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffefd183a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffefd1baec llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffefd1baec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffefd1baec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffefd1baec (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:31 #24 0x000000ffefd1a65c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffefd1a65c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffefd1a65c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000ffefd1d444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffefd1d444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffefd1d444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000ffefd0fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffefd0fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffefd0fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffefd283b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffefd283b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffefd283b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffefd2f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffefd2f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffefd2f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffefc8a0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffefc8a0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffefc8a0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffefc8a0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000ffefc8a688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffefc8a688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffefc8a688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000ffefc52b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000ffefc52b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000ffefc52b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000ffeff073f8 llvm::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 0x000000ffeff073f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x000000ffeff073f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x000000ffeff073f8 updateOutParameters /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp:545:56 #53 0x000000ffeff073f8 clang::ento::retaincountchecker::RetainCountChecker::checkSummary(clang::ento::RetainSummary const&, clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp:699:49 #54 0x000000ffefc80df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #55 0x000000ffefc80df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #56 0x000000ffefc80df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #57 0x000000ffefc80df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #58 0x000000ffefc80df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #59 0x000000ffefcd2500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #60 0x000000ffefcd2500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #61 0x000000ffefcd2500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #62 0x000000ffefcd2500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #63 0x000000ffefcd2e4c clang::ento::ExprEngine::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 #64 0x000000ffefcaad1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #65 0x000000ffefcaad1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #66 0x000000ffefcabe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #67 0x000000ffefcad65c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #68 0x000000ffefcad87c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #69 0x000000ffefcadc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #70 0x000000ffefcadc70 clang::ento::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 0x000000ffeffbb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #72 0x000000ffeffbb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #73 0x000000ffeffbb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #74 0x000000ffeffbb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #75 0x000000ffeffbb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #76 0x000000ffeffbc224 llvm::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 0x000000ffeffbc224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #78 0x000000ffeffbc224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #79 0x000000ffeffc0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #80 0x000000ffeffc0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #81 0x000000ffeffc0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #82 0x000000ffeffc0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #83 0x000000ffeffc0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #84 0x000000ffee202978 __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 0x000000ffee202978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #86 0x000000ffee202978 void clang::finalize>, 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 0x000000ffee202978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #88 0x000000ffefa7bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #89 0x000000ffefa37354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #90 0x000000ffefa37354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #91 0x000000ffefa37354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #92 0x000000ffefacb9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #93 0x000000aaad5fdc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #94 0x000000aaad601b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #95 0x000000aaad603234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #96 0x000000aaad5fa034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #97 0x000000ffe67f48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #98 0x000000ffe67f49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #99 0x000000aaad5fa0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/incorrect-checker-names.mm.script: line 1: 3897568 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/implicit-ctor-undef-value.cpp (806 of 19712) ******************** TEST 'Clang :: Analysis/implicit-ctor-undef-value.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe89debb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe89dcc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe89df3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff534648 (linux-vdso.so.1+0x648) #4 0x000000fff1093f68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff1093f68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff1093f68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff1093f68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff1093f68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff1093f68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff1093f68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff1093f68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000fff109bd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x000000fff109bd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x000000fff109bd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x000000fff109bd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x000000fff109bd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x000000fff109bd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x000000fff109bd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x000000fff109bd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x000000fff109bd94 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 0x000000fff109d65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff109d780 clang::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 0x000000fff109da58 clang::ento::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 0x000000fff109dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x000000fff109dc70 clang::ento::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 0x000000fff13ab03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff13ab03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff13ab03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x000000fff13ab03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x000000fff13ab03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x000000fff13ac224 llvm::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 0x000000fff13ac224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x000000fff13ac224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x000000fff13b0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x000000fff13b0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x000000fff13b0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x000000fff13b0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x000000fff13b0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x000000ffef5f2978 __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 0x000000ffef5f2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x000000ffef5f2978 void clang::finalize>, 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 0x000000ffef5f2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x000000fff0e6bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x000000fff0e27354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x000000fff0e27354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x000000fff0e27354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x000000fff0ebb9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000000aaab019c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000000aaab01db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000000aaab01f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000000aaab016034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x000000ffe7be48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #53 0x000000ffe7be49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #54 0x000000aaab0160a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/implicit-ctor-undef-value.cpp.script: line 1: 3897555 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/implicit-ctor-undef-value.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/infeasible-crash.c (807 of 19712) ******************** TEST 'Clang :: Analysis/infeasible-crash.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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 0x000000ffe9bbabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9bb8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9bbb3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd73c648 (linux-vdso.so.1+0x648) #4 0x000000fff23089e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff23089e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff23089e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff23089e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000fff23089e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000fff23089e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000fff2270278 llvm::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 0x000000fff2270278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000fff2270278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000fff2270278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000fff2277d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #15 0x000000fff2277d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #16 0x000000fff2277d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #17 0x000000fff2277d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #18 0x000000fff2277d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #19 0x000000fff2277d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #20 0x000000fff2277d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #21 0x000000fff2277d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #22 0x000000fff2277d94 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 #23 0x000000fff227965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff2279780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #25 0x000000fff2279a58 clang::ento::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 #26 0x000000fff2279c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000fff2279c70 clang::ento::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 0x000000fff258703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000fff258703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000fff258703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000fff258703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000fff258703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000fff2588224 llvm::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 0x000000fff2588224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000fff2588224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000fff258c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000fff258c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000fff258c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000fff258c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000fff258c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000fff07ce978 __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 0x000000fff07ce978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x000000fff07ce978 void clang::finalize>, 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 0x000000fff07ce978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x000000fff2047b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x000000fff2003354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x000000fff2003354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x000000fff2003354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x000000fff20979a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #50 0x000000aaac1d9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x000000aaac1ddb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x000000aaac1df234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x000000aaac1d6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x000000ffe8dc08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #55 0x000000ffe8dc09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #56 0x000000aaac1d60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/infeasible-crash.c.script: line 1: 3897577 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/infeasible-crash.c -analyzer-checker=core -analyzer-checker=alpha.unix.cstring.OutOfBounds,alpha.unix.cstring.UninitializedRead -analyzer-config eagerly-assume=false -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/initializer.cpp (808 of 19712) ******************** TEST 'Clang :: Analysis/initializer.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9ababb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9ab8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9abb3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffab4648 (linux-vdso.so.1+0x648) #4 0x000000fff216ff68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff216ff68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff216ff68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff216ff68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff216ff68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff216ff68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff216ff68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff216ff68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000fff2177d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x000000fff2177d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x000000fff2177d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x000000fff2177d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x000000fff2177d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x000000fff2177d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x000000fff2177d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x000000fff2177d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x000000fff2177d94 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 0x000000fff217965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff2179780 clang::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 0x000000fff2179a58 clang::ento::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 0x000000fff2179c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x000000fff2179c70 clang::ento::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 0x000000fff248703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff248703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff248703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x000000fff248703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x000000fff248703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x000000fff2488224 llvm::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 0x000000fff2488224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x000000fff2488224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x000000fff248c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x000000fff248c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x000000fff248c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x000000fff248c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x000000fff248c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x000000fff06ce978 __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 0x000000fff06ce978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x000000fff06ce978 void clang::finalize>, 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 0x000000fff06ce978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x000000fff1f47b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x000000fff1f03354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x000000fff1f03354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x000000fff1f03354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x000000fff1f979a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000000aaac5d5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000000aaac5d9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000000aaac5db234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000000aaac5d2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x000000ffe8cc08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #53 0x000000ffe8cc09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #54 0x000000aaac5d20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/initializer.cpp.script: line 4: 3897598 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/initializer.cpp -analyzer-checker=core,unix.Malloc,cplusplus.NewDeleteLeaks -analyzer-checker=debug.ExprInspection -std=c++11 -- ******************** Testing: 0 FAIL: Clang :: Analysis/inline-not-supported.c (814 of 19712) ******************** TEST 'Clang :: Analysis/inline-not-supported.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8206bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8204c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe82073d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc798648 (linux-vdso.so.1+0x648) #4 0x000000fff0cb9388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0cb9388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0cb9388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0cb9388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0cb9388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0cb9388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0cb9388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0cb9388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff09303a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff09303a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff09303a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff09303a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff09303a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff09303a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff09303a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff09303a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0933dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0933dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0933dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0933dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0927430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0927430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0927430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff09353b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff09353b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff09353b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0927d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0927d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0927d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff09403b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff09403b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff09403b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff09471d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff09471d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff09471d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff08a2138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff08a2138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff08a2138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff08a2138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff0df8114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff0df8114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff0df8114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff098ac40 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x000000fff098ac40 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #48 0x000000fff098ac40 checkFunctionPointerCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:390:0 #49 0x000000fff098ac40 checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:546:0 #50 0x000000fff098ac40 void clang::ento::check::PreCall::_checkCall<(anonymous namespace)::CallAndMessageChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:168:0 #51 0x000000fff0898df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #52 0x000000fff0898df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x000000fff0898df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #54 0x000000fff0898df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #55 0x000000fff0898df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #56 0x000000fff08ea3d8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #57 0x000000fff08ea3d8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #58 0x000000fff08ea3d8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #59 0x000000fff08ea3d8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #60 0x000000fff08ea3d8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #61 0x000000fff08ea3d8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #62 0x000000fff08ea3d8 clang::ento::ExprEngine::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 #63 0x000000fff08eae4c clang::ento::ExprEngine::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 #64 0x000000fff08c2d1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #65 0x000000fff08c2d1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #66 0x000000fff08c3e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #67 0x000000fff08c565c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #68 0x000000fff08c587c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #69 0x000000fff08c5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #70 0x000000fff08c5c70 clang::ento::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 0x000000fff0bd303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #72 0x000000fff0bd303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #73 0x000000fff0bd303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #74 0x000000fff0bd303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #75 0x000000fff0bd303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #76 0x000000fff0bd4224 llvm::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 0x000000fff0bd4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #78 0x000000fff0bd4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #79 0x000000fff0bd8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #80 0x000000fff0bd8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #81 0x000000fff0bd8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #82 0x000000fff0bd8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #83 0x000000fff0bd8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #84 0x000000ffeee1a978 __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 0x000000ffeee1a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #86 0x000000ffeee1a978 void clang::finalize>, 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 0x000000ffeee1a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #88 0x000000fff0693b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #89 0x000000fff064f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #90 0x000000fff064f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #91 0x000000fff064f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #92 0x000000fff06e39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #93 0x000000aaaaad5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #94 0x000000aaaaad9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #95 0x000000aaaaadb234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #96 0x000000aaaaad2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #97 0x000000ffe740c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #98 0x000000ffe740c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #99 0x000000aaaaad20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/inline-not-supported.c.script: line 1: 3897612 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline-not-supported.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/inline.cpp (815 of 19712) ******************** TEST 'Clang :: Analysis/inline.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe92a6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe92a4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe92a73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffde78648 (linux-vdso.so.1+0x648) #4 0x000000fff195bf68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff195bf68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff195bf68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff195bf68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff195bf68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff195bf68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff195bf68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff195bf68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000fff1963d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x000000fff1963d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x000000fff1963d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x000000fff1963d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x000000fff1963d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x000000fff1963d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x000000fff1963d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x000000fff1963d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x000000fff1963d94 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 0x000000fff196565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff1965780 clang::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 0x000000fff1965a58 clang::ento::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 0x000000fff1965c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x000000fff1965c70 clang::ento::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 0x000000fff1c7303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff1c7303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff1c7303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x000000fff1c7303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x000000fff1c7303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x000000fff1c74224 llvm::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 0x000000fff1c74224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x000000fff1c74224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x000000fff1c78604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x000000fff1c78604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x000000fff1c78604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x000000fff1c78604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x000000fff1c78604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x000000ffefeba978 __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 0x000000ffefeba978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x000000ffefeba978 void clang::finalize>, 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 0x000000ffefeba978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x000000fff1733b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x000000fff16ef354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x000000fff16ef354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x000000fff16ef354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x000000fff17839a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000000aaac949c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000000aaac94db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000000aaac94f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000000aaac946034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x000000ffe84ac8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #53 0x000000ffe84ac9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #54 0x000000aaac9460a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/inline.cpp.script: line 1: 3898509 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/inline4.c (816 of 19712) ******************** TEST 'Clang :: Analysis/inline4.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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 0x000000ffe8882bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8880c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe88833d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe0f0648 (linux-vdso.so.1+0x648) #4 0x000000fff1335388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1335388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1335388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1335388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1335388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1335388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1335388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1335388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff0fac3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff0fac3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff0fac3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff0fac3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff0fac3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff0fac3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff0fac3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff0fac3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0fafdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0fafdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0fafdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0fafdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0fae65c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0fae65c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0fae65c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000fff0fb1444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0fb1444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0fb1444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000fff0fa3d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0fa3d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0fa3d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff0fbc3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff0fbc3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff0fbc3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff0fc31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff0fc31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff0fc31d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0f1e138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0f1e138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0f1e138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0f1e138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1474114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff1474114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff1474114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff0f2f190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff0f2f190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff0f2f190 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:0 #49 0x000000fff0f2f190 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:0 #50 0x000000fff0f2f190 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:0 #51 0x000000fff0f2f190 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:0 #52 0x000000fff0f2f190 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:0 #53 0x000000fff0f2f190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff0f2f190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff0f2f190 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:0 #56 0x000000fff0f2f7ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff0f41c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff0f41c70 clang::ento::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 0x000000fff124f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff124f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff124f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff124f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff124f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff1250224 llvm::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 0x000000fff1250224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff1250224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff1254604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff1254604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff1254604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff1254604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff1254604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffef496978 __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 0x000000ffef496978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffef496978 void clang::finalize>, 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 0x000000ffef496978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff0d0fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff0ccb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff0ccb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff0ccb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff0d5f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaac68dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaac691b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaac693234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaac68a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe7a888c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe7a889cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaac68a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/inline4.c.script: line 1: 3898520 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline4.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/ObjCDynTypePopagation.m (817 of 19712) ******************** TEST 'Clang :: Analysis/inlining/ObjCDynTypePopagation.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea37ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea37cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea37f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc008648 (linux-vdso.so.1+0x648) #4 0x000000fff2e31388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2e31388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2e31388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2e31388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2e31388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2e31388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2e31388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2e31388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff2aa83a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff2aa83a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff2aa83a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff2aa83a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff2aa83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff2aa83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff2aa83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff2aa83a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff2aabdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff2aabdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff2aabdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff2aabdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff2a9f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff2a9f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff2a9f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff2aad3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff2aad3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff2aad3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff2a9fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff2a9fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff2a9fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff2ab83b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff2ab83b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff2ab83b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff2abf1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff2abf1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff2abf1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff2a1a138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff2a1a138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff2a1a138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff2a1a138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff2a1a688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff2a1a688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff2a1a688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff29e2b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff29e2b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff29e2b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff2a2e6c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff2a2e6c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff2a2e6c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000fff2a3e010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff2a3e010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff2a3e010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff2d4b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff2d4b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff2d4b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff2d4b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff2d4b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff2d4c224 llvm::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 0x000000fff2d4c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff2d4c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff2d50604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff2d50604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff2d50604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff2d50604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff2d50604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000fff0f92978 __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 0x000000fff0f92978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000fff0f92978 void clang::finalize>, 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 0x000000fff0f92978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff280bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff27c7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff27c7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff27c7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff285b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaac49dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaac4a1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaac4a3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaac49a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe95848c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe95849cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaac49a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/ObjCDynTypePopagation.m.script: line 1: 3898611 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/InlineObjCClassMethod.m (818 of 19712) ******************** TEST 'Clang :: Analysis/inlining/InlineObjCClassMethod.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8e72bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8e70c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8e733d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd904648 (linux-vdso.so.1+0x648) #4 0x000000fff1925388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1925388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1925388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1925388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1925388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1925388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1925388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1925388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff159c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff159c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff159c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff159c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff159c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff159c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff159c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff159c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff159fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff159fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff159fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff159fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1593430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1593430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1593430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff15a13b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff15a13b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff15a13b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1593d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1593d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1593d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff15ac3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff15ac3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff15ac3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff15b31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff15b31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff15b31d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff150e138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff150e138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff150e138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff150e138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff150e688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff150e688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff150e688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff14d6b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff14d6b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff14d6b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff15226c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff15226c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff15226c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000fff1532010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff1532010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff1532010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff183f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff183f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff183f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff183f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff183f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff1840224 llvm::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 0x000000fff1840224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff1840224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff1844604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff1844604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff1844604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff1844604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff1844604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffefa86978 __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 0x000000ffefa86978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffefa86978 void clang::finalize>, 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 0x000000ffefa86978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff12ffb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff12bb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff12bb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff12bb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff134f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaadd15c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaadd19b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaadd1b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaadd12034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe80788c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe80789cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaadd120a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/InlineObjCClassMethod.m.script: line 1: 3898598 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/inline3.c (820 of 19712) ******************** TEST 'Clang :: Analysis/inline3.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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 0x000000ffea312bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea310c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea3133d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffee88648 (linux-vdso.so.1+0x648) #4 0x000000fff2dc5388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2dc5388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2dc5388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2dc5388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2dc5388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2dc5388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2dc5388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2dc5388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff2a3c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff2a3c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff2a3c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff2a3c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff2a3c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff2a3c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff2a3c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff2a3c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff2a3fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff2a3fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff2a3fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff2a3fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff2a3e65c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff2a3e65c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff2a3e65c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000fff2a41444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff2a41444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff2a41444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000fff2a33d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff2a33d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff2a33d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff2a4c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff2a4c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff2a4c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff2a531d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff2a531d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff2a531d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff29ae138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff29ae138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff29ae138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff29ae138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff2f04114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff2f04114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff2f04114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff29bf190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff29bf190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff29bf190 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:0 #49 0x000000fff29bf190 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:0 #50 0x000000fff29bf190 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:0 #51 0x000000fff29bf190 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:0 #52 0x000000fff29bf190 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:0 #53 0x000000fff29bf190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff29bf190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff29bf190 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:0 #56 0x000000fff29bf7ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff29d1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff29d1c70 clang::ento::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 0x000000fff2cdf03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff2cdf03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff2cdf03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff2cdf03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff2cdf03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff2ce0224 llvm::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 0x000000fff2ce0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff2ce0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff2ce4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff2ce4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff2ce4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff2ce4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff2ce4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000fff0f26978 __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 0x000000fff0f26978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000fff0f26978 void clang::finalize>, 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 0x000000fff0f26978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff279fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff275b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff275b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff275b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff27ef9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaab969c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaab96db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaab96f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaab966034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe95188c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe95189cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaab9660a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/inline3.c.script: line 1: 3898516 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline3.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/InlineObjCInstanceMethod.m (821 of 19712) ******************** TEST 'Clang :: Analysis/inlining/InlineObjCInstanceMethod.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7a16bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7a14c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7a173d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcdc8648 (linux-vdso.so.1+0x648) #4 0x000000fff00b8f18 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff00b8f18 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff00b8f18 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff00b8f18 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff00b8f18 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff00b8f18 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 0x000000fff00b8f18 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff00b8f18 llvm::IntrusiveRefCntPtr clang::ento::removeDeadImpl<(anonymous namespace)::DynamicTypeMap>(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:166:0 #12 0x000000fff04b797c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x000000fff04b797c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x000000fff04b797c clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x000000fff04b797c (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 0x000000fff009a8e8 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #17 0x000000fff00cc1b4 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x000000fff00cc1b4 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x000000fff00cc1b4 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #20 0x000000fff00cc1b4 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #21 0x000000fff00cc1b4 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #22 0x000000fff00cc1b4 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #23 0x000000fff00cc1b4 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #24 0x000000fff00d3d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #25 0x000000fff00d3d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #26 0x000000fff00d3d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #27 0x000000fff00d3d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #28 0x000000fff00d3d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #29 0x000000fff00d3d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #30 0x000000fff00d3d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #31 0x000000fff00d3d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #32 0x000000fff00d3d94 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 0x000000fff00d565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff00d587c clang::ento::CoreEngine::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 0x000000fff00d5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #36 0x000000fff00d5c70 clang::ento::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 0x000000fff03e303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #38 0x000000fff03e303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #39 0x000000fff03e303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #40 0x000000fff03e303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #41 0x000000fff03e303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #42 0x000000fff03e4224 llvm::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 0x000000fff03e4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #44 0x000000fff03e4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #45 0x000000fff03e8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x000000fff03e8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x000000fff03e8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #48 0x000000fff03e8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #49 0x000000fff03e8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #50 0x000000ffee62a978 __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 0x000000ffee62a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #52 0x000000ffee62a978 void clang::finalize>, 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 0x000000ffee62a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #54 0x000000ffefea3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #55 0x000000ffefe5f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #56 0x000000ffefe5f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #57 0x000000ffefe5f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #58 0x000000ffefef39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #59 0x000000aaae1b9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #60 0x000000aaae1bdb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #61 0x000000aaae1bf234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #62 0x000000aaae1b6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #63 0x000000ffe6c1c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #64 0x000000ffe6c1c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #65 0x000000aaae1b60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/InlineObjCInstanceMethod.m.script: line 1: 3898607 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/ObjCImproperDynamictallyDetectableCast.m (822 of 19712) ******************** TEST 'Clang :: Analysis/inlining/ObjCImproperDynamictallyDetectableCast.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8116bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8114c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe81173d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd3ec648 (linux-vdso.so.1+0x648) #4 0x000000fff0bc9388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0bc9388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0bc9388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0bc9388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0bc9388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0bc9388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0bc9388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0bc9388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff08403a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff08403a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff08403a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff08403a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff08403a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff08403a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff08403a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff08403a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0843dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0843dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0843dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0843dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0837430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0837430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0837430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff08453b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff08453b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff08453b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0837d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0837d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0837d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff08503b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff08503b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff08503b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff08571d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff08571d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff08571d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff07b2138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff07b2138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff07b2138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff07b2138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff07b2688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff07b2688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff07b2688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff077ab4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff077ab4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff077ab4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff07c66c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff07c66c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff07c66c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000fff07d6010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff07d6010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff07d6010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff0ae303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff0ae303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff0ae303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff0ae303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff0ae303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff0ae4224 llvm::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 0x000000fff0ae4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff0ae4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff0ae8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff0ae8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff0ae8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff0ae8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff0ae8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffeed2a978 __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 0x000000ffeed2a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffeed2a978 void clang::finalize>, 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 0x000000ffeed2a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff05a3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff055f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff055f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff055f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff05f39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaadb0dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaadb11b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaadb13234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaadb0a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe731c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe731c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaadb0a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/ObjCImproperDynamictallyDetectableCast.m.script: line 1: 3898653 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/containers.cpp (823 of 19712) ******************** TEST 'Clang :: Analysis/inlining/containers.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8832bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8830c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe88333d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffcc8648 (linux-vdso.so.1+0x648) #4 0x000000fff0ee7f68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff0ee7f68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff0ee7f68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff0ee7f68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff0ee7f68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff0ee7f68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff0ee7f68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff0ee7f68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000fff0eefd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x000000fff0eefd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x000000fff0eefd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x000000fff0eefd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x000000fff0eefd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x000000fff0eefd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x000000fff0eefd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x000000fff0eefd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x000000fff0eefd94 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 0x000000fff0ef165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff0ef187c clang::ento::CoreEngine::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 0x000000fff0ef1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #24 0x000000fff0ef1c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #25 0x000000fff11ff03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x000000fff11ff03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x000000fff11ff03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #28 0x000000fff11ff03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #29 0x000000fff11ff03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #30 0x000000fff1200224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #31 0x000000fff1200224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #32 0x000000fff1200224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #33 0x000000fff1204604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #34 0x000000fff1204604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #35 0x000000fff1204604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #36 0x000000fff1204604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #37 0x000000fff1204604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #38 0x000000ffef446978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #39 0x000000ffef446978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #40 0x000000ffef446978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #41 0x000000ffef446978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #42 0x000000fff0cbfb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #43 0x000000fff0c7b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #44 0x000000fff0c7b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #45 0x000000fff0c7b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #46 0x000000fff0d0f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #47 0x000000aaacb19c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #48 0x000000aaacb1db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #49 0x000000aaacb1f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #50 0x000000aaacb16034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #51 0x000000ffe7a388c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #52 0x000000ffe7a389cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #53 0x000000aaacb160a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/containers.cpp.script: line 4: 3899537 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/DynDispatchBifurcate.m (824 of 19712) ******************** TEST 'Clang :: Analysis/inlining/DynDispatchBifurcate.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe89a6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe89a4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe89a73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe428648 (linux-vdso.so.1+0x648) #4 0x000000fff1459388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1459388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1459388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1459388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1459388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1459388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1459388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1459388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff10d03a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff10d03a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff10d03a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff10d03a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff10d03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff10d03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff10d03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff10d03a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff10d3dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff10d3dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff10d3dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff10d3dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff10c7430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff10c7430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff10c7430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff10d53b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff10d53b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff10d53b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff10c7d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff10c7d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff10c7d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff10e03b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff10e03b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff10e03b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff10e71d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff10e71d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff10e71d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1042138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1042138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1042138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1042138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1598114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff1598114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff1598114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff10aa404 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #47 0x000000fff10aa404 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #48 0x000000fff10aa404 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #49 0x000000fff10aa404 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #50 0x000000fff10aa404 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #51 0x000000fff10aa404 clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #52 0x000000fff106277c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #53 0x000000fff106277c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #54 0x000000fff1063e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x000000fff106565c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x000000fff106587c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x000000fff1065c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff1065c70 clang::ento::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 0x000000fff137303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff137303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff137303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff137303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff137303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff1374224 llvm::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 0x000000fff1374224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff1374224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff1378604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff1378604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff1378604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff1378604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff1378604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffef5ba978 __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 0x000000ffef5ba978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffef5ba978 void clang::finalize>, 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 0x000000ffef5ba978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff0e33b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff0def354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff0def354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff0def354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff0e839a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaab8c1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaab8c5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaab8c7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaab8be034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe7bac8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe7bac9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaab8be0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/DynDispatchBifurcate.m.script: line 1: 3898564 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/assume-super-init-does-not-return-nil.m (826 of 19712) ******************** TEST 'Clang :: Analysis/inlining/assume-super-init-does-not-return-nil.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6c0abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6c08c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6c0b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff810648 (linux-vdso.so.1+0x648) #4 0x000000ffef6bd388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef6bd388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef6bd388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef6bd388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef6bd388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef6bd388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef6bd388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef6bd388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef3343a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef3343a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef3343a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef3343a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef3343a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef3343a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef3343a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef3343a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef337dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef337dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef337dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef337dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef32b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef32b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef32b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef3393b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef3393b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef3393b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef32bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef32bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef32bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef3443b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef3443b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef3443b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef34b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef34b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef34b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef2a6138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef2a6138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef2a6138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef2a6138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffef2a6688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffef2a6688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffef2a6688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000ffef26eb4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000ffef26eb4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000ffef26eb4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000ffef2ba6c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000ffef2ba6c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000ffef2ba6c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000ffef2ca010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000ffef2ca010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000ffef2ca010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000ffef5d703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000ffef5d703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000ffef5d703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000ffef5d703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000ffef5d703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000ffef5d8224 llvm::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 0x000000ffef5d8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000ffef5d8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000ffef5dc604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000ffef5dc604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000ffef5dc604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000ffef5dc604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000ffef5dc604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffed81e978 __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 0x000000ffed81e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffed81e978 void clang::finalize>, 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 0x000000ffed81e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000ffef097b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000ffef053354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000ffef053354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000ffef053354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000ffef0e79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaab411c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaab415b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaab417234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaab40e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe5e108c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe5e109cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaab40e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/assume-super-init-does-not-return-nil.m.script: line 1: 3898730 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/RetainCountExamples.m (827 of 19712) ******************** TEST 'Clang :: Analysis/inlining/RetainCountExamples.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe74f6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe74f4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe74f73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd6f0648 (linux-vdso.so.1+0x648) #4 0x000000ffeffa9388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffeffa9388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffeffa9388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffeffa9388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffeffa9388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffeffa9388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffeffa9388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffeffa9388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffefc203a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffefc203a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffefc203a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffefc203a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffefc203a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffefc203a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffefc203a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffefc203a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffefc23dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffefc23dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffefc23dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffefc23dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffefc17430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffefc17430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffefc17430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffefc253b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffefc253b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffefc253b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffefc17d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffefc17d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffefc17d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffefc303b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffefc303b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffefc303b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffefc371d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffefc371d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffefc371d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffefb92138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffefb92138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffefb92138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffefb92138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffefb92688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffefb92688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffefb92688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000ffefb5ab4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000ffefb5ab4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000ffefb5ab4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000ffefba66c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000ffefba66c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000ffefba66c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000ffefbb6010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000ffefbb6010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000ffefbb6010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000ffefec303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000ffefec303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000ffefec303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000ffefec303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000ffefec303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000ffefec4224 llvm::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 0x000000ffefec4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000ffefec4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000ffefec8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000ffefec8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000ffefec8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000ffefec8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000ffefec8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffee10a978 __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 0x000000ffee10a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffee10a978 void clang::finalize>, 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 0x000000ffee10a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000ffef983b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000ffef93f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000ffef93f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000ffef93f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000ffef9d39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaae295c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaae299b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaae29b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaae292034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe66fc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe66fc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaae2920a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/RetainCountExamples.m.script: line 1: 3898676 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/dyn-dispatch-bifurcate.cpp (828 of 19712) ******************** TEST 'Clang :: Analysis/inlining/dyn-dispatch-bifurcate.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe83bebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe83bcc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe83bf3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffc6c648 (linux-vdso.so.1+0x648) #4 0x000000fff0e71388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0e71388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0e71388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0e71388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0e71388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0e71388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0e71388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0e71388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff0ae83a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff0ae83a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff0ae83a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff0ae83a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff0ae83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff0ae83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff0ae83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff0ae83a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0aebdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0aebdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0aebdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0aebdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0adf430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0adf430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0adf430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff0aed3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0aed3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0aed3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0adfd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0adfd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0adfd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff0af83b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff0af83b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff0af83b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff0aff1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff0aff1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff0aff1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0a5a0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0a5a0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0a5a0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0a5a0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff0fb0114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff0fb0114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff0fb0114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff0a6b190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff0a6b190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff0a6b190 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:0 #49 0x000000fff0a6b190 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:0 #50 0x000000fff0a6b190 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:0 #51 0x000000fff0a6b190 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:0 #52 0x000000fff0a6b190 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:0 #53 0x000000fff0a6b190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff0a6b190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff0a6b190 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:0 #56 0x000000fff0a6b7ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff0a7dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff0a7dc70 clang::ento::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 0x000000fff0d8b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff0d8b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff0d8b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff0d8b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff0d8b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff0d8c224 llvm::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 0x000000fff0d8c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff0d8c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff0d90604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff0d90604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff0d90604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff0d90604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff0d90604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffeefd2978 __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 0x000000ffeefd2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffeefd2978 void clang::finalize>, 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 0x000000ffeefd2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff084bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff0807354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff0807354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff0807354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff089b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaab401c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaab405b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaab407234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaab3fe034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe75c48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe75c49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaab3fe0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/dyn-dispatch-bifurcate.cpp.script: line 1: 3899590 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=dynamic-bifurcate -verify -Wno-reinterpret-base-class -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/dyn-dispatch-bifurcate.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/inline-defensive-checks.c (829 of 19712) ******************** TEST 'Clang :: Analysis/inlining/inline-defensive-checks.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8f2ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8f2cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8f2f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffee14648 (linux-vdso.so.1+0x648) #4 0x000000fff19e1388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff19e1388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff19e1388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff19e1388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff19e1388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff19e1388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff19e1388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff19e1388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff16583a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff16583a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff16583a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff16583a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff16583a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff16583a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff16583a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff16583a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff165bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff165bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff165bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff165bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff165a65c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff165a65c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff165a65c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000fff165d444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff165d444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff165d444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000fff164fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff164fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff164fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff16683b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff16683b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff16683b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff166f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff166f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff166f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff15ca138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff15ca138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff15ca138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff15ca138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1b20114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff1b20114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff1b20114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff15db190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff15db190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff15db190 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:0 #49 0x000000fff15db190 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:0 #50 0x000000fff15db190 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:0 #51 0x000000fff15db190 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:0 #52 0x000000fff15db190 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:0 #53 0x000000fff15db190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff15db190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff15db190 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:0 #56 0x000000fff15db7ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff15edc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff15edc70 clang::ento::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 0x000000fff18fb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff18fb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff18fb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff18fb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff18fb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff18fc224 llvm::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 0x000000fff18fc224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff18fc224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff1900604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff1900604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff1900604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff1900604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff1900604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffefb42978 __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 0x000000ffefb42978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffefb42978 void clang::finalize>, 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 0x000000ffefb42978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff13bbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff1377354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff1377354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff1377354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff140b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaaccd9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaaccddb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaaccdf234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaaccd6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe81348c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe81349cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaaccd60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/inline-defensive-checks.c.script: line 1: 3899674 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/false-positive-suppression.c (832 of 19712) ******************** TEST 'Clang :: Analysis/inlining/false-positive-suppression.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6ea2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6ea0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6ea33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd57c648 (linux-vdso.so.1+0x648) #4 0x000000ffef955388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef955388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef955388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef955388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef955388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef955388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef955388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef955388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef5cc3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef5cc3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef5cc3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef5cc3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef5cc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef5cc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef5cc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef5cc3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef5cfdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef5cfdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef5cfdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef5cfdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef5c3430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef5c3430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef5c3430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef5d13b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef5d13b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef5d13b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef5c3d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef5c3d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef5c3d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef5dc3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef5dc3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef5dc3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef5e31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef5e31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef5e31d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef53e138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef53e138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef53e138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef53e138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffefa94114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000ffefa94114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000ffefa94114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000ffef686de0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000ffef686de0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:0 #48 0x000000ffef686de0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #49 0x000000ffef686de0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:0 #50 0x000000ffef526208 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #51 0x000000ffef55006c clang::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 0x000000ffef55006c 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:0 #53 0x000000ffef553978 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #54 0x000000ffef553978 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #55 0x000000ffef553978 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x000000ffef553978 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:0 #57 0x000000ffef59becc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000ffef59becc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000ffef59becc 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 #60 0x000000ffef55e708 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #61 0x000000ffef55e708 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #62 0x000000ffef55e708 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #63 0x000000ffef55fe0c clang::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 0x000000ffef56165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef56187c clang::ento::CoreEngine::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 0x000000ffef561c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #67 0x000000ffef561c70 clang::ento::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 0x000000ffef86f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #69 0x000000ffef86f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #70 0x000000ffef86f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #71 0x000000ffef86f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #72 0x000000ffef86f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #73 0x000000ffef870224 llvm::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 0x000000ffef870224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #75 0x000000ffef870224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #76 0x000000ffef874604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #77 0x000000ffef874604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #78 0x000000ffef874604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #79 0x000000ffef874604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #80 0x000000ffef874604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #81 0x000000ffedab6978 __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 0x000000ffedab6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #83 0x000000ffedab6978 void clang::finalize>, 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 0x000000ffedab6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #85 0x000000ffef32fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #86 0x000000ffef2eb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #87 0x000000ffef2eb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #88 0x000000ffef2eb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #89 0x000000ffef37f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #90 0x000000aaae739c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #91 0x000000aaae73db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #92 0x000000aaae73f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #93 0x000000aaae736034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #94 0x000000ffe60a88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #95 0x000000ffe60a89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #96 0x000000aaae7360a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/false-positive-suppression.c.script: line 3: 3899654 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/false-positive-suppression.m (833 of 19712) ******************** TEST 'Clang :: Analysis/inlining/false-positive-suppression.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8392bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8390c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe83933d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd14c648 (linux-vdso.so.1+0x648) #4 0x000000fff0e45388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0e45388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0e45388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0e45388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0e45388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0e45388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0e45388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0e45388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff0abc3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff0abc3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff0abc3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff0abc3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff0abc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff0abc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff0abc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff0abc3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0abfdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0abfdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0abfdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0abfdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0ab3430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0ab3430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0ab3430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff0ac13b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0ac13b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0ac13b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0ab3d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0ab3d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0ab3d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff0acc3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff0acc3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff0acc3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff0ad31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff0ad31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff0ad31d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0a2e138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0a2e138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0a2e138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0a2e138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff0f84114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff0f84114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff0f84114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff0a96404 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #47 0x000000fff0a96404 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #48 0x000000fff0a96404 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #49 0x000000fff0a96404 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #50 0x000000fff0a96404 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #51 0x000000fff0a96404 clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #52 0x000000fff0a4e77c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #53 0x000000fff0a4e77c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #54 0x000000fff0a4fe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x000000fff0a5165c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x000000fff0a5187c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x000000fff0a51c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff0a51c70 clang::ento::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 0x000000fff0d5f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff0d5f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff0d5f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff0d5f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff0d5f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff0d60224 llvm::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 0x000000fff0d60224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff0d60224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff0d64604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff0d64604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff0d64604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff0d64604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff0d64604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffeefa6978 __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 0x000000ffeefa6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffeefa6978 void clang::finalize>, 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 0x000000ffeefa6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff081fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff07db354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff07db354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff07db354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff086f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaabc85c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaabc89b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaabc8b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaabc82034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe75988c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe75989cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaabc820a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/false-positive-suppression.m.script: line 4: 3899667 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/inline-defensive-checks.cpp (834 of 19712) ******************** TEST 'Clang :: Analysis/inlining/inline-defensive-checks.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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 0x000000ffe6a66bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6a64c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6a673d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd548648 (linux-vdso.so.1+0x648) #4 0x000000ffef142244 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000ffef142244 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffef142244 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffef142244 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x000000ffef142244 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x000000ffef142244 Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:27 #10 0x000000ffef142244 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:89 #11 0x000000ffef142244 llvm::IntrusiveRefCntPtr clang::ento::ProgramState::set<(anonymous namespace)::ObjectsUnderConstruction>(clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:63 #12 0x000000ffef11a10c 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:600:0 #13 0x000000ffef149208 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #14 0x000000ffef149208 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x000000ffef149208 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:507:68 #16 0x000000ffef1677a4 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x000000ffef1677a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x000000ffef1677a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x000000ffef1677a4 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 #20 0x000000ffef1677a4 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 #21 0x000000ffef122cdc clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #22 0x000000ffef122cdc clang::ento::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 #23 0x000000ffef123e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #24 0x000000ffef12565c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #25 0x000000ffef12587c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #26 0x000000ffef125c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000ffef125c70 clang::ento::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 0x000000ffef43303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000ffef43303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000ffef43303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000ffef43303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000ffef43303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000ffef434224 llvm::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 0x000000ffef434224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000ffef434224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000ffef438604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000ffef438604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000ffef438604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000ffef438604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000ffef438604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000ffed67a978 __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 0x000000ffed67a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x000000ffed67a978 void clang::finalize>, 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 0x000000ffed67a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x000000ffeeef3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x000000ffeeeaf354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x000000ffeeeaf354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x000000ffeeeaf354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x000000ffeef439a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #50 0x000000aaae37dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x000000aaae381b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x000000aaae383234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x000000aaae37a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x000000ffe5c6c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #55 0x000000ffe5c6c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #56 0x000000aaae37a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/inline-defensive-checks.cpp.script: line 1: 3899716 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/inline-defensive-checks.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/inline-defensive-checks.m (835 of 19712) ******************** TEST 'Clang :: Analysis/inlining/inline-defensive-checks.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6a72bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6a70c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6a733d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe9c8648 (linux-vdso.so.1+0x648) #4 0x000000ffef525388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef525388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef525388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef525388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef525388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef525388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef525388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef525388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef19c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef19c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef19c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef19c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef19c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef19c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef19c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef19c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef19fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef19fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef19fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef19fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef193430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef193430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef193430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef1a13b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef1a13b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef1a13b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef193d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef193d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef193d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef1ac3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef1ac3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef1ac3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef1b31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef1b31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef1b31d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef10e138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef10e138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef10e138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef10e138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffef664114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000ffef664114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000ffef664114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000ffef11f190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000ffef11f190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000ffef11f190 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:0 #49 0x000000ffef11f190 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:0 #50 0x000000ffef11f190 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:0 #51 0x000000ffef11f190 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:0 #52 0x000000ffef11f190 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:0 #53 0x000000ffef11f190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000ffef11f190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000ffef11f190 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:0 #56 0x000000ffef11f7ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000ffef131c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000ffef131c70 clang::ento::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 0x000000ffef43f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000ffef43f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000ffef43f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000ffef43f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000ffef43f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000ffef440224 llvm::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 0x000000ffef440224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000ffef440224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000ffef444604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000ffef444604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000ffef444604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000ffef444604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000ffef444604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffed686978 __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 0x000000ffed686978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffed686978 void clang::finalize>, 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 0x000000ffed686978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000ffeeeffb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000ffeeebb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000ffeeebb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000ffeeebb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000ffeef4f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaac179c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaac17db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaac17f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaac176034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe5c788c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe5c789cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaac1760a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/inline-defensive-checks.m.script: line 1: 3899811 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/false-positive-suppression.cpp (836 of 19712) ******************** TEST 'Clang :: Analysis/inlining/false-positive-suppression.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9f7ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9f7cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9f7f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd014648 (linux-vdso.so.1+0x648) #4 0x000000fff265a244 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff265a244 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff265a244 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff265a244 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x000000fff265a244 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x000000fff265a244 Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:27 #10 0x000000fff265a244 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:89 #11 0x000000fff265a244 llvm::IntrusiveRefCntPtr clang::ento::ProgramState::set<(anonymous namespace)::ObjectsUnderConstruction>(clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:63 #12 0x000000fff263210c 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:600:0 #13 0x000000fff26610f0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #14 0x000000fff26610f0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #15 0x000000fff26610f0 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:486:63 #16 0x000000fff267f7a4 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x000000fff267f7a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x000000fff267f7a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x000000fff267f7a4 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 #20 0x000000fff267f7a4 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 #21 0x000000fff263acdc clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #22 0x000000fff263acdc clang::ento::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 #23 0x000000fff263be0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #24 0x000000fff263d65c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #25 0x000000fff263d87c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #26 0x000000fff263dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000fff263dc70 clang::ento::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 0x000000fff294b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000fff294b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000fff294b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000fff294b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000fff294b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000fff294c224 llvm::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 0x000000fff294c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000fff294c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000fff2950604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000fff2950604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000fff2950604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000fff2950604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000fff2950604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000fff0b92978 __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 0x000000fff0b92978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x000000fff0b92978 void clang::finalize>, 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 0x000000fff0b92978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x000000fff240bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x000000fff23c7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x000000fff23c7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x000000fff23c7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x000000fff245b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #50 0x000000aaae47dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x000000aaae481b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x000000aaae483234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x000000aaae47a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x000000ffe91848c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #55 0x000000ffe91849cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #56 0x000000aaae47a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/false-positive-suppression.cpp.script: line 2: 3899659 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/path-notes.c (837 of 19712) ******************** TEST 'Clang :: Analysis/inlining/path-notes.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe859ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe859cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe859f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffbf0648 (linux-vdso.so.1+0x648) #4 0x000000fff1051388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1051388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1051388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1051388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1051388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1051388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1051388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1051388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff0cc83a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff0cc83a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff0cc83a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff0cc83a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff0cc83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff0cc83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff0cc83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff0cc83a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0ccbdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0ccbdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0ccbdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0ccbdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0cbf430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0cbf430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0cbf430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff0ccd3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0ccd3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0ccd3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0cbfd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0cbfd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0cbfd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff0cd83b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff0cd83b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff0cd83b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff0cdf1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff0cdf1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff0cdf1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0c3a138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0c3a138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0c3a138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0c3a138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1190114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff1190114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff1190114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff0d82de0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff0d82de0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:0 #48 0x000000fff0d82de0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #49 0x000000fff0d82de0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:0 #50 0x000000fff0c22208 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #51 0x000000fff0c4c06c clang::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 0x000000fff0c4c06c 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:0 #53 0x000000fff0c4f978 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #54 0x000000fff0c4f978 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #55 0x000000fff0c4f978 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x000000fff0c4f978 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:0 #57 0x000000fff0c97ecc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff0c97ecc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff0c97ecc 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 #60 0x000000fff0c5a708 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #61 0x000000fff0c5a708 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #62 0x000000fff0c5a708 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #63 0x000000fff0c5be0c clang::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 0x000000fff0c5d65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff0c5d87c clang::ento::CoreEngine::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 0x000000fff0c5dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #67 0x000000fff0c5dc70 clang::ento::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 0x000000fff0f6b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #69 0x000000fff0f6b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #70 0x000000fff0f6b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #71 0x000000fff0f6b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #72 0x000000fff0f6b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #73 0x000000fff0f6c224 llvm::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 0x000000fff0f6c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #75 0x000000fff0f6c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #76 0x000000fff0f70604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #77 0x000000fff0f70604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #78 0x000000fff0f70604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #79 0x000000fff0f70604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #80 0x000000fff0f70604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #81 0x000000ffef1b2978 __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 0x000000ffef1b2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #83 0x000000ffef1b2978 void clang::finalize>, 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 0x000000ffef1b2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #85 0x000000fff0a2bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #86 0x000000fff09e7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #87 0x000000fff09e7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #88 0x000000fff09e7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #89 0x000000fff0a7b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #90 0x000000aaab8f1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #91 0x000000aaab8f5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #92 0x000000aaab8f7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #93 0x000000aaab8ee034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #94 0x000000ffe77a48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #95 0x000000ffe77a49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #96 0x000000aaab8ee0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/path-notes.c.script: line 3: 3899828 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/placement-new-fp-suppression.cpp (839 of 19712) ******************** TEST 'Clang :: Analysis/inlining/placement-new-fp-suppression.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea37ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea37cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea37f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc5f8648 (linux-vdso.so.1+0x648) #4 0x000000fff2e31388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2e31388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2e31388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2e31388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2e31388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2e31388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2e31388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2e31388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff2aa83a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff2aa83a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff2aa83a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff2aa83a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff2aa83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff2aa83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff2aa83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff2aa83a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff2aabdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff2aabdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff2aabdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff2aabdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff2a9f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff2a9f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff2a9f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff2aad3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff2aad3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff2aad3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff2a9fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff2a9fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff2a9fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff2ab83b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff2ab83b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff2ab83b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff2abf1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff2abf1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff2abf1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff2a1a0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff2a1a0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff2a1a0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff2a1a0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff2a2fe4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff2a2fe4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff2a2fe4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000fff2a2fe4c 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:0 #47 0x000000fff2a3bb90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000fff2a3bb90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000fff2a3bb90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000fff2a3bb90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000fff2a3bb90 clang::ento::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 #52 0x000000fff2a3be0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000fff2a3d65c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000fff2a3d87c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000fff2a3dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000fff2a3dc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000fff2d4b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff2d4b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff2d4b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000fff2d4b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000fff2d4b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000fff2d4c224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000fff2d4c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000fff2d4c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000fff2d50604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000fff2d50604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000fff2d50604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000fff2d50604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000fff2d50604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000fff0f92978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000fff0f92978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000fff0f92978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000fff0f92978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000fff280bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000fff27c7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000fff27c7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000fff27c7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000fff285b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaab159c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaab15db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaab15f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaab156034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe95848c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe95849cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaab1560a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/placement-new-fp-suppression.cpp.script: line 2: 3900401 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core.CallAndMessage -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/placement-new-fp-suppression.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/path-notes.cpp (841 of 19712) ******************** TEST 'Clang :: Analysis/inlining/path-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe8b8ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8b8cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8b8f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe6c8648 (linux-vdso.so.1+0x648) #4 0x000000fff1641388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1641388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1641388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1641388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1641388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1641388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1641388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1641388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff12b83a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff12b83a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff12b83a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff12b83a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff12b83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff12b83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff12b83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff12b83a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff12bbdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff12bbdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff12bbdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff12bbdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff12af430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff12af430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff12af430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff12bd3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff12bd3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff12bd3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff12afd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff12afd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff12afd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff12c83b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff12c83b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff12c83b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff12cf1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff12cf1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff12cf1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff122a138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff122a138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff122a138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff122a138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1312ad4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff1312ad4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff1312ad4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff1312ad4 checkCXXMethodCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:460:0 #47 0x000000fff1312ad4 checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:558:0 #48 0x000000fff1312ad4 void clang::ento::check::PreCall::_checkCall<(anonymous namespace)::CallAndMessageChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:168:0 #49 0x000000fff1220df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #50 0x000000fff1220df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #51 0x000000fff1220df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #52 0x000000fff1220df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #53 0x000000fff1220df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #54 0x000000fff1290e8c llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #55 0x000000fff1290e8c llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #56 0x000000fff1290e8c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #57 0x000000fff1290e8c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #58 0x000000fff1290e8c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #59 0x000000fff1290e8c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #60 0x000000fff1290e8c 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 #61 0x000000fff1245ee8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #62 0x000000fff1245ee8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #63 0x000000fff1245ee8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #64 0x000000fff1245ee8 clang::ento::ExprEngine::ProcessDeleteDtor(clang::CFGDeleteDtor, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1475:0 #65 0x000000fff1246ba0 clang::ento::ExprEngine::ProcessImplicitDtor(clang::CFGImplicitDtor, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1300:0 #66 0x000000fff124d5f8 clang::ento::PrettyStackTraceLocationContext::~PrettyStackTraceLocationContext() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/PrettyStackTraceLocationContext.h:28:0 #67 0x000000fff124d5f8 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1001:0 #68 0x000000fff124d87c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #69 0x000000fff124dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #70 0x000000fff124dc70 clang::ento::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 0x000000fff155b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #72 0x000000fff155b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #73 0x000000fff155b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #74 0x000000fff155b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #75 0x000000fff155b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #76 0x000000fff155c224 llvm::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 0x000000fff155c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #78 0x000000fff155c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #79 0x000000fff1560604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #80 0x000000fff1560604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #81 0x000000fff1560604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #82 0x000000fff1560604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #83 0x000000fff1560604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #84 0x000000ffef7a2978 __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 0x000000ffef7a2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #86 0x000000ffef7a2978 void clang::finalize>, 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 0x000000ffef7a2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #88 0x000000fff101bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #89 0x000000fff0fd7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #90 0x000000fff0fd7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #91 0x000000fff0fd7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #92 0x000000fff106b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #93 0x000000aaac8c1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #94 0x000000aaac8c5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #95 0x000000aaac8c7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #96 0x000000aaac8be034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #97 0x000000ffe7d948c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #98 0x000000ffe7d949cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #99 0x000000aaac8be0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/path-notes.cpp.script: line 3: 3899841 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/path-notes.m (842 of 19712) ******************** TEST 'Clang :: Analysis/inlining/path-notes.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe722ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe722cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe722f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff2bc648 (linux-vdso.so.1+0x648) #4 0x000000ffef8d0f18 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef8d0f18 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef8d0f18 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef8d0f18 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef8d0f18 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef8d0f18 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 0x000000ffef8d0f18 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef8d0f18 llvm::IntrusiveRefCntPtr clang::ento::removeDeadImpl<(anonymous namespace)::DynamicTypeMap>(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:166:0 #12 0x000000ffefccf97c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x000000ffefccf97c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x000000ffefccf97c clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x000000ffefccf97c (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 0x000000ffef8b28e8 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #17 0x000000ffef8e41b4 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x000000ffef8e41b4 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x000000ffef8e41b4 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #20 0x000000ffef8e41b4 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #21 0x000000ffef8e41b4 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #22 0x000000ffef8e41b4 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #23 0x000000ffef8e41b4 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #24 0x000000ffef8ebd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #25 0x000000ffef8ebd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #26 0x000000ffef8ebd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #27 0x000000ffef8ebd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #28 0x000000ffef8ebd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #29 0x000000ffef8ebd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #30 0x000000ffef8ebd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #31 0x000000ffef8ebd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #32 0x000000ffef8ebd94 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 0x000000ffef8ed65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef8ed87c clang::ento::CoreEngine::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 0x000000ffef8edc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #36 0x000000ffef8edc70 clang::ento::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 0x000000ffefbfb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #38 0x000000ffefbfb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #39 0x000000ffefbfb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #40 0x000000ffefbfb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #41 0x000000ffefbfb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #42 0x000000ffefbfc224 llvm::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 0x000000ffefbfc224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #44 0x000000ffefbfc224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #45 0x000000ffefc00604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x000000ffefc00604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x000000ffefc00604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #48 0x000000ffefc00604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #49 0x000000ffefc00604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #50 0x000000ffede42978 __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 0x000000ffede42978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #52 0x000000ffede42978 void clang::finalize>, 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 0x000000ffede42978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #54 0x000000ffef6bbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #55 0x000000ffef677354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #56 0x000000ffef677354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #57 0x000000ffef677354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #58 0x000000ffef70b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #59 0x000000aaab549c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #60 0x000000aaab54db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #61 0x000000aaab54f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #62 0x000000aaab546034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #63 0x000000ffe64348c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #64 0x000000ffe64349cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #65 0x000000aaab5460a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/path-notes.m.script: line 3: 3899874 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/test_objc_inlining_option.m (843 of 19712) ******************** TEST 'Clang :: Analysis/inlining/test_objc_inlining_option.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe920abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9208c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe920b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffda88648 (linux-vdso.so.1+0x648) #4 0x000000fff1cbd388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1cbd388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1cbd388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1cbd388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1cbd388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1cbd388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1cbd388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1cbd388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff19343a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff19343a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff19343a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff19343a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff19343a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff19343a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff19343a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff19343a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1937dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1937dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1937dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1937dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff192b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff192b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff192b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff19393b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff19393b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff19393b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff192bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff192bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff192bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff19443b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff19443b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff19443b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff194b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff194b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff194b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff18a6138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff18a6138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff18a6138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff18a6138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff18a6688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff18a6688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff18a6688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff186eb4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff186eb4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff186eb4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff18ba6c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff18ba6c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff18ba6c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000fff18ca010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff18ca010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff18ca010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff1bd703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff1bd703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff1bd703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff1bd703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff1bd703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff1bd8224 llvm::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 0x000000fff1bd8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff1bd8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff1bdc604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff1bdc604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff1bdc604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff1bdc604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff1bdc604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffefe1e978 __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 0x000000ffefe1e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffefe1e978 void clang::finalize>, 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 0x000000ffefe1e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff1697b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff1653354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff1653354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff1653354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff16e79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaae755c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaae759b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaae75b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaae752034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe84108c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe84109cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaae7520a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/test_objc_inlining_option.m.script: line 1: 3900754 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/invalidated-iterator.cpp (844 of 19712) ******************** TEST 'Clang :: Analysis/invalidated-iterator.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea136bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea134c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea1373d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd2b8648 (linux-vdso.so.1+0x648) #4 0x000000fff29393d4 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000fff29393d4 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff29393d4 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff29393d4 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff29393d4 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff29393d4 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 0x000000fff29393d4 clang::ento::ProgramStateTrait::lookup_type clang::ento::ProgramState::get(clang::ento::ProgramStateTrait::key_type) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000fff29393d4 clang::ento::iterator::getContainerData(llvm::IntrusiveRefCntPtr, clang::ento::MemRegion const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/Iterator.cpp:181:34 #12 0x000000fff28eaa48 getContainerBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:823:42 #13 0x000000fff28eaa48 handleBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:260:33 #14 0x000000fff28eaa48 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:193:20 #15 0x000000fff28eaa48 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::ContainerModeling>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:46 #16 0x000000fff27c8df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #17 0x000000fff27c8df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #18 0x000000fff27c8df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #19 0x000000fff27c8df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #20 0x000000fff27c8df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #21 0x000000fff281a500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #22 0x000000fff281a500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #23 0x000000fff281a500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #24 0x000000fff281a500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #25 0x000000fff281ae4c clang::ento::ExprEngine::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 #26 0x000000fff27f2d1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #27 0x000000fff27f2d1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #28 0x000000fff27f3e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #29 0x000000fff27f565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff27f587c clang::ento::CoreEngine::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 0x000000fff27f5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #32 0x000000fff27f5c70 clang::ento::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 0x000000fff2b0303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x000000fff2b0303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x000000fff2b0303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #36 0x000000fff2b0303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #37 0x000000fff2b0303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #38 0x000000fff2b04224 llvm::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 0x000000fff2b04224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #40 0x000000fff2b04224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #41 0x000000fff2b08604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x000000fff2b08604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x000000fff2b08604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #44 0x000000fff2b08604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #45 0x000000fff2b08604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #46 0x000000fff0d4a978 __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 0x000000fff0d4a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #48 0x000000fff0d4a978 void clang::finalize>, 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 0x000000fff0d4a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #50 0x000000fff25c3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #51 0x000000fff257f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #52 0x000000fff257f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #53 0x000000fff257f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #54 0x000000fff26139a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #55 0x000000aaae2f1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #56 0x000000aaae2f5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #57 0x000000aaae2f7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #58 0x000000aaae2ee034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #59 0x000000ffe933c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #60 0x000000ffe933c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #61 0x000000aaae2ee0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/invalidated-iterator.cpp.script: line 2: 3900812 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/inlining/stl.cpp (845 of 19712) ******************** TEST 'Clang :: Analysis/inlining/stl.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8e2ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8e2cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8e2f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffef9c648 (linux-vdso.so.1+0x648) #4 0x000000fff18e1388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff18e1388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff18e1388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff18e1388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff18e1388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff18e1388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff18e1388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff18e1388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff15583a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff15583a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff15583a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff15583a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff15583a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff15583a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff15583a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff15583a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff155bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff155bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff155bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff155bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff154f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff154f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff154f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff155d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff155d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff155d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff154fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff154fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff154fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff15683b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff15683b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff15683b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff156f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff156f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff156f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff14ca0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff14ca0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff14ca0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff14ca0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff1a21e24 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff1a21e24 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff1a21e24 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff1a21e24 getArgumentValueString(clang::CallExpr const*, clang::ento::CheckerContext&) (.part.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:150:20 #47 0x000000fff15db864 getArgumentValueString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:135:3 #48 0x000000fff15db864 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #49 0x000000fff15db864 (anonymous namespace)::ExprInspectionChecker::analyzerEval(clang::CallExpr const*, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:215:0 #50 0x000000fff16237b0 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:0 #51 0x000000fff16237b0 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 #52 0x000000fff14c9588 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #53 0x000000fff1512440 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #54 0x000000fff1512440 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #55 0x000000fff1512440 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #56 0x000000fff1512440 clang::ento::ExprEngine::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 #57 0x000000fff1512e4c clang::ento::ExprEngine::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 #58 0x000000fff14ead1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #59 0x000000fff14ead1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #60 0x000000fff14ebe0c clang::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 0x000000fff14ed65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff14ed87c clang::ento::CoreEngine::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 0x000000fff14edc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #64 0x000000fff14edc70 clang::ento::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 0x000000fff17fb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #66 0x000000fff17fb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #67 0x000000fff17fb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #68 0x000000fff17fb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #69 0x000000fff17fb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #70 0x000000fff17fc224 llvm::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 0x000000fff17fc224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #72 0x000000fff17fc224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #73 0x000000fff1800604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #74 0x000000fff1800604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #75 0x000000fff1800604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #76 0x000000fff1800604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #77 0x000000fff1800604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #78 0x000000ffefa42978 __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 0x000000ffefa42978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #80 0x000000ffefa42978 void clang::finalize>, 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 0x000000ffefa42978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #82 0x000000fff12bbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #83 0x000000fff1277354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #84 0x000000fff1277354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #85 0x000000fff1277354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #86 0x000000fff130b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #87 0x000000aaade01c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #88 0x000000aaade05b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #89 0x000000aaade07234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #90 0x000000aaaddfe034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #91 0x000000ffe80348c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #92 0x000000ffe80349cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #93 0x000000aaaddfe0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/stl.cpp.script: line 2: 3900742 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/inner-pointer.cpp (847 of 19712) ******************** TEST 'Clang :: Analysis/inner-pointer.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe94eebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe94ecc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe94ef3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffad0648 (linux-vdso.so.1+0x648) #4 0x000000fff1ba7664 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff1ba7664 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff1ba7664 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff1ba7664 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff1ba7664 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff1ba7664 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff1ba7664 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff1ba7664 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 0x000000fff1ba808c 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 0x000000fff1bada18 clang::ento::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 0x000000fff1badc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x000000fff1badc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x000000fff1ebb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x000000fff1ebb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x000000fff1ebb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x000000fff1ebb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x000000fff1ebb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x000000fff1ebc224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x000000fff1ebc224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x000000fff1ebc224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x000000fff1ec0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x000000fff1ec0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x000000fff1ec0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x000000fff1ec0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x000000fff1ec0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x000000fff0102978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x000000fff0102978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x000000fff0102978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x000000fff0102978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x000000fff197bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x000000fff1937354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x000000fff1937354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x000000fff1937354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x000000fff19cb9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000000aaae651c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000000aaae655b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000000aaae657234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000000aaae64e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x000000ffe86f48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #43 0x000000ffe86f49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #44 0x000000aaae64e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/inner-pointer.cpp.script: line 1: 3900763 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=cplusplus.InnerPointer -Wno-dangling -Wno-dangling-field -Wno-return-stack-address /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inner-pointer.cpp -analyzer-output=text -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/retain-count-self-init.m (848 of 19712) ******************** TEST 'Clang :: Analysis/inlining/retain-count-self-init.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe966abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9668c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe966b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffdeb8648 (linux-vdso.so.1+0x648) #4 0x000000fff211d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff211d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff211d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff211d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff211d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff211d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff211d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff211d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff1d943a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff1d943a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff1d943a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff1d943a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff1d943a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff1d943a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff1d943a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff1d943a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1d97dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1d97dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1d97dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1d97dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1d8b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1d8b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1d8b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff1d993b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff1d993b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff1d993b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1d8bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1d8bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1d8bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff1da43b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff1da43b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff1da43b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff1dab1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff1dab1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff1dab1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1d06138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1d06138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1d06138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1d06138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1d06688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff1d06688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff1d06688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff1cceb4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff1cceb4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff1cceb4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff1d1a6c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff1d1a6c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff1d1a6c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000fff1d2a010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff1d2a010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff1d2a010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff203703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff203703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff203703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff203703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff203703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff2038224 llvm::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 0x000000fff2038224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff2038224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff203c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff203c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff203c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff203c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff203c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000fff027e978 __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 0x000000fff027e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000fff027e978 void clang::finalize>, 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 0x000000fff027e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff1af7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff1ab3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff1ab3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff1ab3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff1b479a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaac2ddc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaac2e1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaac2e3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaac2da034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe88708c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe88709cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaac2da0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/retain-count-self-init.m.script: line 1: 3900743 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/iterator-range.cpp (850 of 19712) ******************** TEST 'Clang :: Analysis/iterator-range.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7a72bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7a70c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7a733d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd408648 (linux-vdso.so.1+0x648) #4 0x000000fff0149510 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000fff0149510 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff0149510 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff0149510 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff0149510 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff0149510 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff0149510 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000fff0149510 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x000000fff0149510 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x000000fff0149608 (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 0x000000fff01b66e4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #15 0x000000fff01b66e4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #16 0x000000fff01b66e4 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #17 0x000000fff01b66e4 (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 #18 0x000000fff01b5e7c clang::ento::BinarySymExprImpl::getLHS() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:443:0 #19 0x000000fff01b5e7c VisitSymIntExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1271:0 #20 0x000000fff01b5e7c 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 #21 0x000000fff06236f4 llvm::DenseMap, llvm::detail::DenseMapPair>::~DenseMap() /usr/include/llvm/ADT/DenseMap.h:782:0 #22 0x000000fff06236f4 ~Simplifier /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1211:0 #23 0x000000fff06236f4 (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 #24 0x000000fff0194030 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #25 0x000000fff0194030 (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 #26 0x000000fff0193664 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x000000fff0193664 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x000000fff0193664 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #29 0x000000fff0193768 clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #30 0x000000fff01a1310 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 #31 0x000000fff0193d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #32 0x000000fff0193d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #33 0x000000fff0193d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #34 0x000000fff01ac3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #35 0x000000fff01ac3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #36 0x000000fff01ac3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #37 0x000000fff01b31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #38 0x000000fff01b31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #39 0x000000fff01b31d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #40 0x000000fff010e0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #41 0x000000fff010e0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #42 0x000000fff010e0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #43 0x000000fff010e0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #44 0x000000fff010e688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x000000fff010e688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x000000fff010e688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #47 0x000000fff00d6b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #48 0x000000fff00d6b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #49 0x000000fff00d6b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #50 0x000000fff02b5b98 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #51 0x000000fff02b5b98 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #52 0x000000fff02b5b98 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 #53 0x000000fff0226ab8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #54 0x000000fff0226ab8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #55 0x000000fff0226ab8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #56 0x000000fff0226ab8 createContainerBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:850:27 #57 0x000000fff0226ab8 handleBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:258:33 #58 0x000000fff0226ab8 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:193:20 #59 0x000000fff0226ab8 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::ContainerModeling>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:46 #60 0x000000fff0104df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #61 0x000000fff0104df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x000000fff0104df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #63 0x000000fff0104df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #64 0x000000fff0104df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #65 0x000000fff0156500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #66 0x000000fff0156500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #67 0x000000fff0156500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #68 0x000000fff0156500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #69 0x000000fff0156e4c clang::ento::ExprEngine::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 #70 0x000000fff012ed1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #71 0x000000fff012ed1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #72 0x000000fff012fe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #73 0x000000fff013165c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #74 0x000000fff013187c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #75 0x000000fff0131c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #76 0x000000fff0131c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #77 0x000000fff043f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #78 0x000000fff043f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #79 0x000000fff043f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #80 0x000000fff043f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #81 0x000000fff043f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #82 0x000000fff0440224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #83 0x000000fff0440224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #84 0x000000fff0440224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #85 0x000000fff0444604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #86 0x000000fff0444604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #87 0x000000fff0444604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #88 0x000000fff0444604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #89 0x000000fff0444604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #90 0x000000ffee686978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #91 0x000000ffee686978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #92 0x000000ffee686978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #93 0x000000ffee686978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #94 0x000000ffefeffb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #95 0x000000ffefebb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #96 0x000000ffefebb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #97 0x000000ffefebb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #98 0x000000ffeff4f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #99 0x000000aaadefdc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #100 0x000000aaadf01b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #101 0x000000aaadf03234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #102 0x000000aaadefa034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #103 0x000000ffe6c788c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #104 0x000000ffe6c789cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #105 0x000000aaadefa0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/iterator-range.cpp.script: line 2: 3900900 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/temp-dtors-path-notes.cpp (851 of 19712) ******************** TEST 'Clang :: Analysis/inlining/temp-dtors-path-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe989ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe989cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe989f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe5c8648 (linux-vdso.so.1+0x648) #4 0x000000fff1f53f68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff1f53f68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff1f53f68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff1f53f68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff1f53f68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff1f53f68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff1f53f68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff1f53f68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000fff1f5bd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x000000fff1f5bd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x000000fff1f5bd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x000000fff1f5bd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x000000fff1f5bd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x000000fff1f5bd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x000000fff1f5bd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x000000fff1f5bd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x000000fff1f5bd94 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 0x000000fff1f5d65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff1f5d780 clang::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 0x000000fff1f5da58 clang::ento::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 0x000000fff1f5dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x000000fff1f5dc70 clang::ento::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 0x000000fff226b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff226b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff226b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x000000fff226b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x000000fff226b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x000000fff226c224 llvm::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 0x000000fff226c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x000000fff226c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x000000fff2270604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x000000fff2270604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x000000fff2270604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x000000fff2270604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x000000fff2270604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x000000fff04b2978 __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 0x000000fff04b2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x000000fff04b2978 void clang::finalize>, 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 0x000000fff04b2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x000000fff1d2bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x000000fff1ce7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x000000fff1ce7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x000000fff1ce7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x000000fff1d7b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000000aaab29dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000000aaab2a1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000000aaab2a3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000000aaab29a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x000000ffe8aa48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #53 0x000000ffe8aa49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #54 0x000000aaab29a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/temp-dtors-path-notes.cpp.script: line 1: 3900751 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/issue-55019.cpp (852 of 19712) ******************** TEST 'Clang :: Analysis/issue-55019.cpp' FAILED ******************** Script: -- : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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 0x000000ffe88cebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe88ccc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe88cf3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc234648 (linux-vdso.so.1+0x648) #4 0x000000fff0f87664 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff0f87664 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff0f87664 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff0f87664 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff0f87664 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff0f87664 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff0f87664 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff0f87664 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 0x000000fff0f8808c 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 0x000000fff0f8da18 clang::ento::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 0x000000fff0f8dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x000000fff0f8dc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x000000fff129b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x000000fff129b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x000000fff129b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x000000fff129b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x000000fff129b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x000000fff129c224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x000000fff129c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x000000fff129c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x000000fff12a0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x000000fff12a0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x000000fff12a0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x000000fff12a0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x000000fff12a0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x000000ffef4e2978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x000000ffef4e2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x000000ffef4e2978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x000000ffef4e2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x000000fff0d5bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x000000fff0d17354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x000000fff0d17354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x000000fff0d17354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x000000fff0dab9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000000aaad5e1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000000aaad5e5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000000aaad5e7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000000aaad5de034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x000000ffe7ad48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #43 0x000000ffe7ad49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #44 0x000000aaad5de0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/issue-55019.cpp.script: line 1: 3900875 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/iterator-modeling.cpp (854 of 19712) ******************** TEST 'Clang :: Analysis/iterator-modeling.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7d66bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7d64c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7d673d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff52c648 (linux-vdso.so.1+0x648) #4 0x000000fff0442244 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff0442244 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff0442244 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff0442244 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x000000fff0442244 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x000000fff0442244 Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:27 #10 0x000000fff0442244 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:89 #11 0x000000fff0442244 llvm::IntrusiveRefCntPtr clang::ento::ProgramState::set<(anonymous namespace)::ObjectsUnderConstruction>(clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:63 #12 0x000000fff041a10c 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:600:0 #13 0x000000fff044936c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #14 0x000000fff044936c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #15 0x000000fff044936c clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:463:62 #16 0x000000fff0465bd0 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x000000fff0465bd0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x000000fff0465bd0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x000000fff0465bd0 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 #20 0x000000fff0465bd0 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 #21 0x000000fff0467dfc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:206:0 #22 0x000000fff0467dfc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #23 0x000000fff0467dfc 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 #24 0x000000fff04688f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #25 0x000000fff04688f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #26 0x000000fff04688f4 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 #27 0x000000fff0401670 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:706:0 #28 0x000000fff044a440 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #29 0x000000fff044a440 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #30 0x000000fff044a440 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #31 0x000000fff044a440 clang::ento::ExprEngine::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 #32 0x000000fff044ae4c clang::ento::ExprEngine::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 #33 0x000000fff0422d1c clang::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 0x000000fff0422d1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #35 0x000000fff0423e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #36 0x000000fff042565c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #37 0x000000fff042587c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #38 0x000000fff0425c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #39 0x000000fff0425c70 clang::ento::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 0x000000fff073303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #41 0x000000fff073303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #42 0x000000fff073303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #43 0x000000fff073303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #44 0x000000fff073303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #45 0x000000fff0734224 llvm::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 0x000000fff0734224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x000000fff0734224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #48 0x000000fff0738604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x000000fff0738604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x000000fff0738604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x000000fff0738604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x000000fff0738604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x000000ffee97a978 __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 0x000000ffee97a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x000000ffee97a978 void clang::finalize>, 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 0x000000ffee97a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x000000fff01f3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #58 0x000000fff01af354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #59 0x000000fff01af354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #60 0x000000fff01af354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #61 0x000000fff02439a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #62 0x000000aaac5f9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x000000aaac5fdb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x000000aaac5ff234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x000000aaac5f6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x000000ffe6f6c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #67 0x000000ffe6f6c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #68 0x000000aaac5f60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/iterator-modeling.cpp.script: line 6: 3900896 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-modeling.cpp -verify -analyzer-config display-checker-name=false -- ******************** Testing: 0 FAIL: Clang :: Analysis/ivars.m (855 of 19712) ******************** TEST 'Clang :: Analysis/ivars.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea352bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea350c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea3533d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe1fc648 (linux-vdso.so.1+0x648) #4 0x000000fff2e05388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2e05388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2e05388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2e05388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2e05388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2e05388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2e05388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2e05388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff2a7c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff2a7c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff2a7c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff2a7c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff2a7c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff2a7c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff2a7c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff2a7c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff2a7fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff2a7fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff2a7fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff2a7fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff2a73430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff2a73430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff2a73430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff2a813b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff2a813b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff2a813b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff2a73d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff2a73d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff2a73d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff2a8c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff2a8c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff2a8c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff2a931d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff2a931d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff2a931d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff29ee138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff29ee138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff29ee138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff29ee138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff2f44114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff2f44114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff2f44114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff29ff190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff29ff190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff29ff190 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:0 #49 0x000000fff29ff190 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:0 #50 0x000000fff29ff190 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:0 #51 0x000000fff29ff190 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:0 #52 0x000000fff29ff190 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:0 #53 0x000000fff29ff190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff29ff190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff29ff190 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:0 #56 0x000000fff29ff7ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff2a11c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff2a11c70 clang::ento::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 0x000000fff2d1f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff2d1f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff2d1f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff2d1f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff2d1f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff2d20224 llvm::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 0x000000fff2d20224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff2d20224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff2d24604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff2d24604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff2d24604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff2d24604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff2d24604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000fff0f66978 __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 0x000000fff0f66978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000fff0f66978 void clang::finalize>, 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 0x000000fff0f66978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff27dfb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff279b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff279b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff279b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff282f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaae3c9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaae3cdb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaae3cf234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaae3c6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe95588c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe95589cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaae3c60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ivars.m.script: line 1: 3900914 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/keychainAPI-diagnostic-visitor.m (856 of 19712) ******************** TEST 'Clang :: Analysis/keychainAPI-diagnostic-visitor.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe711abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7118c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe711b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff3a0648 (linux-vdso.so.1+0x648) #4 0x000000ffef995700 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef995700 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef995700 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef995700 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef995700 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef995700 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef995700 get<(anonymous namespace)::AllocatedData> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef995700 (anonymous namespace)::MacOSKeychainAPIChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp:545:0 #12 0x000000ffef79e8e8 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x000000ffef7d01b4 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x000000ffef7d01b4 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x000000ffef7d01b4 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #16 0x000000ffef7d01b4 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #17 0x000000ffef7d01b4 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #18 0x000000ffef7d01b4 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #19 0x000000ffef7d01b4 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #20 0x000000ffef7d7d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x000000ffef7d7d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x000000ffef7d7d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x000000ffef7d7d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x000000ffef7d7d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x000000ffef7d7d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x000000ffef7d7d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x000000ffef7d7d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x000000ffef7d7d94 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 0x000000ffef7d965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef7d987c clang::ento::CoreEngine::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 0x000000ffef7d9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #32 0x000000ffef7d9c70 clang::ento::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 0x000000ffefae703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x000000ffefae703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x000000ffefae703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #36 0x000000ffefae703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #37 0x000000ffefae703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #38 0x000000ffefae8224 llvm::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 0x000000ffefae8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #40 0x000000ffefae8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #41 0x000000ffefaec604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x000000ffefaec604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x000000ffefaec604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #44 0x000000ffefaec604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #45 0x000000ffefaec604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #46 0x000000ffedd2e978 __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 0x000000ffedd2e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #48 0x000000ffedd2e978 void clang::finalize>, 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 0x000000ffedd2e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #50 0x000000ffef5a7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #51 0x000000ffef563354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #52 0x000000ffef563354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #53 0x000000ffef563354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #54 0x000000ffef5f79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #55 0x000000aaad1d9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #56 0x000000aaad1ddb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #57 0x000000aaad1df234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #58 0x000000aaad1d6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #59 0x000000ffe63208c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #60 0x000000ffe63209cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #61 0x000000aaad1d60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/keychainAPI-diagnostic-visitor.m.script: line 1: 3901683 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (859 of 19712) ******************** TEST 'Clang :: Analysis/keychainAPI.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe95b6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe95b4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe95b73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd9f4648 (linux-vdso.so.1+0x648) #4 0x000000fff1e31700 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1e31700 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1e31700 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1e31700 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1e31700 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1e31700 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1e31700 get<(anonymous namespace)::AllocatedData> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1e31700 (anonymous namespace)::MacOSKeychainAPIChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp:545:0 #12 0x000000fff1c3a8e8 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x000000fff1c6c1b4 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x000000fff1c6c1b4 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x000000fff1c6c1b4 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #16 0x000000fff1c6c1b4 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #17 0x000000fff1c6c1b4 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #18 0x000000fff1c6c1b4 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #19 0x000000fff1c6c1b4 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #20 0x000000fff1c73d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x000000fff1c73d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x000000fff1c73d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x000000fff1c73d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x000000fff1c73d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x000000fff1c73d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x000000fff1c73d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x000000fff1c73d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x000000fff1c73d94 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 0x000000fff1c7565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff1c7587c clang::ento::CoreEngine::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 0x000000fff1c75c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #32 0x000000fff1c75c70 clang::ento::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 0x000000fff1f8303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x000000fff1f8303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x000000fff1f8303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #36 0x000000fff1f8303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #37 0x000000fff1f8303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #38 0x000000fff1f84224 llvm::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 0x000000fff1f84224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #40 0x000000fff1f84224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #41 0x000000fff1f88604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x000000fff1f88604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x000000fff1f88604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #44 0x000000fff1f88604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #45 0x000000fff1f88604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #46 0x000000fff01ca978 __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 0x000000fff01ca978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #48 0x000000fff01ca978 void clang::finalize>, 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 0x000000fff01ca978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #50 0x000000fff1a43b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #51 0x000000fff19ff354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #52 0x000000fff19ff354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #53 0x000000fff19ff354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #54 0x000000fff1a939a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #55 0x000000aaad3ddc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #56 0x000000aaad3e1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #57 0x000000aaad3e3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #58 0x000000aaad3da034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #59 0x000000ffe87bc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #60 0x000000ffe87bc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #61 0x000000aaad3da0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/keychainAPI.m.script: line 1: 3901698 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.SecKeychainAPI -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/keychainAPI.m -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/lambdas-modern.cpp (860 of 19712) ******************** TEST 'Clang :: Analysis/lambdas-modern.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7086bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7084c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe70873d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff6f0648 (linux-vdso.so.1+0x648) #4 0x000000ffef762244 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000ffef762244 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffef762244 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffef762244 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x000000ffef762244 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x000000ffef762244 Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:27 #10 0x000000ffef762244 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:89 #11 0x000000ffef762244 llvm::IntrusiveRefCntPtr clang::ento::ProgramState::set<(anonymous namespace)::ObjectsUnderConstruction>(clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:63 #12 0x000000ffef73a10c 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:600:0 #13 0x000000ffef76936c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #14 0x000000ffef76936c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #15 0x000000ffef76936c clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:463:62 #16 0x000000ffef768f50 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #17 0x000000ffef768f50 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #18 0x000000ffef768f50 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:451:50 #19 0x000000ffef769300 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #20 0x000000ffef769300 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #21 0x000000ffef769300 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:459:64 #22 0x000000ffef785bd0 llvm::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 0x000000ffef785bd0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #24 0x000000ffef785bd0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x000000ffef785bd0 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 0x000000ffef785bd0 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 #27 0x000000ffef787dfc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:206:0 #28 0x000000ffef787dfc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #29 0x000000ffef787dfc 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 #30 0x000000ffef7888f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x000000ffef7888f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x000000ffef7888f4 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 0x000000ffef721670 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:706:0 #34 0x000000ffef76a440 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #35 0x000000ffef76a440 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #36 0x000000ffef76a440 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #37 0x000000ffef76a440 clang::ento::ExprEngine::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 0x000000ffef76ae4c clang::ento::ExprEngine::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 0x000000ffef742d1c clang::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 0x000000ffef742d1c clang::ento::ExprEngine::Visit(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 0x000000ffef743e0c clang::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 0x000000ffef74565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef74587c clang::ento::CoreEngine::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 0x000000ffef745c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #45 0x000000ffef745c70 clang::ento::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 0x000000ffefa5303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000ffefa5303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000ffefa5303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #49 0x000000ffefa5303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #50 0x000000ffefa5303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #51 0x000000ffefa54224 llvm::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 0x000000ffefa54224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #53 0x000000ffefa54224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #54 0x000000ffefa58604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x000000ffefa58604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x000000ffefa58604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #57 0x000000ffefa58604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #58 0x000000ffefa58604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #59 0x000000ffedc9a978 __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 0x000000ffedc9a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #61 0x000000ffedc9a978 void clang::finalize>, 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 0x000000ffedc9a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #63 0x000000ffef513b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #64 0x000000ffef4cf354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #65 0x000000ffef4cf354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #66 0x000000ffef4cf354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #67 0x000000ffef5639a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #68 0x000000aaab185c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #69 0x000000aaab189b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #70 0x000000aaab18b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #71 0x000000aaab182034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #72 0x000000ffe628c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #73 0x000000ffe628c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #74 0x000000aaab1820a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/lambdas-modern.cpp.script: line 2: 3901783 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,debug.ExprInspection -analyzer-config inline-lambdas=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas-modern.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/lambdas-generalized-capture.cpp (864 of 19712) ******************** TEST 'Clang :: Analysis/lambdas-generalized-capture.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe73aebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe73acc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe73af3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc180648 (linux-vdso.so.1+0x648) #4 0x000000ffefe61388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffefe61388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffefe61388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffefe61388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffefe61388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffefe61388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffefe61388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffefe61388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffefad83a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffefad83a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffefad83a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffefad83a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffefad83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffefad83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffefad83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffefad83a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffefadbaec llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffefadbaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffefadbaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffefadbaec (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:31 #24 0x000000ffefada65c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffefada65c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffefada65c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000ffefadd444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffefadd444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffefadd444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000ffefacfd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffefacfd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffefacfd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffefae83b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffefae83b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffefae83b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffefaef1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffefaef1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffefaef1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffefa4a0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffefa4a0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffefa4a0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffefa4a0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000ffeffa0114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000ffeffa0114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000ffeffa0114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000ffefa5b190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000ffefa5b190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000ffefa5b190 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:0 #49 0x000000ffefa5b190 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:0 #50 0x000000ffefa5b190 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:0 #51 0x000000ffefa5b190 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:0 #52 0x000000ffefa5b190 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:0 #53 0x000000ffefa5b190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000ffefa5b190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000ffefa5b190 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:0 #56 0x000000ffefa5b7ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000ffefa6dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000ffefa6dc70 clang::ento::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 0x000000ffefd7b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000ffefd7b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000ffefd7b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000ffefd7b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000ffefd7b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000ffefd7c224 llvm::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 0x000000ffefd7c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000ffefd7c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000ffefd80604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000ffefd80604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000ffefd80604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000ffefd80604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000ffefd80604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffedfc2978 __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 0x000000ffedfc2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffedfc2978 void clang::finalize>, 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 0x000000ffedfc2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000ffef83bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000ffef7f7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000ffef7f7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000ffef7f7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000ffef88b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaad0ddc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaad0e1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaad0e3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaad0da034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe65b48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe65b49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaad0da0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/lambdas-generalized-capture.cpp.script: line 1: 3901782 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/lifetime-extended-regions.cpp (865 of 19712) ******************** TEST 'Clang :: Analysis/lifetime-extended-regions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe890abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8908c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe890b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc5fc648 (linux-vdso.so.1+0x648) #4 0x000000fff13bd388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff13bd388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff13bd388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff13bd388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff13bd388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff13bd388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff13bd388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff13bd388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff10343a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff10343a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff10343a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff10343a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff10343a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff10343a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff10343a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff10343a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1037aec llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1037aec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1037aec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1037aec (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:31 #24 0x000000fff103665c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff103665c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff103665c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000fff1039444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff1039444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff1039444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000fff102bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff102bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff102bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff10443b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff10443b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff10443b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff104b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff104b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff104b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0fa60e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0fa60e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0fa60e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0fa60e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff14fc114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff14fc114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff14fc114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff0fb7190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff0fb7190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff0fb7190 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:0 #49 0x000000fff0fb7190 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:0 #50 0x000000fff0fb7190 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:0 #51 0x000000fff0fb7190 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:0 #52 0x000000fff0fb7190 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:0 #53 0x000000fff0fb7190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff0fb7190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff0fb7190 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:0 #56 0x000000fff0fb77ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff0fc9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff0fc9c70 clang::ento::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 0x000000fff12d703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff12d703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff12d703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff12d703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff12d703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff12d8224 llvm::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 0x000000fff12d8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff12d8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff12dc604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff12dc604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff12dc604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff12dc604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff12dc604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffef51e978 __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 0x000000ffef51e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffef51e978 void clang::finalize>, 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 0x000000ffef51e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff0d97b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff0d53354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff0d53354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff0d53354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff0de79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaaaf35c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaaaf39b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaaaf3b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaaaf32034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe7b108c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe7b109cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaaaf320a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/lifetime-extended-regions.cpp.script: line 3: 3901810 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=debug.ExprInspection -Wno-dangling -Wno-c++1z-extensions -verify=expected,cpp14 -x c++ -std=c++14 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extended-regions.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/lifetime-extension.cpp (867 of 19712) ******************** TEST 'Clang :: Analysis/lifetime-extension.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe911ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe911cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe911f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff2fc648 (linux-vdso.so.1+0x648) #4 0x000000fff17d3f68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff17d3f68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff17d3f68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff17d3f68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff17d3f68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff17d3f68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff17d3f68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff17d3f68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000fff17dbd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x000000fff17dbd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x000000fff17dbd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x000000fff17dbd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x000000fff17dbd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x000000fff17dbd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x000000fff17dbd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x000000fff17dbd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x000000fff17dbd94 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 0x000000fff17dd65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff17dd780 clang::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 0x000000fff17dda58 clang::ento::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 0x000000fff17ddc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x000000fff17ddc70 clang::ento::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 0x000000fff1aeb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff1aeb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff1aeb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x000000fff1aeb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x000000fff1aeb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x000000fff1aec224 llvm::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 0x000000fff1aec224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x000000fff1aec224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x000000fff1af0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x000000fff1af0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x000000fff1af0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x000000fff1af0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x000000fff1af0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x000000ffefd32978 __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 0x000000ffefd32978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x000000ffefd32978 void clang::finalize>, 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 0x000000ffefd32978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x000000fff15abb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x000000fff1567354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x000000fff1567354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x000000fff1567354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x000000fff15fb9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000000aaab24dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000000aaab251b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000000aaab253234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000000aaab24a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x000000ffe83248c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #53 0x000000ffe83249cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #54 0x000000aaab24a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/lifetime-extension.cpp.script: line 6: 3901818 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/lambdas.cpp (868 of 19712) ******************** TEST 'Clang :: Analysis/lambdas.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,deadcode,debug.ExprInspection -analyzer-config inline-lambdas=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling invalidate_static_on_unknown_lambda()::(anonymous class)::operator()() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas.cpp:374:5: Error evaluating statement #0 0x000000ffea29ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea29cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea29f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe744648 (linux-vdso.so.1+0x648) #4 0x000000fff29ec9e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff29ec9e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff29ec9e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff29ec9e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000fff29ec9e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000fff29ec9e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000fff2954278 llvm::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 0x000000fff2954278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000fff2954278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000fff2954278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000fff295bd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #15 0x000000fff295bd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #16 0x000000fff295bd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #17 0x000000fff295bd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #18 0x000000fff295bd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #19 0x000000fff295bd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #20 0x000000fff295bd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #21 0x000000fff295bd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #22 0x000000fff295bd94 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 #23 0x000000fff295d65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff295d780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #25 0x000000fff295da58 clang::ento::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 #26 0x000000fff295dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000fff295dc70 clang::ento::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 0x000000fff2c6b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000fff2c6b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000fff2c6b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000fff2c6b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000fff2c6b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000fff2c6c224 llvm::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 0x000000fff2c6c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000fff2c6c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000fff2c70604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000fff2c70604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000fff2c70604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000fff2c70604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000fff2c70604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000fff0eb2978 __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 0x000000fff0eb2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x000000fff0eb2978 void clang::finalize>, 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 0x000000fff0eb2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x000000fff272bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x000000fff26e7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x000000fff26e7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x000000fff26e7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x000000fff277b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #50 0x000000aaab7e9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x000000aaab7edb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x000000aaab7ef234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x000000aaab7e6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x000000ffe94a48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #55 0x000000ffe94a49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #56 0x000000aaab7e60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/lambdas.cpp.script: line 4: 3901791 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,deadcode,debug.ExprInspection -analyzer-config inline-lambdas=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/left-shift-cxx2a.cpp (869 of 19712) ******************** TEST 'Clang :: Analysis/left-shift-cxx2a.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9bd6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9bd4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9bd73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe118648 (linux-vdso.so.1+0x648) #4 0x000000fff2689388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2689388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2689388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2689388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2689388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2689388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2689388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2689388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff23003a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff23003a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff23003a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff23003a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff23003a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff23003a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff23003a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff23003a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff2303dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff2303dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff2303dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff2303dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff22f7430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff22f7430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff22f7430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff23053b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff23053b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff23053b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff22f7d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff22f7d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff22f7d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff23103b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff23103b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff23103b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff23171d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff23171d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff23171d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff22720e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff22720e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff22720e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff22720e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff2287e4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff2287e4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff2287e4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000fff2287e4c 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:0 #47 0x000000fff2293b90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000fff2293b90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000fff2293b90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000fff2293b90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000fff2293b90 clang::ento::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 #52 0x000000fff2293e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000fff229565c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000fff229587c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000fff2295c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000fff2295c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000fff25a303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff25a303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff25a303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000fff25a303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000fff25a303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000fff25a4224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000fff25a4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000fff25a4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000fff25a8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000fff25a8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000fff25a8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000fff25a8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000fff25a8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000fff07ea978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000fff07ea978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000fff07ea978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000fff07ea978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000fff2063b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000fff201f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000fff201f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000fff201f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000fff20b39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaaad11c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaaad15b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaaad17234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaaad0e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe8ddc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe8ddc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaaad0e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/left-shift-cxx2a.cpp.script: line 2: 3901798 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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.mm (870 of 19712) ******************** TEST 'Clang :: Analysis/lambdas.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 #0 0x000000ffe6da2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6da0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6da33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffecf8648 (linux-vdso.so.1+0x648) #4 0x000000ffef855388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef855388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef855388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef855388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef855388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef855388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef855388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef855388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef4cc3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef4cc3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef4cc3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef4cc3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef4cc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef4cc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef4cc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef4cc3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef4cfdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef4cfdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef4cfdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef4cfdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef4c3430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef4c3430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef4c3430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef4d13b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef4d13b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef4d13b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef4c3d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef4c3d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef4c3d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef4dc3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef4dc3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef4dc3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef4e31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef4e31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef4e31d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef43e138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef43e138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef43e138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef43e138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffef43e688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffef43e688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffef43e688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000ffef406b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000ffef406b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000ffef406b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000ffef452674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000ffef452674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000ffef452674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000ffef462010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000ffef462010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000ffef462010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000ffef76f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000ffef76f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000ffef76f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000ffef76f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000ffef76f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000ffef770224 llvm::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 0x000000ffef770224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000ffef770224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000ffef774604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000ffef774604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000ffef774604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000ffef774604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000ffef774604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffed9b6978 __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 0x000000ffed9b6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffed9b6978 void clang::finalize>, 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 0x000000ffed9b6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000ffef22fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000ffef1eb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000ffef1eb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000ffef1eb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000ffef27f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaacf15c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaacf19b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaacf1b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaacf12034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe5fa88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe5fa89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaacf120a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/lambdas.mm.script: line 1: 3901799 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/lifetime-extension.mm (871 of 19712) ******************** TEST 'Clang :: Analysis/lifetime-extension.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6f12bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6f10c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6f133d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd248648 (linux-vdso.so.1+0x648) #4 0x000000ffef5c7f68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000ffef5c7f68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffef5c7f68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffef5c7f68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffef5c7f68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffef5c7f68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000ffef5c7f68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000ffef5c7f68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000ffef5cfd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x000000ffef5cfd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x000000ffef5cfd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x000000ffef5cfd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x000000ffef5cfd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x000000ffef5cfd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x000000ffef5cfd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x000000ffef5cfd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x000000ffef5cfd94 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 0x000000ffef5d165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef5d1780 clang::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 0x000000ffef5d1a58 clang::ento::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 0x000000ffef5d1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x000000ffef5d1c70 clang::ento::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 0x000000ffef8df03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000ffef8df03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000ffef8df03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x000000ffef8df03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x000000ffef8df03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x000000ffef8e0224 llvm::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 0x000000ffef8e0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x000000ffef8e0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x000000ffef8e4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x000000ffef8e4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x000000ffef8e4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x000000ffef8e4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x000000ffef8e4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x000000ffedb26978 __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 0x000000ffedb26978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x000000ffedb26978 void clang::finalize>, 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 0x000000ffedb26978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x000000ffef39fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x000000ffef35b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x000000ffef35b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x000000ffef35b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x000000ffef3ef9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000000aaacd7dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000000aaacd81b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000000aaacd83234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000000aaacd7a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x000000ffe61188c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #53 0x000000ffe61189cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #54 0x000000aaacd7a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/lifetime-extension.mm.script: line 4: 3902153 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/kmalloc-linux.c (872 of 19712) ******************** TEST 'Clang :: Analysis/kmalloc-linux.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7c72bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7c70c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7c733d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffe38648 (linux-vdso.so.1+0x648) #4 0x000000fff0725388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0725388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0725388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0725388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0725388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0725388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0725388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0725388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff039c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff039c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff039c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff039c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff039c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff039c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff039c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff039c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff039fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff039fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff039fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff039fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff039e65c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff039e65c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff039e65c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000fff0393d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0393d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0393d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #30 0x000000fff03ac3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #31 0x000000fff03ac3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #32 0x000000fff03ac3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #33 0x000000fff03b31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x000000fff03b31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x000000fff03b31d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #36 0x000000fff030e138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff030e138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff030e138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #39 0x000000fff030e138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #40 0x000000fff0864114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x000000fff0864114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x000000fff0864114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #43 0x000000fff04f3b38 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #44 0x000000fff04f3b38 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #45 0x000000fff04f3b38 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #46 0x000000fff04f3b38 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #47 0x000000fff04f3b38 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #48 0x000000fff04f3b38 performKernelMalloc /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1189:0 #49 0x000000fff04f3b38 (anonymous namespace)::MallocChecker::checkKernelMalloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1225:0 #50 0x000000fff0501610 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #51 0x000000fff0501610 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #52 0x000000fff0304df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #53 0x000000fff0304df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #54 0x000000fff0304df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #55 0x000000fff0304df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #56 0x000000fff0304df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #57 0x000000fff0356500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #58 0x000000fff0356500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #59 0x000000fff0356500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #60 0x000000fff0356500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #61 0x000000fff0356e4c clang::ento::ExprEngine::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 0x000000fff032ed1c clang::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 0x000000fff032ed1c clang::ento::ExprEngine::Visit(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 0x000000fff032fe0c clang::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 0x000000fff033165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff033187c clang::ento::CoreEngine::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 0x000000fff0331c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #68 0x000000fff0331c70 clang::ento::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 0x000000fff063f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #70 0x000000fff063f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #71 0x000000fff063f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #72 0x000000fff063f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #73 0x000000fff063f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #74 0x000000fff0640224 llvm::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 0x000000fff0640224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #76 0x000000fff0640224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #77 0x000000fff0644604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #78 0x000000fff0644604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #79 0x000000fff0644604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #80 0x000000fff0644604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #81 0x000000fff0644604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #82 0x000000ffee886978 __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 0x000000ffee886978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #84 0x000000ffee886978 void clang::finalize>, 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 0x000000ffee886978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #86 0x000000fff00ffb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #87 0x000000fff00bb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #88 0x000000fff00bb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #89 0x000000fff00bb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #90 0x000000fff014f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #91 0x000000aaae961c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #92 0x000000aaae965b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #93 0x000000aaae967234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #94 0x000000aaae95e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #95 0x000000ffe6e788c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #96 0x000000ffe6e789cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #97 0x000000aaae95e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/kmalloc-linux.c.script: line 1: 3901769 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/live-bindings-test.cpp (873 of 19712) ******************** TEST 'Clang :: Analysis/live-bindings-test.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe95aebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe95acc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe95af3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcb4c648 (linux-vdso.so.1+0x648) #4 0x000000fff1c63f68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff1c63f68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff1c63f68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff1c63f68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff1c63f68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff1c63f68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff1c63f68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff1c63f68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000fff1c6bd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x000000fff1c6bd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x000000fff1c6bd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x000000fff1c6bd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x000000fff1c6bd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x000000fff1c6bd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x000000fff1c6bd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x000000fff1c6bd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x000000fff1c6bd94 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 0x000000fff1c6d65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff1c6d87c clang::ento::CoreEngine::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 0x000000fff1c6dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #24 0x000000fff1c6dc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #25 0x000000fff1f7b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x000000fff1f7b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x000000fff1f7b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #28 0x000000fff1f7b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #29 0x000000fff1f7b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #30 0x000000fff1f7c224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #31 0x000000fff1f7c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #32 0x000000fff1f7c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #33 0x000000fff1f80604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #34 0x000000fff1f80604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #35 0x000000fff1f80604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #36 0x000000fff1f80604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #37 0x000000fff1f80604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #38 0x000000fff01c2978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #39 0x000000fff01c2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #40 0x000000fff01c2978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #41 0x000000fff01c2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #42 0x000000fff1a3bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #43 0x000000fff19f7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #44 0x000000fff19f7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #45 0x000000fff19f7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #46 0x000000fff1a8b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #47 0x000000aaadeddc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #48 0x000000aaadee1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #49 0x000000aaadee3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #50 0x000000aaadeda034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #51 0x000000ffe87b48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #52 0x000000ffe87b49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #53 0x000000aaadeda0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/live-bindings-test.cpp.script: line 1: 3902683 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/live-variables.m (875 of 19712) ******************** TEST 'Clang :: Analysis/live-variables.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea662bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea660c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea6633d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff100648 (linux-vdso.so.1+0x648) #4 0x000000fff3115388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff3115388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff3115388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff3115388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff3115388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff3115388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff3115388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff3115388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff2d8c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff2d8c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff2d8c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff2d8c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff2d8c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff2d8c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff2d8c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff2d8c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff2d8fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff2d8fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff2d8fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff2d8fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff2d83430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff2d83430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff2d83430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff2d913b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff2d913b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff2d913b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff2d83d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff2d83d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff2d83d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff2d9c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff2d9c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff2d9c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff2da31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff2da31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff2da31d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff2cfe138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff2cfe138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff2cfe138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff2cfe138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff2d13e4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff2d13e4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff2d13e4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000fff2d13e4c 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:0 #47 0x000000fff2d1fb90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000fff2d1fb90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000fff2d1fb90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000fff2d1fb90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000fff2d1fb90 clang::ento::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 #52 0x000000fff2d1fe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000fff2d2165c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000fff2d2187c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000fff2d21c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000fff2d21c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000fff302f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff302f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff302f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000fff302f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000fff302f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000fff3030224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000fff3030224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000fff3030224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000fff3034604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000fff3034604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000fff3034604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000fff3034604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000fff3034604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000fff1276978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000fff1276978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000fff1276978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000fff1276978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000fff2aefb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000fff2aab354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000fff2aab354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000fff2aab354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000fff2b3f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaaabf1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaaabf5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaaabf7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaaabee034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe98688c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe98689cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaaabee0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/live-variables.m.script: line 1: 3902714 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (876 of 19712) ******************** TEST 'Clang :: Analysis/localization-aggressive.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -fblocks -x objective-c-header -emit-pch -o /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe9fc2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9fc0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9fc33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffe0c648 (linux-vdso.so.1+0x648) #4 0x000000fff2a75388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2a75388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2a75388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2a75388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2a75388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2a75388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2a75388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2a75388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff26ec3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff26ec3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff26ec3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff26ec3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff26ec3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff26ec3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff26ec3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff26ec3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff26efdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff26efdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff26efdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff26efdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff26e3430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff26e3430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff26e3430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff26f13b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff26f13b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff26f13b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff26e3d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff26e3d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff26e3d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff26fc3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff26fc3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff26fc3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff27031d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff27031d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff27031d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff265e138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff265e138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff265e138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff265e138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff265e688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff265e688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff265e688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff2626b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff2626b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff2626b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff26726c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff26726c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff26726c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000fff2682010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff2682010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff2682010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff298f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff298f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff298f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff298f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff298f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff2990224 llvm::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 0x000000fff2990224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff2990224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff2994604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff2994604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff2994604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff2994604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff2994604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000fff0bd6978 __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 0x000000fff0bd6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000fff0bd6978 void clang::finalize>, 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 0x000000fff0bd6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff244fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff240b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff240b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff240b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff249f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaae7b1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaae7b5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaae7b7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaae7ae034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe91c88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe91c89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaae7ae0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/localization-aggressive.m.script: line 2: 3902732 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/live-variables.cpp (877 of 19712) ******************** TEST 'Clang :: Analysis/live-variables.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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 0x000000ffe6886bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6884c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe68873d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc708648 (linux-vdso.so.1+0x648) #4 0x000000ffef339388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef339388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef339388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef339388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef339388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef339388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef339388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef339388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffeefb03a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffeefb03a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffeefb03a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffeefb03a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffeefb03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffeefb03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffeefb03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffeefb03a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffeefb3dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffeefb3dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffeefb3dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffeefb3dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffeefa7430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffeefa7430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffeefa7430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffeefb53b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffeefb53b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffeefb53b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffeefa7d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffeefa7d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffeefa7d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffeefc03b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffeefc03b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffeefc03b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffeefc71d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffeefc71d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffeefc71d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffeef22138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffeef22138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffeef22138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffeef22138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffeef37e4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffeef37e4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffeef37e4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000ffeef37e4c 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:0 #47 0x000000ffeef43b90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000ffeef43b90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000ffeef43b90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000ffeef43b90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000ffeef43b90 clang::ento::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 #52 0x000000ffeef43e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000ffeef4565c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000ffeef4587c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000ffeef45c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000ffeef45c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000ffef25303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000ffef25303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000ffef25303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000ffef25303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000ffef25303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000ffef254224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000ffef254224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000ffef254224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000ffef258604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000ffef258604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000ffef258604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000ffef258604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000ffef258604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000ffed49a978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000ffed49a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000ffed49a978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000ffed49a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000ffeed13b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000ffeeccf354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000ffeeccf354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000ffeeccf354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000ffeed639a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaae83dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaae841b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaae843234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaae83a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe5a8c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe5a8c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaae83a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/live-variables.cpp.script: line 1: 3902709 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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/localization.m (878 of 19712) ******************** TEST 'Clang :: Analysis/localization.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6b4ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6b4cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6b4f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffde80648 (linux-vdso.so.1+0x648) #4 0x000000ffef601388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef601388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef601388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef601388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef601388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef601388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef601388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef601388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef2783a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef2783a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef2783a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef2783a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef2783a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef2783a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef2783a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef2783a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef27bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef27bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef27bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef27bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef26f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef26f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef26f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef27d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef27d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef27d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef26fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef26fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef26fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef2883b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef2883b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef2883b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef28f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef28f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef28f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef1ea138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef1ea138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef1ea138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef1ea138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffef1ea688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffef1ea688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffef1ea688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000ffef1b2b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000ffef1b2b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000ffef1b2b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000ffef1fe6c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000ffef1fe6c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000ffef1fe6c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000ffef20e010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000ffef20e010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000ffef20e010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000ffef51b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000ffef51b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000ffef51b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000ffef51b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000ffef51b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000ffef51c224 llvm::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 0x000000ffef51c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000ffef51c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000ffef520604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000ffef520604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000ffef520604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000ffef520604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000ffef520604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffed762978 __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 0x000000ffed762978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffed762978 void clang::finalize>, 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 0x000000ffed762978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000ffeefdbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000ffeef97354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000ffeef97354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000ffeef97354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000ffef02b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaad741c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaad745b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaad747234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaad73e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe5d548c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe5d549cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaad73e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/localization.m.script: line 1: 3902734 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/llvm-conventions.cpp (879 of 19712) ******************** TEST 'Clang :: Analysis/llvm-conventions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8406bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8404c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe84073d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe078648 (linux-vdso.so.1+0x648) #4 0x000000fff0ae2244 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff0ae2244 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff0ae2244 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff0ae2244 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x000000fff0ae2244 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x000000fff0ae2244 Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:27 #10 0x000000fff0ae2244 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:89 #11 0x000000fff0ae2244 llvm::IntrusiveRefCntPtr clang::ento::ProgramState::set<(anonymous namespace)::ObjectsUnderConstruction>(clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:63 #12 0x000000fff0aba10c 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:600:0 #13 0x000000fff0ae90f0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #14 0x000000fff0ae90f0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #15 0x000000fff0ae90f0 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:486:63 #16 0x000000fff0ae8f50 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #17 0x000000fff0ae8f50 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #18 0x000000fff0ae8f50 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:451:50 #19 0x000000fff0ae9300 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #20 0x000000fff0ae9300 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #21 0x000000fff0ae9300 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:459:64 #22 0x000000fff0b077a4 llvm::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 0x000000fff0b077a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #24 0x000000fff0b077a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x000000fff0b077a4 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 0x000000fff0b077a4 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 0x000000fff0ac2cdc clang::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 0x000000fff0ac2cdc clang::ento::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 0x000000fff0ac3e0c clang::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 0x000000fff0ac565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff0ac587c clang::ento::CoreEngine::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 0x000000fff0ac5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #33 0x000000fff0ac5c70 clang::ento::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 0x000000fff0dd303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #35 0x000000fff0dd303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #36 0x000000fff0dd303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #37 0x000000fff0dd303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #38 0x000000fff0dd303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #39 0x000000fff0dd4224 llvm::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 0x000000fff0dd4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x000000fff0dd4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #42 0x000000fff0dd8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x000000fff0dd8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x000000fff0dd8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x000000fff0dd8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x000000fff0dd8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x000000ffef01a978 __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 0x000000ffef01a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #49 0x000000ffef01a978 void clang::finalize>, 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 0x000000ffef01a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #51 0x000000fff0893b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #52 0x000000fff084f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #53 0x000000fff084f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #54 0x000000fff084f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #55 0x000000fff08e39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #56 0x000000aaadc95c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #57 0x000000aaadc99b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #58 0x000000aaadc9b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #59 0x000000aaadc92034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #60 0x000000ffe760c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #61 0x000000ffe760c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #62 0x000000aaadc920a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/llvm-conventions.cpp.script: line 1: 3902725 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/logical-ops.c (880 of 19712) ******************** TEST 'Clang :: Analysis/logical-ops.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9122bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9120c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe91233d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffce9c648 (linux-vdso.so.1+0x648) #4 0x000000fff18709e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff18709e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff18709e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff18709e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000fff18709e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000fff18709e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000fff17d8278 llvm::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 0x000000fff17d8278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000fff17d8278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000fff17d8278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000fff17dfd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #15 0x000000fff17dfd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #16 0x000000fff17dfd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #17 0x000000fff17dfd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #18 0x000000fff17dfd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #19 0x000000fff17dfd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #20 0x000000fff17dfd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #21 0x000000fff17dfd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #22 0x000000fff17dfd94 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 #23 0x000000fff17e165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff17e1780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #25 0x000000fff17e1a58 clang::ento::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 #26 0x000000fff17e1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000fff17e1c70 clang::ento::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 0x000000fff1aef03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000fff1aef03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000fff1aef03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000fff1aef03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000fff1aef03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000fff1af0224 llvm::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 0x000000fff1af0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000fff1af0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000fff1af4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000fff1af4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000fff1af4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000fff1af4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000fff1af4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000ffefd36978 __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 0x000000ffefd36978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x000000ffefd36978 void clang::finalize>, 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 0x000000ffefd36978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x000000fff15afb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x000000fff156b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x000000fff156b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x000000fff156b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x000000fff15ff9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #50 0x000000aaab571c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x000000aaab575b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x000000aaab577234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x000000aaab56e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x000000ffe83288c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #55 0x000000ffe83289cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #56 0x000000aaab56e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/logical-ops.c.script: line 1: 3902740 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loop-unrolling.cpp (882 of 19712) ******************** TEST 'Clang :: Analysis/loop-unrolling.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7e46bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7e44c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7e473d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc4e8648 (linux-vdso.so.1+0x648) #4 0x000000fff08f9388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff08f9388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff08f9388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff08f9388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff08f9388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff08f9388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff08f9388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff08f9388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff05703a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff05703a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff05703a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff05703a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff05703a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff05703a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff05703a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff05703a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0573dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0573dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0573dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0573dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0567430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0567430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0567430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff05753b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff05753b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff05753b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0567d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0567d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0567d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff05803b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff05803b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff05803b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff05871d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff05871d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff05871d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff04e2138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff04e2138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff04e2138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff04e2138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff04e2688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff04e2688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff04e2688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff04aab4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff04aab4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff04aab4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff04f6674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff04f6674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff04f6674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000fff0506010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff0506010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff0506010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff081303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff081303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff081303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff081303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff081303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff0814224 llvm::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 0x000000fff0814224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff0814224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff0818604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff0818604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff0818604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff0818604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff0818604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffeea5a978 __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 0x000000ffeea5a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffeea5a978 void clang::finalize>, 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 0x000000ffeea5a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff02d3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff028f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff028f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff028f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff03239a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaad431c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaad435b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaad437234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaad42e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe704c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe704c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaad42e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/loop-unrolling.cpp.script: line 2: 3902756 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-notes.cpp (883 of 19712) ******************** TEST 'Clang :: Analysis/loop-widening-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea452bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea450c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea4533d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff1d0648 (linux-vdso.so.1+0x648) #4 0x000000fff2f05388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2f05388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2f05388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2f05388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2f05388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2f05388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2f05388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2f05388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff2b7c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff2b7c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff2b7c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff2b7c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff2b7c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff2b7c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff2b7c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff2b7c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff2b7fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff2b7fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff2b7fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff2b7fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff2b73430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff2b73430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff2b73430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff2b813b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff2b813b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff2b813b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff2b73d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff2b73d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff2b73d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff2b8c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff2b8c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff2b8c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff2b931d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff2b931d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff2b931d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff2aee138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff2aee138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff2aee138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff2aee138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff2aee688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff2aee688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff2aee688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff2b559ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff2b559ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff2b559ac clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff2b559ac clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #50 0x000000fff2b08d50 clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1318:0 #51 0x000000fff2b116a8 clang::ento::ExprEngine::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 #52 0x000000fff2b11780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #53 0x000000fff2b11a58 clang::ento::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 #54 0x000000fff2b11c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x000000fff2b11c70 clang::ento::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 0x000000fff2e1f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x000000fff2e1f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x000000fff2e1f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x000000fff2e1f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x000000fff2e1f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x000000fff2e20224 llvm::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 0x000000fff2e20224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x000000fff2e20224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x000000fff2e24604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x000000fff2e24604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x000000fff2e24604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x000000fff2e24604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x000000fff2e24604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x000000fff1066978 __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 0x000000fff1066978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x000000fff1066978 void clang::finalize>, 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 0x000000fff1066978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x000000fff28dfb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x000000fff289b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x000000fff289b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x000000fff289b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x000000fff292f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x000000aaadcc1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x000000aaadcc5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x000000aaadcc7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x000000aaadcbe034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x000000ffe96588c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #83 0x000000ffe96589cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #84 0x000000aaadcbe0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/loop-widening-notes.cpp.script: line 1: 3902898 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-max-loop 2 -analyzer-config widen-loops=true -analyzer-output=text -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening-notes.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/loop-widening.c (886 of 19712) ******************** TEST 'Clang :: Analysis/loop-widening.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe76eebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe76ecc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe76ef3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffc4c648 (linux-vdso.so.1+0x648) #4 0x000000ffefe3c9e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffefe3c9e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffefe3c9e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffefe3c9e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000ffefe3c9e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000ffefe3c9e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000ffefda4278 llvm::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 0x000000ffefda4278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000ffefda4278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000ffefda4278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000ffefdabd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #15 0x000000ffefdabd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #16 0x000000ffefdabd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #17 0x000000ffefdabd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #18 0x000000ffefdabd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #19 0x000000ffefdabd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #20 0x000000ffefdabd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #21 0x000000ffefdabd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #22 0x000000ffefdabd94 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 #23 0x000000ffefdad65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffefdad780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #25 0x000000ffefdada58 clang::ento::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 #26 0x000000ffefdadc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000ffefdadc70 clang::ento::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 0x000000fff00bb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000fff00bb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000fff00bb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000fff00bb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000fff00bb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000fff00bc224 llvm::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 0x000000fff00bc224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000fff00bc224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000fff00c0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000fff00c0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000fff00c0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000fff00c0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000fff00c0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000ffee302978 __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 0x000000ffee302978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x000000ffee302978 void clang::finalize>, 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 0x000000ffee302978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x000000ffefb7bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x000000ffefb37354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x000000ffefb37354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x000000ffefb37354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x000000ffefbcb9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #50 0x000000aaaba4dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x000000aaaba51b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x000000aaaba53234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x000000aaaba4a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x000000ffe68f48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #55 0x000000ffe68f49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #56 0x000000aaaba4a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/loop-widening.c.script: line 2: 3903654 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loop-widening-preserve-reference-type.cpp (887 of 19712) ******************** TEST 'Clang :: Analysis/loop-widening-preserve-reference-type.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6f06bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6f04c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6f073d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffde18648 (linux-vdso.so.1+0x648) #4 0x000000ffef590f7c retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000ffef590f7c retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffef590f7c retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffef590f7c IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffef590f7c ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffef590f7c MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000ffef590f7c get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000ffef590f7c 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 0x000000ffefb02a50 std::_Optional_base_impl>::_M_is_engaged() const /usr/include/c++/12/optional:471:58 #13 0x000000ffefb02a50 std::optional::operator bool() const /usr/include/c++/12/optional:985:35 #14 0x000000ffefb02a50 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:51 #15 0x000000ffef5c30d8 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #16 0x000000ffef5c30d8 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #17 0x000000ffef5c30d8 clang::ento::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 0x000000ffef5c3e0c clang::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 0x000000ffef5c565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef5c587c clang::ento::CoreEngine::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 0x000000ffef5c5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #22 0x000000ffef5c5c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #23 0x000000ffef8d303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x000000ffef8d303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x000000ffef8d303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #26 0x000000ffef8d303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #27 0x000000ffef8d303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #28 0x000000ffef8d4224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #29 0x000000ffef8d4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #30 0x000000ffef8d4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #31 0x000000ffef8d8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x000000ffef8d8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x000000ffef8d8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #34 0x000000ffef8d8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #35 0x000000ffef8d8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #36 0x000000ffedb1a978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #37 0x000000ffedb1a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #38 0x000000ffedb1a978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #39 0x000000ffedb1a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #40 0x000000ffef393b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #41 0x000000ffef34f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #42 0x000000ffef34f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #43 0x000000ffef34f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #44 0x000000ffef3e39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #45 0x000000aaacdd1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #46 0x000000aaacdd5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #47 0x000000aaacdd7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #48 0x000000aaacdce034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #49 0x000000ffe610c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #50 0x000000ffe610c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #51 0x000000aaacdce0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/loop-widening-preserve-reference-type.cpp.script: line 1: 3902933 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-max-loop 4 -analyzer-config widen-loops=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening-preserve-reference-type.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/loop-widening.cpp (888 of 19712) ******************** TEST 'Clang :: Analysis/loop-widening.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9982bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9980c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe99833d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcbc0648 (linux-vdso.so.1+0x648) #4 0x000000fff203b664 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff203b664 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff203b664 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff203b664 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff203b664 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff203b664 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff203b664 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff203b664 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 0x000000fff203c08c 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 0x000000fff2041a18 clang::ento::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 0x000000fff2041c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x000000fff2041c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x000000fff234f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x000000fff234f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x000000fff234f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x000000fff234f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x000000fff234f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x000000fff2350224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x000000fff2350224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x000000fff2350224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x000000fff2354604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x000000fff2354604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x000000fff2354604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x000000fff2354604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x000000fff2354604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x000000fff0596978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x000000fff0596978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x000000fff0596978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x000000fff0596978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x000000fff1e0fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x000000fff1dcb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x000000fff1dcb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x000000fff1dcb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x000000fff1e5f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000000aaac345c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000000aaac349b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000000aaac34b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000000aaac342034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x000000ffe8b888c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #43 0x000000ffe8b889cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #44 0x000000aaac3420a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/loop-widening.cpp.script: line 1: 3903761 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/malloc-annotations.cpp (889 of 19712) ******************** TEST 'Clang :: Analysis/malloc-annotations.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe982ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe982cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe982f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff60c648 (linux-vdso.so.1+0x648) #4 0x000000fff20b7474 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff20b7474 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff20b7474 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff20b7474 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff20b7474 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff20b7474 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff20b7474 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff20b7474 (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 0x000000fff1eb28e8 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x000000fff1ee41b4 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x000000fff1ee41b4 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x000000fff1ee41b4 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #16 0x000000fff1ee41b4 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #17 0x000000fff1ee41b4 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #18 0x000000fff1ee41b4 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #19 0x000000fff1ee41b4 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #20 0x000000fff1eebd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x000000fff1eebd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x000000fff1eebd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x000000fff1eebd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x000000fff1eebd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x000000fff1eebd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x000000fff1eebd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x000000fff1eebd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x000000fff1eebd94 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 0x000000fff1eed65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff1eed87c clang::ento::CoreEngine::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 0x000000fff1eedc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #32 0x000000fff1eedc70 clang::ento::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 0x000000fff21fb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x000000fff21fb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x000000fff21fb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #36 0x000000fff21fb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #37 0x000000fff21fb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #38 0x000000fff21fc224 llvm::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 0x000000fff21fc224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #40 0x000000fff21fc224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #41 0x000000fff2200604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x000000fff2200604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x000000fff2200604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #44 0x000000fff2200604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #45 0x000000fff2200604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #46 0x000000fff0442978 __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 0x000000fff0442978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #48 0x000000fff0442978 void clang::finalize>, 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 0x000000fff0442978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #50 0x000000fff1cbbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #51 0x000000fff1c77354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #52 0x000000fff1c77354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #53 0x000000fff1c77354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #54 0x000000fff1d0b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #55 0x000000aaae6f1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #56 0x000000aaae6f5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #57 0x000000aaae6f7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #58 0x000000aaae6ee034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #59 0x000000ffe8a348c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #60 0x000000ffe8a349cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #61 0x000000aaae6ee0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-annotations.cpp.script: line 1: 3903796 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix.Malloc -analyzer-config unix.DynamicMemoryModeling:Optimistic=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-annotations.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc-annotations.c (890 of 19712) ******************** TEST 'Clang :: Analysis/malloc-annotations.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe745ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe745cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe745f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffdb60648 (linux-vdso.so.1+0x648) #4 0x000000ffefef57f4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffefef57f4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffefef57f4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffefef57f4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffefef57f4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffefef57f4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffefef57f4 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffefef57f4 (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 0x000000ffefcbdfc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x000000ffefcbdfc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x000000ffefcbdfc8 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 0x000000ffefaefa28 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x000000ffefaefa28 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x000000ffefaefa28 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:29 #18 0x000000ffefaefa28 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x000000ffefb9843c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x000000ffefb9843c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x000000ffefb9843c clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x000000ffefb9843c clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x000000ffefb9f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x000000ffefb9f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x000000ffefb9f1d4 clang::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 0x000000ffefafa230 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000ffefafa230 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000ffefafa230 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x000000ffefafa230 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:0 #30 0x000000fff0050114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0050114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0050114 clang::ento::ProgramState::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 0x000000ffefce0554 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x000000ffefce0554 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x000000ffefce0554 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x000000ffefce0554 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x000000ffefce0554 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x000000ffefce0554 (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 0x000000ffefce0a4c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #40 0x000000ffefce0a4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #41 0x000000ffefce0a4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #42 0x000000ffefce0a4c (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 #43 0x000000ffefced610 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #44 0x000000ffefced610 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 #45 0x000000ffefaf0df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #46 0x000000ffefaf0df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x000000ffefaf0df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #48 0x000000ffefaf0df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #49 0x000000ffefaf0df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #50 0x000000ffefb42500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #51 0x000000ffefb42500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #52 0x000000ffefb42500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #53 0x000000ffefb42500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #54 0x000000ffefb42e4c clang::ento::ExprEngine::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 0x000000ffefb1ad1c clang::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 0x000000ffefb1ad1c clang::ento::ExprEngine::Visit(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 0x000000ffefb1be0c clang::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 0x000000ffefb1d65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffefb1d87c clang::ento::CoreEngine::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 0x000000ffefb1dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #61 0x000000ffefb1dc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #62 0x000000ffefe2b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #63 0x000000ffefe2b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #64 0x000000ffefe2b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #65 0x000000ffefe2b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #66 0x000000ffefe2b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #67 0x000000ffefe2c224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #68 0x000000ffefe2c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #69 0x000000ffefe2c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #70 0x000000ffefe30604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x000000ffefe30604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x000000ffefe30604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #73 0x000000ffefe30604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #74 0x000000ffefe30604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #75 0x000000ffee072978 __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 0x000000ffee072978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #77 0x000000ffee072978 void clang::finalize>, 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 0x000000ffee072978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #79 0x000000ffef8ebb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #80 0x000000ffef8a7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #81 0x000000ffef8a7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #82 0x000000ffef8a7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #83 0x000000ffef93b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #84 0x000000aaac7f1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #85 0x000000aaac7f5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #86 0x000000aaac7f7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #87 0x000000aaac7ee034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #88 0x000000ffe66648c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #89 0x000000ffe66649cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #90 0x000000aaac7ee0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-annotations.c.script: line 1: 3903797 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/main.cpp (891 of 19712) ******************** TEST 'Clang :: Analysis/main.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9bc6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9bc4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9bc73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe238648 (linux-vdso.so.1+0x648) #4 0x000000fff2679388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2679388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2679388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2679388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2679388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2679388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2679388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2679388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff22f03a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff22f03a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff22f03a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff22f03a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff22f03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff22f03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff22f03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff22f03a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff22f3dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff22f3dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff22f3dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff22f3dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff22e7430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff22e7430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff22e7430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff22f53b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff22f53b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff22f53b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff22e7d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff22e7d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff22e7d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff23003b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff23003b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff23003b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff23071d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff23071d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff23071d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff22620e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff22620e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff22620e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff22620e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff2277e4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff2277e4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff2277e4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000fff2277e4c 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:0 #47 0x000000fff2283b90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000fff2283b90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000fff2283b90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000fff2283b90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000fff2283b90 clang::ento::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 #52 0x000000fff2283e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000fff228565c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000fff228587c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000fff2285c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000fff2285c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000fff259303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff259303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff259303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000fff259303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000fff259303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000fff2594224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000fff2594224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000fff2594224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000fff2598604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000fff2598604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000fff2598604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000fff2598604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000fff2598604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000fff07da978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000fff07da978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000fff07da978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000fff07da978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000fff2053b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000fff200f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000fff200f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000fff200f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000fff20a39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaaae91c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaaae95b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaaae97234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaaae8e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe8dcc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe8dcc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaaae8e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/main.cpp.script: line 1: 3903790 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-bodyfarms.cpp (892 of 19712) ******************** TEST 'Clang :: Analysis/malloc-bodyfarms.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe88b2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe88b0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe88b33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd358648 (linux-vdso.so.1+0x648) #4 0x000000fff13497f4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff13497f4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff13497f4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff13497f4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff13497f4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff13497f4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff13497f4 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff13497f4 (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 0x000000fff1111fc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x000000fff1111fc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x000000fff1111fc8 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 0x000000fff0f43a28 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x000000fff0f43a28 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x000000fff0f43a28 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:29 #18 0x000000fff0f43a28 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x000000fff0fec43c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x000000fff0fec43c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x000000fff0fec43c clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x000000fff0fec43c clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x000000fff0ff31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x000000fff0ff31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x000000fff0ff31d4 clang::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 0x000000fff0f4e230 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff0f4e230 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff0f4e230 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x000000fff0f4e230 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:0 #30 0x000000fff14a4114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff14a4114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff14a4114 clang::ento::ProgramState::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 0x000000fff1134554 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x000000fff1134554 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x000000fff1134554 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x000000fff1134554 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x000000fff1134554 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x000000fff1134554 (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 0x000000fff1134a4c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #40 0x000000fff1134a4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #41 0x000000fff1134a4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #42 0x000000fff1134a4c (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 #43 0x000000fff1141610 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #44 0x000000fff1141610 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 #45 0x000000fff0f44df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #46 0x000000fff0f44df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x000000fff0f44df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #48 0x000000fff0f44df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #49 0x000000fff0f44df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #50 0x000000fff0f96500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #51 0x000000fff0f96500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #52 0x000000fff0f96500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #53 0x000000fff0f96500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #54 0x000000fff0f96e4c clang::ento::ExprEngine::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 0x000000fff0f6ed1c clang::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 0x000000fff0f6ed1c clang::ento::ExprEngine::Visit(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 0x000000fff0f6fe0c clang::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 0x000000fff0f7165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff0f7187c clang::ento::CoreEngine::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 0x000000fff0f71c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #61 0x000000fff0f71c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #62 0x000000fff127f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #63 0x000000fff127f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #64 0x000000fff127f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #65 0x000000fff127f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #66 0x000000fff127f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #67 0x000000fff1280224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #68 0x000000fff1280224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #69 0x000000fff1280224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #70 0x000000fff1284604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x000000fff1284604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x000000fff1284604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #73 0x000000fff1284604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #74 0x000000fff1284604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #75 0x000000ffef4c6978 __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 0x000000ffef4c6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #77 0x000000ffef4c6978 void clang::finalize>, 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 0x000000ffef4c6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #79 0x000000fff0d3fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #80 0x000000fff0cfb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #81 0x000000fff0cfb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #82 0x000000fff0cfb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #83 0x000000fff0d8f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #84 0x000000aaaad79c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #85 0x000000aaaad7db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #86 0x000000aaaad7f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #87 0x000000aaaad76034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #88 0x000000ffe7ab88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #89 0x000000ffe7ab89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #90 0x000000aaaad760a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-bodyfarms.cpp.script: line 1: 3903806 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/main.c (894 of 19712) ******************** TEST 'Clang :: Analysis/main.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8f4ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8f4cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8f4f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffacc648 (linux-vdso.so.1+0x648) #4 0x000000fff1a01388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1a01388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1a01388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1a01388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1a01388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1a01388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1a01388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1a01388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff16783a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff16783a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff16783a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff16783a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff16783a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff16783a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff16783a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff16783a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff167bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff167bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff167bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff167bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff166f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff166f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff166f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff167d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff167d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff167d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff166fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff166fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff166fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff16883b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff16883b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff16883b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff168f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff168f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff168f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff15ea0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff15ea0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff15ea0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff15ea0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff15ffe4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff15ffe4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff15ffe4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000fff15ffe4c 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:0 #47 0x000000fff160bb90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000fff160bb90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000fff160bb90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000fff160bb90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000fff160bb90 clang::ento::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 #52 0x000000fff160be0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000fff160d65c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000fff160d87c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000fff160dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000fff160dc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000fff191b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff191b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff191b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000fff191b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000fff191b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000fff191c224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000fff191c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000fff191c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000fff1920604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000fff1920604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000fff1920604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000fff1920604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000fff1920604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000ffefb62978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000ffefb62978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000ffefb62978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000ffefb62978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000fff13dbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000fff1397354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000fff1397354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000fff1397354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000fff142b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaae12dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaae131b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaae133234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaae12a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe81548c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe81549cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaae12a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/main.c.script: line 1: 3903786 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/main.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc-free-after-return.cpp (895 of 19712) ******************** TEST 'Clang :: Analysis/malloc-free-after-return.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea41abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea418c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea41b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc6fc648 (linux-vdso.so.1+0x648) #4 0x000000fff2ecd388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2ecd388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2ecd388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2ecd388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2ecd388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2ecd388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2ecd388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2ecd388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff2b443a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff2b443a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff2b443a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff2b443a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff2b443a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff2b443a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff2b443a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff2b443a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff2b47dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff2b47dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff2b47dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff2b47dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff2b3b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff2b3b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff2b3b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff2b493b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff2b493b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff2b493b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff2b3bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff2b3bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff2b3bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff2b543b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff2b543b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff2b543b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff2b5b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff2b5b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff2b5b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff2ab6138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff2ab6138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff2ab6138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff2ab6138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff2ab6688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff2ab6688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff2ab6688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff2b1d9ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff2b1d9ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff2b1d9ac clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff2b1d9ac clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #50 0x000000fff2ad0d50 clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1318:0 #51 0x000000fff2ad96a8 clang::ento::ExprEngine::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 #52 0x000000fff2ad9780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #53 0x000000fff2ad9a58 clang::ento::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 #54 0x000000fff2ad9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x000000fff2ad9c70 clang::ento::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 0x000000fff2de703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x000000fff2de703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x000000fff2de703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x000000fff2de703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x000000fff2de703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x000000fff2de8224 llvm::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 0x000000fff2de8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x000000fff2de8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x000000fff2dec604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x000000fff2dec604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x000000fff2dec604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x000000fff2dec604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x000000fff2dec604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x000000fff102e978 __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 0x000000fff102e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x000000fff102e978 void clang::finalize>, 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 0x000000fff102e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x000000fff28a7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x000000fff2863354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x000000fff2863354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x000000fff2863354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x000000fff28f79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x000000aaab389c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x000000aaab38db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x000000aaab38f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x000000aaab386034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x000000ffe96208c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #83 0x000000ffe96209cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #84 0x000000aaab3860a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-free-after-return.cpp.script: line 1: 3903850 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.NewDelete -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-free-after-return.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc-bodyfarms.c (897 of 19712) ******************** TEST 'Clang :: Analysis/malloc-bodyfarms.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7e5abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7e58c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7e5b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffeab4648 (linux-vdso.so.1+0x648) #4 0x000000fff08f17f4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff08f17f4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff08f17f4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff08f17f4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff08f17f4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff08f17f4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff08f17f4 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff08f17f4 (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 0x000000fff06b9fc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x000000fff06b9fc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x000000fff06b9fc8 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 0x000000fff04eba28 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x000000fff04eba28 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x000000fff04eba28 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:29 #18 0x000000fff04eba28 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x000000fff059443c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x000000fff059443c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x000000fff059443c clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x000000fff059443c clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x000000fff059b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x000000fff059b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x000000fff059b1d4 clang::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 0x000000fff04f6230 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff04f6230 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff04f6230 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x000000fff04f6230 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:0 #30 0x000000fff0a4c114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0a4c114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0a4c114 clang::ento::ProgramState::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 0x000000fff06dc554 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x000000fff06dc554 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x000000fff06dc554 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x000000fff06dc554 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x000000fff06dc554 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x000000fff06dc554 (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 0x000000fff06dd46c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #40 0x000000fff06dd46c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #41 0x000000fff06dd46c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #42 0x000000fff06dd46c (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 #43 0x000000fff06e9610 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #44 0x000000fff06e9610 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 #45 0x000000fff04ecdf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #46 0x000000fff04ecdf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x000000fff04ecdf0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #48 0x000000fff04ecdf0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #49 0x000000fff04ecdf0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #50 0x000000fff053e500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #51 0x000000fff053e500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #52 0x000000fff053e500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #53 0x000000fff053e500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #54 0x000000fff053ee4c clang::ento::ExprEngine::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 0x000000fff0516d1c clang::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 0x000000fff0516d1c clang::ento::ExprEngine::Visit(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 0x000000fff0517e0c clang::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 0x000000fff051965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff051987c clang::ento::CoreEngine::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 0x000000fff0519c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #61 0x000000fff0519c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #62 0x000000fff082703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #63 0x000000fff082703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #64 0x000000fff082703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #65 0x000000fff082703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #66 0x000000fff082703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #67 0x000000fff0828224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #68 0x000000fff0828224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #69 0x000000fff0828224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #70 0x000000fff082c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x000000fff082c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x000000fff082c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #73 0x000000fff082c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #74 0x000000fff082c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #75 0x000000ffeea6e978 __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 0x000000ffeea6e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #77 0x000000ffeea6e978 void clang::finalize>, 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 0x000000ffeea6e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #79 0x000000fff02e7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #80 0x000000fff02a3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #81 0x000000fff02a3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #82 0x000000fff02a3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #83 0x000000fff03379a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #84 0x000000aaab8a9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #85 0x000000aaab8adb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #86 0x000000aaab8af234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #87 0x000000aaab8a6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #88 0x000000ffe70608c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #89 0x000000ffe70609cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #90 0x000000aaab8a60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-bodyfarms.c.script: line 1: 3903802 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-fnptr-plist.c (899 of 19712) ******************** TEST 'Clang :: Analysis/malloc-fnptr-plist.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe8a1ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8a1cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8a1f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe3ac648 (linux-vdso.so.1+0x648) #4 0x000000fff14d1388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff14d1388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff14d1388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff14d1388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff14d1388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff14d1388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff14d1388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff14d1388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff11483a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff11483a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff11483a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff11483a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff11483a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff11483a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff11483a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff11483a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff114bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff114bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff114bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff114bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff113f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff113f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff113f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff114d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff114d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff114d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff113fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff113fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff113fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff11583b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff11583b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff11583b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff115f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff115f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff115f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff10ba138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff10ba138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff10ba138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff10ba138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1610114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff1610114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff1610114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff12a5414 (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 #47 0x000000fff14af7ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #48 0x000000fff14af7ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #49 0x000000fff14af7ac (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 #50 0x000000fff129fdfc llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #51 0x000000fff129fdfc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #52 0x000000fff129fdfc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #53 0x000000fff129fdfc (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:1292:0 #54 0x000000fff12ad540 std::function&)>::operator()(clang::Expr const*, clang::ast_matchers::MatchFinder::MatchResult const&, clang::dataflow::TransferState&) const /usr/include/c++/12/bits/std_function.h:591:0 #55 0x000000fff12ad540 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1469:0 #56 0x000000fff12ad540 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #57 0x000000fff10b0df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #58 0x000000fff10b0df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #59 0x000000fff10b0df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #60 0x000000fff10b0df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #61 0x000000fff10b0df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #62 0x000000fff1102500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #63 0x000000fff1102500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #64 0x000000fff1102500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #65 0x000000fff1102500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #66 0x000000fff1102e4c clang::ento::ExprEngine::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 #67 0x000000fff10dad1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #68 0x000000fff10dad1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #69 0x000000fff10dbe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #70 0x000000fff10dd65c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #71 0x000000fff10dd87c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #72 0x000000fff10ddc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #73 0x000000fff10ddc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #74 0x000000fff13eb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #75 0x000000fff13eb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #76 0x000000fff13eb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #77 0x000000fff13eb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #78 0x000000fff13eb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #79 0x000000fff13ec224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #80 0x000000fff13ec224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #81 0x000000fff13ec224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #82 0x000000fff13f0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #83 0x000000fff13f0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #84 0x000000fff13f0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #85 0x000000fff13f0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #86 0x000000fff13f0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #87 0x000000ffef632978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #88 0x000000ffef632978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #89 0x000000ffef632978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #90 0x000000ffef632978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #91 0x000000fff0eabb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #92 0x000000fff0e67354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #93 0x000000fff0e67354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #94 0x000000fff0e67354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #95 0x000000fff0efb9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #96 0x000000aaad275c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #97 0x000000aaad279b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #98 0x000000aaad27b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #99 0x000000aaad272034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #100 0x000000ffe7c248c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #101 0x000000ffe7c249cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #102 0x000000aaad2720a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-fnptr-plist.c.script: line 2: 3903820 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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-interprocedural.c (901 of 19712) ******************** TEST 'Clang :: Analysis/malloc-interprocedural.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6b1abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6b18c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6b1b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcaf8648 (linux-vdso.so.1+0x648) #4 0x000000ffef5cd388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef5cd388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef5cd388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef5cd388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef5cd388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef5cd388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef5cd388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef5cd388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef2443a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef2443a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef2443a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef2443a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef2443a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef2443a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef2443a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef2443a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef247dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef247dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef247dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef247dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef23b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef23b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef23b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef2493b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef2493b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef2493b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef23bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef23bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef23bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef2543b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef2543b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef2543b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef25b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef25b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef25b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef1b60e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef1b60e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef1b60e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef1b60e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000ffef1cbe4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffef1cbe4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffef1cbe4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000ffef1cbe4c 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:0 #47 0x000000ffef1d7b90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000ffef1d7b90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000ffef1d7b90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000ffef1d7b90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000ffef1d7b90 clang::ento::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 #52 0x000000ffef1d7e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000ffef1d965c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000ffef1d987c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000ffef1d9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000ffef1d9c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000ffef4e703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000ffef4e703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000ffef4e703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000ffef4e703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000ffef4e703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000ffef4e8224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000ffef4e8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000ffef4e8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000ffef4ec604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000ffef4ec604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000ffef4ec604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000ffef4ec604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000ffef4ec604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000ffed72e978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000ffed72e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000ffed72e978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000ffed72e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000ffeefa7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000ffeef63354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000ffeef63354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000ffeef63354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000ffeeff79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaabcadc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaabcb1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaabcb3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaabcaa034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe5d208c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe5d209cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaabcaa0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-interprocedural.c.script: line 1: 3903891 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.Malloc -analyzer-inline-max-stack-depth=5 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-interprocedural.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc-overflow2.c (902 of 19712) ******************** TEST 'Clang :: Analysis/malloc-overflow2.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea6c2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea6c0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea6c33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffde1c648 (linux-vdso.so.1+0x648) #4 0x000000fff31597f4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff31597f4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff31597f4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff31597f4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff31597f4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff31597f4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff31597f4 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff31597f4 (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 0x000000fff2f21fc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x000000fff2f21fc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x000000fff2f21fc8 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 0x000000fff2d53a28 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x000000fff2d53a28 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x000000fff2d53a28 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:29 #18 0x000000fff2d53a28 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x000000fff2dfc43c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x000000fff2dfc43c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x000000fff2dfc43c clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x000000fff2dfc43c clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x000000fff2e031d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x000000fff2e031d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x000000fff2e031d4 clang::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 0x000000fff2d5e0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff2d5e0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff2d5e0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x000000fff2d5e0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #30 0x000000fff32b4114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff32b4114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff32b4114 clang::ento::ProgramState::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 0x000000fff2f44554 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x000000fff2f44554 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x000000fff2f44554 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x000000fff2f44554 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x000000fff2f44554 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x000000fff2f44554 (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 0x000000fff2f44a4c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #40 0x000000fff2f44a4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #41 0x000000fff2f44a4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #42 0x000000fff2f44a4c (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 #43 0x000000fff2f51610 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #44 0x000000fff2f51610 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 #45 0x000000fff2d54df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #46 0x000000fff2d54df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x000000fff2d54df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #48 0x000000fff2d54df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #49 0x000000fff2d54df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #50 0x000000fff2da6500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #51 0x000000fff2da6500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #52 0x000000fff2da6500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #53 0x000000fff2da6500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #54 0x000000fff2da6e4c clang::ento::ExprEngine::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 0x000000fff2d7ed1c clang::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 0x000000fff2d7ed1c clang::ento::ExprEngine::Visit(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 0x000000fff2d7fe0c clang::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 0x000000fff2d8165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff2d8187c clang::ento::CoreEngine::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 0x000000fff2d81c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #61 0x000000fff2d81c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #62 0x000000fff308f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #63 0x000000fff308f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #64 0x000000fff308f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #65 0x000000fff308f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #66 0x000000fff308f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #67 0x000000fff3090224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #68 0x000000fff3090224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #69 0x000000fff3090224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #70 0x000000fff3094604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x000000fff3094604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x000000fff3094604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #73 0x000000fff3094604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #74 0x000000fff3094604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #75 0x000000fff12d6978 __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 0x000000fff12d6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #77 0x000000fff12d6978 void clang::finalize>, 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 0x000000fff12d6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #79 0x000000fff2b4fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #80 0x000000fff2b0b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #81 0x000000fff2b0b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #82 0x000000fff2b0b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #83 0x000000fff2b9f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #84 0x000000aaaccd5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #85 0x000000aaaccd9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #86 0x000000aaaccdb234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #87 0x000000aaaccd2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #88 0x000000ffe98c88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #89 0x000000ffe98c89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #90 0x000000aaaccd20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-overflow2.c.script: line 2: 3904742 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-unknown -analyzer-checker=alpha.security.MallocOverflow,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-overflow2.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc-plist.c (903 of 19712) ******************** TEST 'Clang :: Analysis/malloc-plist.c' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -f /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-plist.c.tmp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffea336bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea334c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea3373d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe578648 (linux-vdso.so.1+0x648) #4 0x000000fff2dcd7f4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2dcd7f4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2dcd7f4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2dcd7f4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2dcd7f4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2dcd7f4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2dcd7f4 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2dcd7f4 (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 0x000000fff2b95fc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x000000fff2b95fc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x000000fff2b95fc8 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 0x000000fff29c7a28 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x000000fff29c7a28 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x000000fff29c7a28 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:29 #18 0x000000fff29c7a28 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x000000fff2a7043c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x000000fff2a7043c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x000000fff2a7043c clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x000000fff2a7043c clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x000000fff2a771d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x000000fff2a771d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x000000fff2a771d4 clang::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 0x000000fff29d2230 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff29d2230 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff29d2230 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x000000fff29d2230 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:0 #30 0x000000fff2f28114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff2f28114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff2f28114 clang::ento::ProgramState::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 0x000000fff2bb8554 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x000000fff2bb8554 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x000000fff2bb8554 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x000000fff2bb8554 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x000000fff2bb8554 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x000000fff2bb8554 (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 0x000000fff2bb8a4c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #40 0x000000fff2bb8a4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #41 0x000000fff2bb8a4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #42 0x000000fff2bb8a4c (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 #43 0x000000fff2bc5610 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #44 0x000000fff2bc5610 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 #45 0x000000fff29c8df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #46 0x000000fff29c8df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x000000fff29c8df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #48 0x000000fff29c8df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #49 0x000000fff29c8df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #50 0x000000fff2a1a500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #51 0x000000fff2a1a500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #52 0x000000fff2a1a500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #53 0x000000fff2a1a500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #54 0x000000fff2a1ae4c clang::ento::ExprEngine::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 0x000000fff29f2d1c clang::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 0x000000fff29f2d1c clang::ento::ExprEngine::Visit(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 0x000000fff29f3e0c clang::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 0x000000fff29f565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff29f587c clang::ento::CoreEngine::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 0x000000fff29f5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #61 0x000000fff29f5c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #62 0x000000fff2d0303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #63 0x000000fff2d0303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #64 0x000000fff2d0303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #65 0x000000fff2d0303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #66 0x000000fff2d0303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #67 0x000000fff2d04224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #68 0x000000fff2d04224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #69 0x000000fff2d04224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #70 0x000000fff2d08604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x000000fff2d08604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x000000fff2d08604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #73 0x000000fff2d08604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #74 0x000000fff2d08604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #75 0x000000fff0f4a978 __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 0x000000fff0f4a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #77 0x000000fff0f4a978 void clang::finalize>, 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 0x000000fff0f4a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #79 0x000000fff27c3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #80 0x000000fff277f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #81 0x000000fff277f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #82 0x000000fff277f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #83 0x000000fff28139a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #84 0x000000aaabb11c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #85 0x000000aaabb15b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #86 0x000000aaabb17234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #87 0x000000aaabb0e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #88 0x000000ffe953c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #89 0x000000ffe953c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #90 0x000000aaabb0e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-plist.c.script: line 3: 3904761 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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.cpp (904 of 19712) ******************** TEST 'Clang :: Analysis/malloc.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 #0 0x000000ffe6c72bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6c70c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6c733d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc914648 (linux-vdso.so.1+0x648) #4 0x000000ffef725388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef725388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef725388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef725388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef725388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef725388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef725388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef725388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef39c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef39c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef39c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef39c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef39c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef39c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef39c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef39c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef39fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef39fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef39fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef39fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef393430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef393430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef393430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef3a13b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef3a13b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef3a13b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef393d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef393d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef393d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef3ac3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef3ac3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef3ac3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef3b31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef3b31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef3b31d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef30e138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef30e138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef30e138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef30e138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffef30e688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffef30e688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffef30e688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000ffef2d6b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000ffef2d6b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000ffef2d6b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000ffef322674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000ffef322674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000ffef322674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000ffef332010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000ffef332010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000ffef332010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000ffef63f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000ffef63f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000ffef63f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000ffef63f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000ffef63f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000ffef640224 llvm::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 0x000000ffef640224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000ffef640224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000ffef644604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000ffef644604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000ffef644604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000ffef644604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000ffef644604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffed886978 __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 0x000000ffed886978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffed886978 void clang::finalize>, 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 0x000000ffed886978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000ffef0ffb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000ffef0bb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000ffef0bb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000ffef0bb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000ffef14f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaaea0dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaaea11b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaaea13234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaaea0a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe5e788c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe5e789cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaaea0a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc.cpp.script: line 4: 3904956 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.cpp -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix.Malloc -analyzer-checker=cplusplus.NewDelete -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc-static-storage.cpp (905 of 19712) ******************** TEST 'Clang :: Analysis/malloc-static-storage.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6e22bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6e20c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6e233d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff6cc648 (linux-vdso.so.1+0x648) #4 0x000000ffef8d5388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef8d5388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef8d5388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef8d5388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef8d5388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef8d5388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef8d5388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef8d5388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef54c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef54c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef54c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef54c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef54c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef54c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef54c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef54c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef54faec llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef54faec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef54faec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef54faec (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:31 #24 0x000000ffef54e65c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef54e65c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef54e65c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000ffef551444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef551444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef551444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000ffef543d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef543d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef543d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef55c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef55c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef55c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef5631d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef5631d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef5631d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef4be0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef4be0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef4be0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef4be0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000ffefa14114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000ffefa14114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000ffefa14114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000ffef4cf190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000ffef4cf190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000ffef4cf190 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:0 #49 0x000000ffef4cf190 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:0 #50 0x000000ffef4cf190 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:0 #51 0x000000ffef4cf190 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:0 #52 0x000000ffef4cf190 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:0 #53 0x000000ffef4cf190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000ffef4cf190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000ffef4cf190 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:0 #56 0x000000ffef4cf7ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000ffef4e1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000ffef4e1c70 clang::ento::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 0x000000ffef7ef03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000ffef7ef03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000ffef7ef03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000ffef7ef03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000ffef7ef03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000ffef7f0224 llvm::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 0x000000ffef7f0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000ffef7f0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000ffef7f4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000ffef7f4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000ffef7f4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000ffef7f4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000ffef7f4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffeda36978 __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 0x000000ffeda36978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffeda36978 void clang::finalize>, 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 0x000000ffeda36978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000ffef2afb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000ffef26b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000ffef26b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000ffef26b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000ffef2ff9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaaca39c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaaca3db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaaca3f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaaca36034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe60288c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe60289cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaaca360a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-static-storage.cpp.script: line 1: 3904940 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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.mm (906 of 19712) ******************** TEST 'Clang :: Analysis/malloc.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7c22bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7c20c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7c233d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcd00648 (linux-vdso.so.1+0x648) #4 0x000000fff06b97f4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff06b97f4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff06b97f4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff06b97f4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff06b97f4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff06b97f4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff06b97f4 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff06b97f4 (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 0x000000fff0481fc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x000000fff0481fc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x000000fff0481fc8 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 0x000000fff02b3a28 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x000000fff02b3a28 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x000000fff02b3a28 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:29 #18 0x000000fff02b3a28 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x000000fff035c43c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x000000fff035c43c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x000000fff035c43c clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x000000fff035c43c clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x000000fff03631d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x000000fff03631d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x000000fff03631d4 clang::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 0x000000fff02be230 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff02be230 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff02be230 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x000000fff02be230 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:0 #30 0x000000fff0814114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0814114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0814114 clang::ento::ProgramState::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 0x000000fff04a4554 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x000000fff04a4554 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x000000fff04a4554 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x000000fff04a4554 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x000000fff04a4554 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x000000fff04a4554 (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 0x000000fff04a4a4c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #40 0x000000fff04a4a4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #41 0x000000fff04a4a4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #42 0x000000fff04a4a4c (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 #43 0x000000fff04b1610 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #44 0x000000fff04b1610 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 #45 0x000000fff02b4df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #46 0x000000fff02b4df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x000000fff02b4df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #48 0x000000fff02b4df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #49 0x000000fff02b4df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #50 0x000000fff0306500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #51 0x000000fff0306500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #52 0x000000fff0306500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #53 0x000000fff0306500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #54 0x000000fff0306e4c clang::ento::ExprEngine::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 0x000000fff02ded1c clang::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 0x000000fff02ded1c clang::ento::ExprEngine::Visit(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 0x000000fff02dfe0c clang::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 0x000000fff02e165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff02e187c clang::ento::CoreEngine::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 0x000000fff02e1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #61 0x000000fff02e1c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #62 0x000000fff05ef03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #63 0x000000fff05ef03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #64 0x000000fff05ef03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #65 0x000000fff05ef03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #66 0x000000fff05ef03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #67 0x000000fff05f0224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #68 0x000000fff05f0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #69 0x000000fff05f0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #70 0x000000fff05f4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x000000fff05f4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x000000fff05f4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #73 0x000000fff05f4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #74 0x000000fff05f4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #75 0x000000ffee836978 __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 0x000000ffee836978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #77 0x000000ffee836978 void clang::finalize>, 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 0x000000ffee836978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #79 0x000000fff00afb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #80 0x000000fff006b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #81 0x000000fff006b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #82 0x000000fff006b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #83 0x000000fff00ff9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #84 0x000000aaad585c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #85 0x000000aaad589b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #86 0x000000aaad58b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #87 0x000000aaad582034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #88 0x000000ffe6e288c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #89 0x000000ffe6e289cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #90 0x000000aaad5820a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc.mm.script: line 1: 3904969 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/member-expr.cpp (907 of 19712) ******************** TEST 'Clang :: Analysis/member-expr.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe971ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe971cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe971f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd410648 (linux-vdso.so.1+0x648) #4 0x000000fff21d1388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff21d1388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff21d1388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff21d1388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff21d1388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff21d1388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff21d1388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff21d1388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff1e483a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff1e483a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff1e483a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff1e483a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff1e483a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff1e483a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff1e483a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff1e483a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1e4bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1e4bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1e4bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1e4bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1e3f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1e3f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1e3f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff1e4d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff1e4d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff1e4d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1e3fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1e3fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1e3fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff1e583b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff1e583b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff1e583b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff1e5f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff1e5f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff1e5f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1dba138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1dba138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1dba138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1dba138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1dba688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff1dba688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff1dba688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff1d82b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff1d82b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff1d82b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff1dce674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff1dce674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff1dce674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000fff1dde010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff1dde010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff1dde010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff20eb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff20eb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff20eb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff20eb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff20eb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff20ec224 llvm::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 0x000000fff20ec224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff20ec224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff20f0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff20f0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff20f0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff20f0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff20f0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000fff0332978 __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 0x000000fff0332978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000fff0332978 void clang::finalize>, 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 0x000000fff0332978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff1babb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff1b67354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff1b67354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff1b67354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff1bfb9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaad5b5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaad5b9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaad5bb234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaad5b2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe89248c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe89249cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaad5b20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/member-expr.cpp.script: line 1: 3904979 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/member-expr.cpp -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc.c (908 of 19712) ******************** TEST 'Clang :: Analysis/malloc.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8392bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8390c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe83933d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd070648 (linux-vdso.so.1+0x648) #4 0x000000fff0e45388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0e45388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0e45388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0e45388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0e45388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0e45388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0e45388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0e45388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff0abc3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff0abc3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff0abc3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff0abc3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff0abc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff0abc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff0abc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff0abc3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0abfdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0abfdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0abfdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0abfdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0ab3430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0ab3430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0ab3430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff0ac13b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0ac13b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0ac13b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0ab3d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0ab3d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0ab3d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff0acc3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff0acc3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff0acc3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff0ad31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff0ad31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff0ad31d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0a2e0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0a2e0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0a2e0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0a2e0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff0f84114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff0f84114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff0f84114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff0c14554 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #47 0x000000fff0c14554 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #48 0x000000fff0c14554 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #49 0x000000fff0c14554 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #50 0x000000fff0c14554 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #51 0x000000fff0c14554 (anonymous namespace)::MallocChecker::ProcessZeroAllocCheck(clang::ento::CallEvent const&, unsigned int, llvm::IntrusiveRefCntPtr, std::optional) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1529:0 #52 0x000000fff0c14a4c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #53 0x000000fff0c14a4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #54 0x000000fff0c14a4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x000000fff0c14a4c (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 #56 0x000000fff0c21610 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #57 0x000000fff0c21610 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 #58 0x000000fff0a24df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #59 0x000000fff0a24df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x000000fff0a24df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #61 0x000000fff0a24df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #62 0x000000fff0a24df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #63 0x000000fff0a76500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #64 0x000000fff0a76500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #65 0x000000fff0a76500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #66 0x000000fff0a76500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #67 0x000000fff0a76e4c clang::ento::ExprEngine::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 #68 0x000000fff0a4ed1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #69 0x000000fff0a4ed1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #70 0x000000fff0a4fe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #71 0x000000fff0a5165c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #72 0x000000fff0a5187c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #73 0x000000fff0a51c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #74 0x000000fff0a51c70 clang::ento::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 0x000000fff0d5f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #76 0x000000fff0d5f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #77 0x000000fff0d5f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #78 0x000000fff0d5f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #79 0x000000fff0d5f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #80 0x000000fff0d60224 llvm::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 0x000000fff0d60224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #82 0x000000fff0d60224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #83 0x000000fff0d64604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #84 0x000000fff0d64604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #85 0x000000fff0d64604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #86 0x000000fff0d64604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #87 0x000000fff0d64604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #88 0x000000ffeefa6978 __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 0x000000ffeefa6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #90 0x000000ffeefa6978 void clang::finalize>, 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 0x000000ffeefa6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #92 0x000000fff081fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #93 0x000000fff07db354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #94 0x000000fff07db354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #95 0x000000fff07db354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #96 0x000000fff086f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #97 0x000000aaaad75c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #98 0x000000aaaad79b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #99 0x000000aaaad7b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #100 0x000000aaaad72034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #101 0x000000ffe75988c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #102 0x000000ffe75989cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #103 0x000000aaaad720a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc.c.script: line 1: 3904953 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-strict-prototypes -Wno-error=implicit-int -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.c -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix -analyzer-checker=debug.ExprInspection -- ******************** Testing: 0 FAIL: Clang :: Analysis/max-nodes-suppress-on-sink.cpp (909 of 19712) ******************** TEST 'Clang :: Analysis/max-nodes-suppress-on-sink.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe98c2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe98c0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe98c33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffecc4648 (linux-vdso.so.1+0x648) #4 0x000000fff23597f4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff23597f4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff23597f4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff23597f4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff23597f4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff23597f4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff23597f4 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff23597f4 (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 0x000000fff2121fc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x000000fff2121fc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x000000fff2121fc8 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 0x000000fff1f53a28 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x000000fff1f53a28 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x000000fff1f53a28 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:29 #18 0x000000fff1f53a28 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x000000fff1ffc43c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x000000fff1ffc43c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x000000fff1ffc43c clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x000000fff1ffc43c clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x000000fff20031d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x000000fff20031d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x000000fff20031d4 clang::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 0x000000fff1f5e230 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff1f5e230 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff1f5e230 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x000000fff1f5e230 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:0 #30 0x000000fff24b4114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff24b4114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff24b4114 clang::ento::ProgramState::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 0x000000fff2144554 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x000000fff2144554 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x000000fff2144554 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x000000fff2144554 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x000000fff2144554 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x000000fff2144554 (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 0x000000fff2144a4c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #40 0x000000fff2144a4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #41 0x000000fff2144a4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #42 0x000000fff2144a4c (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 #43 0x000000fff2151610 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #44 0x000000fff2151610 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 #45 0x000000fff1f54df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #46 0x000000fff1f54df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x000000fff1f54df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #48 0x000000fff1f54df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #49 0x000000fff1f54df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #50 0x000000fff1fa6500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #51 0x000000fff1fa6500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #52 0x000000fff1fa6500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #53 0x000000fff1fa6500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #54 0x000000fff1fa6e4c clang::ento::ExprEngine::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 0x000000fff1f7ed1c clang::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 0x000000fff1f7ed1c clang::ento::ExprEngine::Visit(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 0x000000fff1f7fe0c clang::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 0x000000fff1f8165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff1f8187c clang::ento::CoreEngine::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 0x000000fff1f81c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #61 0x000000fff1f81c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #62 0x000000fff228f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #63 0x000000fff228f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #64 0x000000fff228f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #65 0x000000fff228f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #66 0x000000fff228f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #67 0x000000fff2290224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #68 0x000000fff2290224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #69 0x000000fff2290224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #70 0x000000fff2294604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x000000fff2294604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x000000fff2294604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #73 0x000000fff2294604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #74 0x000000fff2294604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #75 0x000000fff04d6978 __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 0x000000fff04d6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #77 0x000000fff04d6978 void clang::finalize>, 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 0x000000fff04d6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #79 0x000000fff1d4fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #80 0x000000fff1d0b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #81 0x000000fff1d0b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #82 0x000000fff1d0b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #83 0x000000fff1d9f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #84 0x000000aaad405c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #85 0x000000aaad409b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #86 0x000000aaad40b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #87 0x000000aaad402034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #88 0x000000ffe8ac88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #89 0x000000ffe8ac89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #90 0x000000aaad4020a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/max-nodes-suppress-on-sink.cpp.script: line 1: 3904973 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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.m (910 of 19712) ******************** TEST 'Clang :: Analysis/malloc.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7d26bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7d24c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7d273d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd9ac648 (linux-vdso.so.1+0x648) #4 0x000000fff07bd7f4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff07bd7f4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff07bd7f4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff07bd7f4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff07bd7f4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff07bd7f4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff07bd7f4 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff07bd7f4 (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 0x000000fff0585fc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x000000fff0585fc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x000000fff0585fc8 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 0x000000fff03b7a28 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x000000fff03b7a28 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x000000fff03b7a28 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:29 #18 0x000000fff03b7a28 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x000000fff046043c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x000000fff046043c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x000000fff046043c clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x000000fff046043c clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x000000fff04671d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x000000fff04671d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x000000fff04671d4 clang::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 0x000000fff03c2230 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff03c2230 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff03c2230 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x000000fff03c2230 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:0 #30 0x000000fff0918114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0918114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0918114 clang::ento::ProgramState::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 0x000000fff05a8554 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x000000fff05a8554 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x000000fff05a8554 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x000000fff05a8554 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x000000fff05a8554 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x000000fff05a8554 (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 0x000000fff05a8a4c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #40 0x000000fff05a8a4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #41 0x000000fff05a8a4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #42 0x000000fff05a8a4c (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 #43 0x000000fff05b5610 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #44 0x000000fff05b5610 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 #45 0x000000fff03b8df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #46 0x000000fff03b8df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x000000fff03b8df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #48 0x000000fff03b8df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #49 0x000000fff03b8df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #50 0x000000fff040a500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #51 0x000000fff040a500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #52 0x000000fff040a500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #53 0x000000fff040a500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #54 0x000000fff040ae4c clang::ento::ExprEngine::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 0x000000fff03e2d1c clang::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 0x000000fff03e2d1c clang::ento::ExprEngine::Visit(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 0x000000fff03e3e0c clang::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 0x000000fff03e565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff03e587c clang::ento::CoreEngine::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 0x000000fff03e5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #61 0x000000fff03e5c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #62 0x000000fff06f303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #63 0x000000fff06f303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #64 0x000000fff06f303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #65 0x000000fff06f303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #66 0x000000fff06f303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #67 0x000000fff06f4224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #68 0x000000fff06f4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #69 0x000000fff06f4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #70 0x000000fff06f8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x000000fff06f8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x000000fff06f8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #73 0x000000fff06f8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #74 0x000000fff06f8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #75 0x000000ffee93a978 __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 0x000000ffee93a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #77 0x000000ffee93a978 void clang::finalize>, 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 0x000000ffee93a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #79 0x000000fff01b3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #80 0x000000fff016f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #81 0x000000fff016f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #82 0x000000fff016f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #83 0x000000fff02039a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #84 0x000000aaae3a5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #85 0x000000aaae3a9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #86 0x000000aaae3ab234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #87 0x000000aaae3a2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #88 0x000000ffe6f2c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #89 0x000000ffe6f2c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #90 0x000000aaae3a20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc.m.script: line 1: 3904957 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/memory-model.cpp (911 of 19712) ******************** TEST 'Clang :: Analysis/memory-model.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe66fabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe66f8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe66fb3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffe54648 (linux-vdso.so.1+0x648) #4 0x000000ffeedaff68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000ffeedaff68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffeedaff68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffeedaff68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffeedaff68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffeedaff68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000ffeedaff68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000ffeedaff68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000ffeedb7d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x000000ffeedb7d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x000000ffeedb7d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x000000ffeedb7d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x000000ffeedb7d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x000000ffeedb7d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x000000ffeedb7d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x000000ffeedb7d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x000000ffeedb7d94 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 0x000000ffeedb965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffeedb987c clang::ento::CoreEngine::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 0x000000ffeedb9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #24 0x000000ffeedb9c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #25 0x000000ffef0c703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x000000ffef0c703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x000000ffef0c703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #28 0x000000ffef0c703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #29 0x000000ffef0c703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #30 0x000000ffef0c8224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #31 0x000000ffef0c8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #32 0x000000ffef0c8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #33 0x000000ffef0cc604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #34 0x000000ffef0cc604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #35 0x000000ffef0cc604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #36 0x000000ffef0cc604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #37 0x000000ffef0cc604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #38 0x000000ffed30e978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #39 0x000000ffed30e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #40 0x000000ffed30e978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #41 0x000000ffed30e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #42 0x000000ffeeb87b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #43 0x000000ffeeb43354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #44 0x000000ffeeb43354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #45 0x000000ffeeb43354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #46 0x000000ffeebd79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #47 0x000000aaab991c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #48 0x000000aaab995b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #49 0x000000aaab997234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #50 0x000000aaab98e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #51 0x000000ffe59008c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #52 0x000000ffe59009cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #53 0x000000aaab98e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/memory-model.cpp.script: line 1: 3904989 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/method-call-intra-p.cpp (912 of 19712) ******************** TEST 'Clang :: Analysis/method-call-intra-p.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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 0x000000ffe70f6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe70f4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe70f73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe808648 (linux-vdso.so.1+0x648) #4 0x000000ffef7abf68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000ffef7abf68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffef7abf68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffef7abf68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffef7abf68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffef7abf68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000ffef7abf68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000ffef7abf68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000ffef7b3d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x000000ffef7b3d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x000000ffef7b3d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x000000ffef7b3d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x000000ffef7b3d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x000000ffef7b3d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x000000ffef7b3d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x000000ffef7b3d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x000000ffef7b3d94 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 0x000000ffef7b565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef7b5780 clang::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 0x000000ffef7b5a58 clang::ento::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 0x000000ffef7b5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x000000ffef7b5c70 clang::ento::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 0x000000ffefac303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000ffefac303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000ffefac303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x000000ffefac303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x000000ffefac303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x000000ffefac4224 llvm::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 0x000000ffefac4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x000000ffefac4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x000000ffefac8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x000000ffefac8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x000000ffefac8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x000000ffefac8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x000000ffefac8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x000000ffedd0a978 __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 0x000000ffedd0a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x000000ffedd0a978 void clang::finalize>, 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 0x000000ffedd0a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x000000ffef583b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x000000ffef53f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x000000ffef53f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x000000ffef53f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x000000ffef5d39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000000aaad8d5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000000aaad8d9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000000aaad8db234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000000aaad8d2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x000000ffe62fc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #53 0x000000ffe62fc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #54 0x000000aaad8d20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/method-call-intra-p.cpp.script: line 1: 3905048 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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/max-nodes-suppress-on-sink.c (913 of 19712) ******************** TEST 'Clang :: Analysis/max-nodes-suppress-on-sink.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe69cabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe69c8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe69cb3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe754648 (linux-vdso.so.1+0x648) #4 0x000000ffef4617f4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef4617f4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef4617f4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef4617f4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef4617f4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef4617f4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef4617f4 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef4617f4 (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 0x000000ffef229fc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x000000ffef229fc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x000000ffef229fc8 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 0x000000ffef05ba28 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x000000ffef05ba28 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x000000ffef05ba28 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:29 #18 0x000000ffef05ba28 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x000000ffef10443c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x000000ffef10443c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x000000ffef10443c clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x000000ffef10443c clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x000000ffef10b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x000000ffef10b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x000000ffef10b1d4 clang::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 0x000000ffef066230 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000ffef066230 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000ffef066230 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x000000ffef066230 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:0 #30 0x000000ffef5bc114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef5bc114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef5bc114 clang::ento::ProgramState::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 0x000000ffef24c554 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x000000ffef24c554 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x000000ffef24c554 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x000000ffef24c554 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x000000ffef24c554 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x000000ffef24c554 (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 0x000000ffef24ca4c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #40 0x000000ffef24ca4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #41 0x000000ffef24ca4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #42 0x000000ffef24ca4c (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 #43 0x000000ffef259610 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #44 0x000000ffef259610 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 #45 0x000000ffef05cdf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #46 0x000000ffef05cdf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x000000ffef05cdf0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #48 0x000000ffef05cdf0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #49 0x000000ffef05cdf0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #50 0x000000ffef0ae500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #51 0x000000ffef0ae500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #52 0x000000ffef0ae500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #53 0x000000ffef0ae500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #54 0x000000ffef0aee4c clang::ento::ExprEngine::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 0x000000ffef086d1c clang::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 0x000000ffef086d1c clang::ento::ExprEngine::Visit(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 0x000000ffef087e0c clang::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 0x000000ffef08965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef08987c clang::ento::CoreEngine::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 0x000000ffef089c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #61 0x000000ffef089c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #62 0x000000ffef39703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #63 0x000000ffef39703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #64 0x000000ffef39703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #65 0x000000ffef39703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #66 0x000000ffef39703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #67 0x000000ffef398224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #68 0x000000ffef398224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #69 0x000000ffef398224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #70 0x000000ffef39c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x000000ffef39c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x000000ffef39c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #73 0x000000ffef39c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #74 0x000000ffef39c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #75 0x000000ffed5de978 __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 0x000000ffed5de978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #77 0x000000ffed5de978 void clang::finalize>, 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 0x000000ffed5de978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #79 0x000000ffeee57b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #80 0x000000ffeee13354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #81 0x000000ffeee13354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #82 0x000000ffeee13354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #83 0x000000ffeeea79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #84 0x000000aaab0f1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #85 0x000000aaab0f5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #86 0x000000aaab0f7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #87 0x000000aaab0ee034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #88 0x000000ffe5bd08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #89 0x000000ffe5bd09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #90 0x000000aaab0ee0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/max-nodes-suppress-on-sink.c.script: line 1: 3904970 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config max-nodes=12 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/max-nodes-suppress-on-sink.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/method-call.cpp (915 of 19712) ******************** TEST 'Clang :: Analysis/method-call.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9c4ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9c4cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9c4f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffda70648 (linux-vdso.so.1+0x648) #4 0x000000fff2307664 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff2307664 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff2307664 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff2307664 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff2307664 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff2307664 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff2307664 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff2307664 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 0x000000fff230808c 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 0x000000fff230da18 clang::ento::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 0x000000fff230dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x000000fff230dc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x000000fff261b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x000000fff261b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x000000fff261b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x000000fff261b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x000000fff261b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x000000fff261c224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x000000fff261c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x000000fff261c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x000000fff2620604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x000000fff2620604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x000000fff2620604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x000000fff2620604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x000000fff2620604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x000000fff0862978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x000000fff0862978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x000000fff0862978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x000000fff0862978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x000000fff20dbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x000000fff2097354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x000000fff2097354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x000000fff2097354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x000000fff212b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000000aaabd3dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000000aaabd41b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000000aaabd43234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000000aaabd3a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x000000ffe8e548c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #43 0x000000ffe8e549cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #44 0x000000aaabd3a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/method-call.cpp.script: line 1: 3906008 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/mig.mm (916 of 19712) ******************** TEST 'Clang :: Analysis/mig.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe866ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe866cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe866f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe8cc648 (linux-vdso.so.1+0x648) #4 0x000000fff0f048c8 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0f048c8 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0f048c8 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0f048c8 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0f048c8 llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:0 #9 0x000000fff0f048c8 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 0x000000fff0f048c8 contains<(anonymous namespace)::RefCountedParameters> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:470:0 #11 0x000000fff0f048c8 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MIGChecker.cpp:212:0 #12 0x000000fff0f048c8 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 0x000000fff0d00df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #14 0x000000fff0d00df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x000000fff0d00df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #16 0x000000fff0d00df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #17 0x000000fff0d00df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #18 0x000000fff0d52500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #19 0x000000fff0d52500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #20 0x000000fff0d52500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #21 0x000000fff0d52500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #22 0x000000fff0d52e4c clang::ento::ExprEngine::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 0x000000fff0d2ad1c clang::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 0x000000fff0d2ad1c clang::ento::ExprEngine::Visit(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 0x000000fff0d2be0c clang::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 0x000000fff0d2d65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff0d2d87c clang::ento::CoreEngine::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 0x000000fff0d2dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #29 0x000000fff0d2dc70 clang::ento::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 0x000000fff103b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x000000fff103b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x000000fff103b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #33 0x000000fff103b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #34 0x000000fff103b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #35 0x000000fff103c224 llvm::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 0x000000fff103c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x000000fff103c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #38 0x000000fff1040604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x000000fff1040604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x000000fff1040604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x000000fff1040604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x000000fff1040604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x000000ffef282978 __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 0x000000ffef282978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x000000ffef282978 void clang::finalize>, 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 0x000000ffef282978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x000000fff0afbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #48 0x000000fff0ab7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #49 0x000000fff0ab7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #50 0x000000fff0ab7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #51 0x000000fff0b4b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #52 0x000000aaadcf9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x000000aaadcfdb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x000000aaadcff234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x000000aaadcf6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x000000ffe78748c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #57 0x000000ffe78749cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #58 0x000000aaadcf60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/mig.mm.script: line 1: 3906021 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,osx.MIG -std=c++14 -analyzer-output=text -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mig.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/misc-ps-cxx0x.cpp (917 of 19712) ******************** TEST 'Clang :: Analysis/misc-ps-cxx0x.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8e4ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8e4cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8e4f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcb6c648 (linux-vdso.so.1+0x648) #4 0x000000fff1901388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1901388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1901388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1901388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1901388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1901388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1901388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1901388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff15783a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff15783a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff15783a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff15783a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff15783a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff15783a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff15783a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff15783a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff157bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff157bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff157bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff157bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff156f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff156f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff156f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff157d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff157d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff157d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff156fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff156fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff156fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff15883b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff15883b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff15883b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff158f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff158f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff158f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff14ea138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff14ea138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff14ea138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff14ea138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff14ea688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff14ea688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff14ea688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff14b2b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff14b2b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff14b2b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff14fe674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff14fe674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff14fe674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000fff150e010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff150e010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff150e010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff181b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff181b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff181b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff181b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff181b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff181c224 llvm::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 0x000000fff181c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff181c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff1820604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff1820604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff1820604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff1820604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff1820604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffefa62978 __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 0x000000ffefa62978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffefa62978 void clang::finalize>, 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 0x000000ffefa62978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff12dbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff1297354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff1297354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff1297354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff132b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaac0a9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaac0adb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaac0af234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaac0a6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe80548c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe80549cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaac0a60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps-cxx0x.cpp.script: line 1: 3906040 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.NullDereference,core.uninitialized.UndefReturn -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-cxx0x.cpp -verify -o /dev/null -- ******************** Testing: 0 FAIL: Clang :: Analysis/misc-ps-ranges.m (918 of 19712) ******************** TEST 'Clang :: Analysis/misc-ps-ranges.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7d1abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7d18c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7d1b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffdd54648 (linux-vdso.so.1+0x648) #4 0x000000fff04689e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff04689e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff04689e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff04689e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000fff04689e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000fff04689e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000fff03d0278 llvm::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 0x000000fff03d0278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000fff03d0278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000fff03d0278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000fff03d7d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #15 0x000000fff03d7d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #16 0x000000fff03d7d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #17 0x000000fff03d7d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #18 0x000000fff03d7d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #19 0x000000fff03d7d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #20 0x000000fff03d7d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #21 0x000000fff03d7d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #22 0x000000fff03d7d94 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 #23 0x000000fff03d965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff03d9780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #25 0x000000fff03d9a58 clang::ento::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 #26 0x000000fff03d9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000fff03d9c70 clang::ento::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 0x000000fff06e703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000fff06e703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000fff06e703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000fff06e703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000fff06e703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000fff06e8224 llvm::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 0x000000fff06e8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000fff06e8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000fff06ec604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000fff06ec604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000fff06ec604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000fff06ec604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000fff06ec604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000ffee92e978 __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 0x000000ffee92e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x000000ffee92e978 void clang::finalize>, 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 0x000000ffee92e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x000000fff01a7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x000000fff0163354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x000000fff0163354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x000000fff0163354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x000000fff01f79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #50 0x000000aaab955c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x000000aaab959b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x000000aaab95b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x000000aaab952034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x000000ffe6f208c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #55 0x000000ffe6f209cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #56 0x000000aaab9520a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps-ranges.m.script: line 1: 3906053 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-ranges.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/misc-ps-eager-assume.m (919 of 19712) ******************** TEST 'Clang :: Analysis/misc-ps-eager-assume.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9c62bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9c60c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9c633d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc960648 (linux-vdso.so.1+0x648) #4 0x000000fff2715388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2715388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2715388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2715388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2715388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2715388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2715388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2715388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff238c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff238c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff238c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff238c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff238c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff238c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff238c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff238c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff238fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff238fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff238fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff238fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff2383430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff2383430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff2383430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff23913b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff23913b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff23913b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff2383d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff2383d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff2383d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff239c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff239c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff239c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff23a31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff23a31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff23a31d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff22fe0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff22fe0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff22fe0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff22fe0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff2313e4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff2313e4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff2313e4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000fff2313e4c 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:0 #47 0x000000fff231fb90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000fff231fb90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000fff231fb90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000fff231fb90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000fff231fb90 clang::ento::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 #52 0x000000fff231fe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000fff232165c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000fff232187c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000fff2321c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000fff2321c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000fff262f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff262f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff262f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000fff262f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000fff262f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000fff2630224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000fff2630224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000fff2630224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000fff2634604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000fff2634604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000fff2634604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000fff2634604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000fff2634604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000fff0876978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000fff0876978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000fff0876978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000fff0876978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000fff20efb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000fff20ab354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000fff20ab354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000fff20ab354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000fff213f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaace95c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaace99b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaace9b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaace92034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe8e688c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe8e689cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaace920a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps-eager-assume.m.script: line 1: 3906045 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/method-call-path-notes.cpp (920 of 19712) ******************** TEST 'Clang :: Analysis/method-call-path-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe70bebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe70bcc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe70bf3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff3c8648 (linux-vdso.so.1+0x648) #4 0x000000ffefb71388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffefb71388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffefb71388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffefb71388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffefb71388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffefb71388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffefb71388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffefb71388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef7e83a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef7e83a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef7e83a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef7e83a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef7e83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef7e83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef7e83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef7e83a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef7ebdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef7ebdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef7ebdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef7ebdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef7df430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef7df430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef7df430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef7ed3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef7ed3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef7ed3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef7dfd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef7dfd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef7dfd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef7f83b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef7f83b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef7f83b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef7ff1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef7ff1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef7ff1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef75a0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef75a0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef75a0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef75a0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000ffef76fe4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffef76fe4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffef76fe4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000ffef76fe4c 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:0 #47 0x000000ffef77bb90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000ffef77bb90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000ffef77bb90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000ffef77bb90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000ffef77bb90 clang::ento::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 #52 0x000000ffef77be0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000ffef77d65c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000ffef77d87c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000ffef77dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000ffef77dc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000ffefa8b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000ffefa8b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000ffefa8b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000ffefa8b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000ffefa8b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000ffefa8c224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000ffefa8c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000ffefa8c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000ffefa90604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000ffefa90604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000ffefa90604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000ffefa90604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000ffefa90604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000ffedcd2978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000ffedcd2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000ffedcd2978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000ffedcd2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000ffef54bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000ffef507354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000ffef507354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000ffef507354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000ffef59b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaab355c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaab359b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaab35b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaab352034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe62c48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe62c49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaab3520a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/method-call-path-notes.cpp.script: line 3: 3905981 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/misc-ps-64.m (921 of 19712) ******************** TEST 'Clang :: Analysis/misc-ps-64.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe752ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe752cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe752f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff660648 (linux-vdso.so.1+0x648) #4 0x000000ffeffe1388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffeffe1388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffeffe1388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffeffe1388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffeffe1388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffeffe1388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffeffe1388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffeffe1388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffefc583a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffefc583a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffefc583a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffefc583a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffefc583a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffefc583a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffefc583a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffefc583a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffefc5bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffefc5bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffefc5bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffefc5bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffefc4f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffefc4f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffefc4f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffefc5d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffefc5d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffefc5d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffefc4fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffefc4fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffefc4fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffefc683b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffefc683b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffefc683b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffefc6f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffefc6f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffefc6f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffefbca0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffefbca0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffefbca0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffefbca0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000ffefbdfe4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffefbdfe4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffefbdfe4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000ffefbdfe4c 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:0 #47 0x000000ffefbebb90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000ffefbebb90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000ffefbebb90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000ffefbebb90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000ffefbebb90 clang::ento::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 #52 0x000000ffefbebe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000ffefbed65c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000ffefbed87c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000ffefbedc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000ffefbedc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000ffefefb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000ffefefb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000ffefefb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000ffefefb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000ffefefb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000ffefefc224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000ffefefc224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000ffefefc224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000ffeff00604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000ffeff00604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000ffeff00604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000ffeff00604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000ffeff00604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000ffee142978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000ffee142978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000ffee142978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000ffee142978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000ffef9bbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000ffef977354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000ffef977354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000ffef977354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000ffefa0b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaaad39c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaaad3db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaaad3f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaaad36034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe67348c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe67349cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaaad360a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps-64.m.script: line 1: 3906030 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -analyzer-checker=core,alpha.core -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-64.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/misc-ps-region-store.cpp (922 of 19712) ******************** TEST 'Clang :: Analysis/misc-ps-region-store.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8b6abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8b68c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8b6b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc0bc648 (linux-vdso.so.1+0x648) #4 0x000000fff161d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff161d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff161d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff161d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff161d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff161d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff161d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff161d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff12943a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff12943a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff12943a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff12943a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff12943a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff12943a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff12943a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff12943a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1297dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1297dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1297dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1297dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff128b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff128b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff128b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff12993b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff12993b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff12993b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff128bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff128bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff128bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff12a43b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff12a43b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff12a43b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff12ab1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff12ab1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff12ab1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff12060e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff12060e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff12060e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff12060e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff121be4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff121be4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff121be4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000fff121be4c 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:0 #47 0x000000fff1227b90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000fff1227b90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000fff1227b90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000fff1227b90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000fff1227b90 clang::ento::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 #52 0x000000fff1227e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000fff122965c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000fff122987c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000fff1229c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000fff1229c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000fff153703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff153703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff153703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000fff153703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000fff153703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000fff1538224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000fff1538224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000fff1538224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000fff153c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000fff153c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000fff153c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000fff153c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000fff153c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000ffef77e978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000ffef77e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000ffef77e978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000ffef77e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000fff0ff7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000fff0fb3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000fff0fb3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000fff0fb3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000fff10479a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaae325c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaae329b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaae32b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaae322034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe7d708c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe7d709cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaae3220a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps-region-store.cpp.script: line 2: 3906164 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.cpp -fexceptions -fcxx-exceptions -Wno-tautological-undefined-compare -- ******************** Testing: 0 FAIL: Clang :: Analysis/misc-ps-region-store.m (923 of 19712) ******************** TEST 'Clang :: Analysis/misc-ps-region-store.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9fa6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9fa4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9fa73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff26c648 (linux-vdso.so.1+0x648) #4 0x000000fff2a59388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2a59388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2a59388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2a59388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2a59388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2a59388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2a59388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2a59388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff26d03a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff26d03a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff26d03a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff26d03a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff26d03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff26d03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff26d03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff26d03a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff26d3dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff26d3dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff26d3dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff26d3dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff26c7430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff26c7430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff26c7430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff26d53b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff26d53b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff26d53b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff26c7d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff26c7d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff26c7d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff26e03b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff26e03b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff26e03b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff26e71d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff26e71d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff26e71d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff26420e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff26420e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff26420e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff26420e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff2657e4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff2657e4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff2657e4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000fff2657e4c 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:0 #47 0x000000fff2663b90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000fff2663b90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000fff2663b90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000fff2663b90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000fff2663b90 clang::ento::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 #52 0x000000fff2663e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000fff266565c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000fff266587c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000fff2665c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000fff2665c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000fff297303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff297303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff297303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000fff297303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000fff297303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000fff2974224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000fff2974224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000fff2974224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000fff2978604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000fff2978604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000fff2978604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000fff2978604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000fff2978604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000fff0bba978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000fff0bba978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000fff0bba978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000fff0bba978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000fff2433b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000fff23ef354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000fff23ef354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000fff23ef354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000fff24839a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaae989c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaae98db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaae98f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaae986034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe91ac8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe91ac9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaae9860a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps-region-store.m.script: line 2: 3906988 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -analyzer-checker=core,alpha.core.CastToStruct,alpha.security.ReturnPtrRange,alpha.security.ArrayBound -verify -fblocks -Wno-objc-root-class -Wno-strict-prototypes -Wno-error=implicit-function-declaration /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/misc-ps-region-store.mm (924 of 19712) ******************** TEST 'Clang :: Analysis/misc-ps-region-store.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea26abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea268c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea26b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcd2c648 (linux-vdso.so.1+0x648) #4 0x000000fff28f5650 llvm::ImutAVLTree, bool>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000fff28f5650 llvm::IntrusiveRefCntPtrInfo, bool>>>::retain(llvm::ImutAVLTree, bool>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff28f5650 llvm::IntrusiveRefCntPtr, bool>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff28f5650 llvm::IntrusiveRefCntPtr, bool>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree, bool>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff28f5650 llvm::ImmutableMap, bool, llvm::ImutKeyValueInfo, bool>>::ImmutableMap(llvm::ImutAVLTree, bool>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff28f5650 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 0x000000fff28f5650 get<(anonymous namespace)::ObjCForHasMoreIterations> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000fff28f5650 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 0x000000fff2916ef0 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2691:0 #13 0x000000fff2916ef0 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:0 #14 0x000000fff29177ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #15 0x000000fff2929c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #16 0x000000fff2929c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #17 0x000000fff2c3703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #18 0x000000fff2c3703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x000000fff2c3703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #20 0x000000fff2c3703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #21 0x000000fff2c3703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #22 0x000000fff2c38224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #23 0x000000fff2c38224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #24 0x000000fff2c38224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #25 0x000000fff2c3c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x000000fff2c3c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x000000fff2c3c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #28 0x000000fff2c3c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #29 0x000000fff2c3c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #30 0x000000fff0e7e978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #31 0x000000fff0e7e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #32 0x000000fff0e7e978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #33 0x000000fff0e7e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #34 0x000000fff26f7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #35 0x000000fff26b3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #36 0x000000fff26b3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #37 0x000000fff26b3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #38 0x000000fff27479a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #39 0x000000aaae485c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #40 0x000000aaae489b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #41 0x000000aaae48b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #42 0x000000aaae482034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #43 0x000000ffe94708c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #44 0x000000ffe94709cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #45 0x000000aaae4820a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps-region-store.mm.script: line 2: 3907001 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -analyzer-checker=core,alpha.core -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/misc-ps.m (926 of 19712) ******************** TEST 'Clang :: Analysis/misc-ps.m' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8f2ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8f2cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8f2f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffffec648 (linux-vdso.so.1+0x648) #4 0x000000fff19e1388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff19e1388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff19e1388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff19e1388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff19e1388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff19e1388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff19e1388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff19e1388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff16583a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff16583a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff16583a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff16583a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff16583a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff16583a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff16583a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff16583a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff165bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff165bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff165bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff165bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff164f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff164f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff164f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff165d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff165d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff165d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff164fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff164fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff164fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff16683b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff16683b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff16683b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff166f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff166f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff166f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff15ca138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff15ca138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff15ca138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff15ca138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1b20114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff1b20114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff1b20114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff15db190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff15db190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff15db190 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:0 #49 0x000000fff15db190 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:0 #50 0x000000fff15db190 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:0 #51 0x000000fff15db190 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:0 #52 0x000000fff15db190 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:0 #53 0x000000fff15db190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff15db190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff15db190 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:0 #56 0x000000fff15db7ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff15edc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff15edc70 clang::ento::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 0x000000fff18fb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff18fb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff18fb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff18fb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff18fb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff18fc224 llvm::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 0x000000fff18fc224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff18fc224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff1900604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff1900604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff1900604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff1900604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff1900604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffefb42978 __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 0x000000ffefb42978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffefb42978 void clang::finalize>, 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 0x000000ffefb42978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff13bbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff1377354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff1377354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff1377354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff140b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaac671c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaac675b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaac677234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaac66e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe81348c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe81349cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaac66e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps.m.script: line 2: 3907176 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/misc-ps.c (927 of 19712) ******************** TEST 'Clang :: Analysis/misc-ps.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9d56bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9d54c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9d573d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcb04648 (linux-vdso.so.1+0x648) #4 0x000000fff2809388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2809388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2809388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2809388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2809388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2809388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2809388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2809388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff24803a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff24803a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff24803a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff24803a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff24803a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff24803a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff24803a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff24803a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff2483dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff2483dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff2483dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff2483dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff2477430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff2477430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff2477430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff24853b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff24853b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff24853b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff2477d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff2477d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff2477d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff24903b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff24903b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff24903b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff24971d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff24971d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff24971d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff23f20e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff23f20e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff23f20e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff23f20e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff2407e4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff2407e4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff2407e4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000fff2407e4c 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:0 #47 0x000000fff2413b90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000fff2413b90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000fff2413b90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000fff2413b90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000fff2413b90 clang::ento::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 #52 0x000000fff2413e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000fff241565c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000fff241587c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000fff2415c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000fff2415c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000fff272303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff272303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff272303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000fff272303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000fff272303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000fff2724224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000fff2724224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000fff2724224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000fff2728604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000fff2728604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000fff2728604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000fff2728604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000fff2728604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000fff096a978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000fff096a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000fff096a978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000fff096a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000fff21e3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000fff219f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000fff219f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000fff219f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000fff22339a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaab335c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaab339b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaab33b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaab332034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe8f5c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe8f5c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaab3320a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps.c.script: line 1: 3907136 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/model-file.cpp (929 of 19712) ******************** TEST 'Clang :: Analysis/model-file.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffea282bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea280c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea2833d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd3e0648 (linux-vdso.so.1+0x648) #4 0x000000fff2d35388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2d35388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2d35388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2d35388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2d35388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2d35388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2d35388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2d35388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff29ac3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff29ac3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff29ac3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff29ac3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff29ac3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff29ac3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff29ac3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff29ac3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff29afaec llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff29afaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff29afaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff29afaec (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:31 #24 0x000000fff29ae65c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff29ae65c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff29ae65c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000fff29b1444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff29b1444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff29b1444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000fff29a3d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff29a3d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff29a3d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff29bc3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff29bc3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff29bc3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff29c31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff29c31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff29c31d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff291e0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff291e0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff291e0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff291e0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff2e74114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff2e74114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff2e74114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff292f190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff292f190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff292f190 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:0 #49 0x000000fff292f190 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:0 #50 0x000000fff292f190 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:0 #51 0x000000fff292f190 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:0 #52 0x000000fff292f190 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:0 #53 0x000000fff292f190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff292f190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff292f190 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:0 #56 0x000000fff292f7ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff2941c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff2941c70 clang::ento::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 0x000000fff2c4f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff2c4f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff2c4f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff2c4f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff2c4f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff2c50224 llvm::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 0x000000fff2c50224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff2c50224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff2c54604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff2c54604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff2c54604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff2c54604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff2c54604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000fff0e96978 __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 0x000000fff0e96978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000fff0e96978 void clang::finalize>, 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 0x000000fff0e96978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff270fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff26cb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff26cb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff26cb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff275f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaae949c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaae94db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaae94f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaae946034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe94888c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe94889cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaae9460a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/model-file.cpp.script: line 2: 3907210 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/model-file.cpp.tmp -- ******************** Testing: 0 FAIL: Clang :: Analysis/mutually_exclusive_null_fp.cpp (930 of 19712) ******************** TEST 'Clang :: Analysis/mutually_exclusive_null_fp.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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 0x000000ffe7a1abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7a18c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7a1b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe87c648 (linux-vdso.so.1+0x648) #4 0x000000fff00f6984 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff00f6984 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff00f6984 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff00f6984 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff00f6984 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff00f6984 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff00f6984 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff00f6984 (anonymous namespace)::EquivalenceClass::mergeImpl(clang::ento::RangeSet::Factory&, llvm::IntrusiveRefCntPtr, llvm::ImmutableSet>, (anonymous namespace)::EquivalenceClass, llvm::ImmutableSet>) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2361:63 #12 0x000000fff012580c llvm::IntrusiveRefCntPtrInfo>>::release(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:351:0 #13 0x000000fff012580c llvm::IntrusiveRefCntPtr>>::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x000000fff012580c llvm::IntrusiveRefCntPtr>>::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x000000fff012580c llvm::ImmutableSet>::~ImmutableSet() /usr/include/llvm/ADT/ImmutableSet.h:957:0 #16 0x000000fff012580c (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 0x000000fff014499c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #18 0x000000fff014499c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #19 0x000000fff014499c merge /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2309:48 #20 0x000000fff014499c trackEquality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2160:65 #21 0x000000fff014499c assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2238:28 #22 0x000000fff014499c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #23 0x000000fff014499c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #24 0x000000fff014499c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #25 0x000000fff014499c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #26 0x000000fff014499c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #27 0x000000fff014499c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #28 0x000000fff0147dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #29 0x000000fff0147dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #30 0x000000fff0147dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x000000fff0147dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #32 0x000000fff013b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x000000fff013b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x000000fff013b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, 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 0x000000fff0149670 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x000000fff0149670 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x000000fff0149670 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 0x000000fff013bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #39 0x000000fff013bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #40 0x000000fff013bd18 clang::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 0x000000fff01543b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #42 0x000000fff01543b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #43 0x000000fff01543b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #44 0x000000fff015b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x000000fff015b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x000000fff015b1d4 clang::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 0x000000fff00b60e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #48 0x000000fff00b60e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #49 0x000000fff00b60e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #50 0x000000fff00b60e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #51 0x000000fff00cbe4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #52 0x000000fff00cbe4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #53 0x000000fff00cbe4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #54 0x000000fff00cbe4c 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:0 #55 0x000000fff00d7b90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #56 0x000000fff00d7b90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #57 0x000000fff00d7b90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #58 0x000000fff00d7b90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #59 0x000000fff00d7b90 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #60 0x000000fff00d7e0c clang::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 0x000000fff00d965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff00d987c clang::ento::CoreEngine::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 0x000000fff00d9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #64 0x000000fff00d9c70 clang::ento::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 0x000000fff03e703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #66 0x000000fff03e703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #67 0x000000fff03e703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #68 0x000000fff03e703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #69 0x000000fff03e703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #70 0x000000fff03e8224 llvm::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 0x000000fff03e8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #72 0x000000fff03e8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #73 0x000000fff03ec604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #74 0x000000fff03ec604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #75 0x000000fff03ec604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #76 0x000000fff03ec604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #77 0x000000fff03ec604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #78 0x000000ffee62e978 __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 0x000000ffee62e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #80 0x000000ffee62e978 void clang::finalize>, 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 0x000000ffee62e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #82 0x000000ffefea7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #83 0x000000ffefe63354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #84 0x000000ffefe63354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #85 0x000000ffefe63354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #86 0x000000ffefef79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #87 0x000000aaabbb9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #88 0x000000aaabbbdb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #89 0x000000aaabbbf234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #90 0x000000aaabbb6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #91 0x000000ffe6c208c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #92 0x000000ffe6c209cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #93 0x000000aaabbb60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/mutually_exclusive_null_fp.cpp.script: line 1: 3907246 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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/missing-bind-temporary.cpp (931 of 19712) ******************** TEST 'Clang :: Analysis/missing-bind-temporary.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea4dabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea4d8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea4db3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff724648 (linux-vdso.so.1+0x648) #4 0x000000fff2b8ff68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff2b8ff68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff2b8ff68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff2b8ff68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff2b8ff68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff2b8ff68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff2b8ff68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff2b8ff68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000fff2b97d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x000000fff2b97d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x000000fff2b97d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x000000fff2b97d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x000000fff2b97d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x000000fff2b97d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x000000fff2b97d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x000000fff2b97d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x000000fff2b97d94 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 0x000000fff2b9965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff2b99780 clang::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 0x000000fff2b99a58 clang::ento::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 0x000000fff2b99c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x000000fff2b99c70 clang::ento::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 0x000000fff2ea703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff2ea703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff2ea703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x000000fff2ea703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x000000fff2ea703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x000000fff2ea8224 llvm::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 0x000000fff2ea8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x000000fff2ea8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x000000fff2eac604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x000000fff2eac604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x000000fff2eac604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x000000fff2eac604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x000000fff2eac604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x000000fff10ee978 __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 0x000000fff10ee978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x000000fff10ee978 void clang::finalize>, 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 0x000000fff10ee978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x000000fff2967b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x000000fff2923354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x000000fff2923354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x000000fff2923354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x000000fff29b79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000000aaad1a9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000000aaad1adb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000000aaad1af234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000000aaad1a6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x000000ffe96e08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #53 0x000000ffe96e09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #54 0x000000aaad1a60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/missing-bind-temporary.cpp.script: line 3: 3907185 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/new-aligned.cpp (932 of 19712) ******************** TEST 'Clang :: Analysis/new-aligned.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe97e2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe97e0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe97e33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc05c648 (linux-vdso.so.1+0x648) #4 0x000000fff2295388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2295388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2295388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2295388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2295388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2295388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2295388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2295388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff1f0c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff1f0c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff1f0c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff1f0c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff1f0c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff1f0c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff1f0c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff1f0c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1f0fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1f0fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1f0fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1f0fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1f03430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1f03430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1f03430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff1f113b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff1f113b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff1f113b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1f03d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1f03d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1f03d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff1f1c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff1f1c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff1f1c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff1f231d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff1f231d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff1f231d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1e7e138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1e7e138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1e7e138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1e7e138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1e7e688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff1e7e688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff1e7e688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff1ee59ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff1ee59ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff1ee59ac clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff1ee59ac clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #50 0x000000fff1e98d50 clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1318:0 #51 0x000000fff1ea16a8 clang::ento::ExprEngine::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 #52 0x000000fff1ea1780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #53 0x000000fff1ea1a58 clang::ento::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 #54 0x000000fff1ea1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x000000fff1ea1c70 clang::ento::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 0x000000fff21af03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x000000fff21af03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x000000fff21af03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x000000fff21af03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x000000fff21af03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x000000fff21b0224 llvm::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 0x000000fff21b0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x000000fff21b0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x000000fff21b4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x000000fff21b4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x000000fff21b4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x000000fff21b4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x000000fff21b4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x000000fff03f6978 __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 0x000000fff03f6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x000000fff03f6978 void clang::finalize>, 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 0x000000fff03f6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x000000fff1c6fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x000000fff1c2b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x000000fff1c2b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x000000fff1c2b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x000000fff1cbf9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x000000aaad121c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x000000aaad125b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x000000aaad127234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x000000aaad11e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x000000ffe89e88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #83 0x000000ffe89e89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #84 0x000000aaad11e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-aligned.cpp.script: line 1: 3907248 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/mpicheckernotes.cpp (933 of 19712) ******************** TEST 'Clang :: Analysis/mpicheckernotes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe72d6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe72d4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe72d73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe8f0648 (linux-vdso.so.1+0x648) #4 0x000000ffefb71404 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffefb71404 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffefb71404 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffefb71404 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffefb71404 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffefb71404 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 0x000000ffefb71404 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 0x000000ffefb71404 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 0x000000ffef95a8e8 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x000000ffef98c1b4 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x000000ffef98c1b4 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x000000ffef98c1b4 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #16 0x000000ffef98c1b4 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #17 0x000000ffef98c1b4 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #18 0x000000ffef98c1b4 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #19 0x000000ffef98c1b4 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #20 0x000000ffef993d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x000000ffef993d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x000000ffef993d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x000000ffef993d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x000000ffef993d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x000000ffef993d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x000000ffef993d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x000000ffef993d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x000000ffef993d94 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 0x000000ffef99565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef99587c clang::ento::CoreEngine::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 0x000000ffef995c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #32 0x000000ffef995c70 clang::ento::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 0x000000ffefca303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x000000ffefca303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x000000ffefca303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #36 0x000000ffefca303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #37 0x000000ffefca303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #38 0x000000ffefca4224 llvm::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 0x000000ffefca4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #40 0x000000ffefca4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #41 0x000000ffefca8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x000000ffefca8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x000000ffefca8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #44 0x000000ffefca8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #45 0x000000ffefca8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #46 0x000000ffedeea978 __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 0x000000ffedeea978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #48 0x000000ffedeea978 void clang::finalize>, 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 0x000000ffedeea978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #50 0x000000ffef763b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #51 0x000000ffef71f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #52 0x000000ffef71f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #53 0x000000ffef71f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #54 0x000000ffef7b39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #55 0x000000aaac359c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #56 0x000000aaac35db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #57 0x000000aaac35f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #58 0x000000aaac356034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #59 0x000000ffe64dc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #60 0x000000ffe64dc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #61 0x000000aaac3560a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/mpicheckernotes.cpp.script: line 1: 3907232 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=optin.mpi.MPI-Checker -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mpicheckernotes.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/mpichecker.cpp (934 of 19712) ******************** TEST 'Clang :: Analysis/mpichecker.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8d6ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8d6cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8d6f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcf34648 (linux-vdso.so.1+0x648) #4 0x000000fff1609404 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1609404 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1609404 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1609404 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1609404 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1609404 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 0x000000fff1609404 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 0x000000fff1609404 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 0x000000fff13f28e8 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x000000fff14241b4 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x000000fff14241b4 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x000000fff14241b4 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #16 0x000000fff14241b4 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #17 0x000000fff14241b4 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #18 0x000000fff14241b4 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #19 0x000000fff14241b4 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #20 0x000000fff142bd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x000000fff142bd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x000000fff142bd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x000000fff142bd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x000000fff142bd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x000000fff142bd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x000000fff142bd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x000000fff142bd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x000000fff142bd94 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 0x000000fff142d65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff142d87c clang::ento::CoreEngine::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 0x000000fff142dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #32 0x000000fff142dc70 clang::ento::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 0x000000fff173b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x000000fff173b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x000000fff173b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #36 0x000000fff173b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #37 0x000000fff173b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #38 0x000000fff173c224 llvm::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 0x000000fff173c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #40 0x000000fff173c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #41 0x000000fff1740604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x000000fff1740604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x000000fff1740604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #44 0x000000fff1740604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #45 0x000000fff1740604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #46 0x000000ffef982978 __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 0x000000ffef982978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #48 0x000000ffef982978 void clang::finalize>, 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 0x000000ffef982978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #50 0x000000fff11fbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #51 0x000000fff11b7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #52 0x000000fff11b7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #53 0x000000fff11b7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #54 0x000000fff124b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #55 0x000000aaae5b5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #56 0x000000aaae5b9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #57 0x000000aaae5bb234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #58 0x000000aaae5b2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #59 0x000000ffe7f748c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #60 0x000000ffe7f749cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #61 0x000000aaae5b20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/mpichecker.cpp.script: line 1: 3907227 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/mismatched-iterator.cpp (935 of 19712) ******************** TEST 'Clang :: Analysis/mismatched-iterator.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7326bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7324c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe73273d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd13c648 (linux-vdso.so.1+0x648) #4 0x000000ffef9fd510 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000ffef9fd510 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffef9fd510 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffef9fd510 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffef9fd510 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffef9fd510 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000ffef9fd510 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000ffef9fd510 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x000000ffef9fd510 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x000000ffef9fd608 (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 0x000000ffefa6a6e4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #15 0x000000ffefa6a6e4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #16 0x000000ffefa6a6e4 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #17 0x000000ffefa6a6e4 (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 #18 0x000000ffefa69e7c clang::ento::BinarySymExprImpl::getLHS() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:443:0 #19 0x000000ffefa69e7c VisitSymIntExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1271:0 #20 0x000000ffefa69e7c 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 #21 0x000000ffefed76f4 llvm::DenseMap, llvm::detail::DenseMapPair>::~DenseMap() /usr/include/llvm/ADT/DenseMap.h:782:0 #22 0x000000ffefed76f4 ~Simplifier /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1211:0 #23 0x000000ffefed76f4 (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 #24 0x000000ffefa48030 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #25 0x000000ffefa48030 (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 #26 0x000000ffefa47664 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x000000ffefa47664 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x000000ffefa47664 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #29 0x000000ffefa47768 clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #30 0x000000ffefa55310 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 #31 0x000000ffefa47d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #32 0x000000ffefa47d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #33 0x000000ffefa47d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #34 0x000000ffefa603b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #35 0x000000ffefa603b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #36 0x000000ffefa603b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #37 0x000000ffefa671d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #38 0x000000ffefa671d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #39 0x000000ffefa671d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #40 0x000000ffef9c20e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #41 0x000000ffef9c20e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #42 0x000000ffef9c20e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #43 0x000000ffef9c20e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #44 0x000000ffef9c2688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x000000ffef9c2688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x000000ffef9c2688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #47 0x000000ffef98ab4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #48 0x000000ffef98ab4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #49 0x000000ffef98ab4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #50 0x000000ffefb69b98 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #51 0x000000ffefb69b98 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #52 0x000000ffefb69b98 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 #53 0x000000ffefadaab8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #54 0x000000ffefadaab8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #55 0x000000ffefadaab8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #56 0x000000ffefadaab8 createContainerBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:850:27 #57 0x000000ffefadaab8 handleBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:258:33 #58 0x000000ffefadaab8 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:193:20 #59 0x000000ffefadaab8 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::ContainerModeling>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:46 #60 0x000000ffef9b8df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #61 0x000000ffef9b8df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x000000ffef9b8df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #63 0x000000ffef9b8df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #64 0x000000ffef9b8df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #65 0x000000ffefa0a500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #66 0x000000ffefa0a500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #67 0x000000ffefa0a500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #68 0x000000ffefa0a500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #69 0x000000ffefa0ae4c clang::ento::ExprEngine::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 #70 0x000000ffef9e2d1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #71 0x000000ffef9e2d1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #72 0x000000ffef9e3e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #73 0x000000ffef9e565c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #74 0x000000ffef9e587c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #75 0x000000ffef9e5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #76 0x000000ffef9e5c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #77 0x000000ffefcf303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #78 0x000000ffefcf303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #79 0x000000ffefcf303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #80 0x000000ffefcf303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #81 0x000000ffefcf303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #82 0x000000ffefcf4224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #83 0x000000ffefcf4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #84 0x000000ffefcf4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #85 0x000000ffefcf8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #86 0x000000ffefcf8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #87 0x000000ffefcf8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #88 0x000000ffefcf8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #89 0x000000ffefcf8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #90 0x000000ffedf3a978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #91 0x000000ffedf3a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #92 0x000000ffedf3a978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #93 0x000000ffedf3a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #94 0x000000ffef7b3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #95 0x000000ffef76f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #96 0x000000ffef76f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #97 0x000000ffef76f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #98 0x000000ffef8039a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #99 0x000000aaac755c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #100 0x000000aaac759b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #101 0x000000aaac75b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #102 0x000000aaac752034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #103 0x000000ffe652c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #104 0x000000ffe652c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #105 0x000000aaac7520a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/mismatched-iterator.cpp.script: line 2: 3907178 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (936 of 19712) ******************** TEST 'Clang :: Analysis/new-ctor-conservative.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6dfebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6dfcc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6dff3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffeadc648 (linux-vdso.so.1+0x648) #4 0x000000ffef8b1388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef8b1388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef8b1388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef8b1388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef8b1388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef8b1388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef8b1388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef8b1388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef5283a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef5283a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef5283a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef5283a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef5283a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef5283a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef5283a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef5283a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef52bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef52bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef52bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef52bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef51f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef51f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef51f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef52d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef52d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef52d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef51fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef51fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef51fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef5383b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef5383b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef5383b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef53f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef53f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef53f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef49a138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef49a138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef49a138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef49a138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffef49a688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffef49a688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffef49a688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000ffef5019ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000ffef5019ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000ffef5019ac clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000ffef5019ac clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #50 0x000000ffef4b4d50 clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1318:0 #51 0x000000ffef4bd6a8 clang::ento::ExprEngine::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 #52 0x000000ffef4bd780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #53 0x000000ffef4bda58 clang::ento::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 #54 0x000000ffef4bdc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x000000ffef4bdc70 clang::ento::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 0x000000ffef7cb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x000000ffef7cb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x000000ffef7cb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x000000ffef7cb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x000000ffef7cb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x000000ffef7cc224 llvm::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 0x000000ffef7cc224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x000000ffef7cc224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x000000ffef7d0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x000000ffef7d0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x000000ffef7d0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x000000ffef7d0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x000000ffef7d0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x000000ffeda12978 __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 0x000000ffeda12978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x000000ffeda12978 void clang::finalize>, 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 0x000000ffeda12978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x000000ffef28bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x000000ffef247354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x000000ffef247354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x000000ffef247354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x000000ffef2db9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x000000aaac9edc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x000000aaac9f1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x000000aaac9f3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x000000aaac9ea034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x000000ffe60048c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #83 0x000000ffe60049cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #84 0x000000aaac9ea0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-ctor-conservative.cpp.script: line 1: 3908040 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-inlined.cpp (939 of 19712) ******************** TEST 'Clang :: Analysis/new-ctor-inlined.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe742abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7428c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe742b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffea20648 (linux-vdso.so.1+0x648) #4 0x000000ffefadff68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000ffefadff68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffefadff68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffefadff68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffefadff68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffefadff68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000ffefadff68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000ffefadff68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000ffefae7d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x000000ffefae7d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x000000ffefae7d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x000000ffefae7d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x000000ffefae7d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x000000ffefae7d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x000000ffefae7d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x000000ffefae7d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x000000ffefae7d94 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 0x000000ffefae965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffefae9780 clang::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 0x000000ffefae9a58 clang::ento::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 0x000000ffefae9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x000000ffefae9c70 clang::ento::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 0x000000ffefdf703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000ffefdf703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000ffefdf703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x000000ffefdf703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x000000ffefdf703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x000000ffefdf8224 llvm::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 0x000000ffefdf8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x000000ffefdf8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x000000ffefdfc604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x000000ffefdfc604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x000000ffefdfc604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x000000ffefdfc604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x000000ffefdfc604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x000000ffee03e978 __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 0x000000ffee03e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x000000ffee03e978 void clang::finalize>, 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 0x000000ffee03e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x000000ffef8b7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x000000ffef873354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x000000ffef873354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x000000ffef873354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x000000ffef9079a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000000aaadbf5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000000aaadbf9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000000aaadbfb234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000000aaadbf2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x000000ffe66308c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #53 0x000000ffe66309cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #54 0x000000aaadbf20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-ctor-inlined.cpp.script: line 1: 3908059 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-malloc.cpp (940 of 19712) ******************** TEST 'Clang :: Analysis/new-ctor-malloc.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6cc6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6cc4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6cc73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffedbc648 (linux-vdso.so.1+0x648) #4 0x000000ffef779388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef779388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef779388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef779388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef779388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef779388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef779388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef779388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef3f03a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef3f03a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef3f03a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef3f03a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef3f03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef3f03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef3f03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef3f03a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef3f3dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef3f3dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef3f3dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef3f3dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef3e7430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef3e7430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef3e7430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef3f53b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef3f53b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef3f53b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef3e7d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef3e7d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef3e7d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef4003b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef4003b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef4003b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef4071d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef4071d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef4071d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef3620e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef3620e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef3620e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef3620e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000ffef8b8114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000ffef8b8114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000ffef8b8114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000ffef548554 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #47 0x000000ffef548554 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #48 0x000000ffef548554 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #49 0x000000ffef548554 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #50 0x000000ffef548554 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #51 0x000000ffef548554 (anonymous namespace)::MallocChecker::ProcessZeroAllocCheck(clang::ento::CallEvent const&, unsigned int, llvm::IntrusiveRefCntPtr, std::optional) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1529:0 #52 0x000000ffef548a4c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #53 0x000000ffef548a4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #54 0x000000ffef548a4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x000000ffef548a4c (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 #56 0x000000ffef555610 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #57 0x000000ffef555610 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 #58 0x000000ffef358df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #59 0x000000ffef358df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x000000ffef358df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #61 0x000000ffef358df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #62 0x000000ffef358df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #63 0x000000ffef3aa500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #64 0x000000ffef3aa500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #65 0x000000ffef3aa500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #66 0x000000ffef3aa500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #67 0x000000ffef3aae4c clang::ento::ExprEngine::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 #68 0x000000ffef382d1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #69 0x000000ffef382d1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #70 0x000000ffef383e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #71 0x000000ffef38565c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #72 0x000000ffef38587c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #73 0x000000ffef385c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #74 0x000000ffef385c70 clang::ento::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 0x000000ffef69303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #76 0x000000ffef69303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #77 0x000000ffef69303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #78 0x000000ffef69303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #79 0x000000ffef69303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #80 0x000000ffef694224 llvm::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 0x000000ffef694224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #82 0x000000ffef694224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #83 0x000000ffef698604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #84 0x000000ffef698604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #85 0x000000ffef698604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #86 0x000000ffef698604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #87 0x000000ffef698604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #88 0x000000ffed8da978 __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 0x000000ffed8da978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #90 0x000000ffed8da978 void clang::finalize>, 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 0x000000ffed8da978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #92 0x000000ffef153b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #93 0x000000ffef10f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #94 0x000000ffef10f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #95 0x000000ffef10f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #96 0x000000ffef1a39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #97 0x000000aaaba1dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #98 0x000000aaaba21b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #99 0x000000aaaba23234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #100 0x000000aaaba1a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #101 0x000000ffe5ecc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #102 0x000000ffe5ecc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #103 0x000000aaaba1a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-ctor-malloc.cpp.script: line 1: 3908065 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection,unix.Malloc -analyzer-config c++-allocator-inlining=true -analyzer-output=text -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-malloc.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/new-ctor-null.cpp (941 of 19712) ******************** TEST 'Clang :: Analysis/new-ctor-null.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6916bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6914c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe69173d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffdeec648 (linux-vdso.so.1+0x648) #4 0x000000ffeefcbf68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000ffeefcbf68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffeefcbf68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffeefcbf68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffeefcbf68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffeefcbf68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000ffeefcbf68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000ffeefcbf68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000ffef014c58 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #13 0x000000ffef014c58 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #14 0x000000ffef014c58 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #15 0x000000ffef014c58 clang::ento::ExprEngine::processCallExit(clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:377:0 #16 0x000000ffeefd5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #17 0x000000ffeefd5c70 clang::ento::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 0x000000ffef2e303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #19 0x000000ffef2e303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x000000ffef2e303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #21 0x000000ffef2e303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #22 0x000000ffef2e303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #23 0x000000ffef2e4224 llvm::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 0x000000ffef2e4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x000000ffef2e4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #26 0x000000ffef2e8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x000000ffef2e8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x000000ffef2e8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x000000ffef2e8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x000000ffef2e8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x000000ffed52a978 __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 0x000000ffed52a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x000000ffed52a978 void clang::finalize>, 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 0x000000ffed52a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x000000ffeeda3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #36 0x000000ffeed5f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #37 0x000000ffeed5f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #38 0x000000ffeed5f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #39 0x000000ffeedf39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #40 0x000000aaade89c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x000000aaade8db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x000000aaade8f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x000000aaade86034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x000000ffe5b1c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #45 0x000000ffe5b1c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #46 0x000000aaade860a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-ctor-null.cpp.script: line 1: 3908146 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-null.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/new-dynamic-types.cpp (943 of 19712) ******************** TEST 'Clang :: Analysis/new-dynamic-types.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9c86bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9c84c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9c873d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffed7c648 (linux-vdso.so.1+0x648) #4 0x000000fff2739388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2739388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2739388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2739388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2739388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2739388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2739388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2739388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff23b03a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff23b03a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff23b03a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff23b03a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff23b03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff23b03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff23b03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff23b03a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff23b3dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff23b3dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff23b3dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff23b3dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff23a7430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff23a7430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff23a7430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff23b53b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff23b53b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff23b53b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff23a7d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff23a7d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff23a7d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff23c03b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff23c03b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff23c03b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff23c71d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff23c71d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff23c71d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff2322138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff2322138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff2322138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff2322138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff2322688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff2322688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff2322688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff23899ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff23899ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff23899ac clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff23899ac clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #50 0x000000fff233cd50 clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1318:0 #51 0x000000fff23456a8 clang::ento::ExprEngine::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 #52 0x000000fff234587c clang::ento::CoreEngine::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 0x000000fff2345c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #54 0x000000fff2345c70 clang::ento::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 0x000000fff265303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff265303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff265303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff265303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff265303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff2654224 llvm::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 0x000000fff2654224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff2654224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff2658604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff2658604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff2658604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff2658604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff2658604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000fff089a978 __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 0x000000fff089a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000fff089a978 void clang::finalize>, 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 0x000000fff089a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff2113b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff20cf354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff20cf354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff20cf354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff21639a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaac7f9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaac7fdb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaac7ff234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaac7f6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe8e8c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe8e8c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaac7f60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-dynamic-types.cpp.script: line 1: 3908159 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-null-throw.cpp (944 of 19712) ******************** TEST 'Clang :: Analysis/new-ctor-null-throw.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9226bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9224c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe92273d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff61c648 (linux-vdso.so.1+0x648) #4 0x000000fff18dbf68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff18dbf68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff18dbf68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff18dbf68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff18dbf68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff18dbf68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff18dbf68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff18dbf68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000fff1924c58 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #13 0x000000fff1924c58 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #14 0x000000fff1924c58 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #15 0x000000fff1924c58 clang::ento::ExprEngine::processCallExit(clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:377:0 #16 0x000000fff18e5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #17 0x000000fff18e5c70 clang::ento::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 0x000000fff1bf303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #19 0x000000fff1bf303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x000000fff1bf303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #21 0x000000fff1bf303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #22 0x000000fff1bf303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #23 0x000000fff1bf4224 llvm::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 0x000000fff1bf4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x000000fff1bf4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #26 0x000000fff1bf8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x000000fff1bf8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x000000fff1bf8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x000000fff1bf8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x000000fff1bf8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x000000ffefe3a978 __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 0x000000ffefe3a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x000000ffefe3a978 void clang::finalize>, 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 0x000000ffefe3a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x000000fff16b3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #36 0x000000fff166f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #37 0x000000fff166f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #38 0x000000fff166f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #39 0x000000fff17039a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #40 0x000000aaac26dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x000000aaac271b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x000000aaac273234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x000000aaac26a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x000000ffe842c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #45 0x000000ffe842c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #46 0x000000aaac26a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-ctor-null-throw.cpp.script: line 2: 3908089 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-null-throw.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/new-with-exceptions.cpp (950 of 19712) ******************** TEST 'Clang :: Analysis/new-with-exceptions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7566bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7564c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe75673d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff63c648 (linux-vdso.so.1+0x648) #4 0x000000ffefc1bf68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000ffefc1bf68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffefc1bf68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffefc1bf68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffefc1bf68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffefc1bf68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000ffefc1bf68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000ffefc1bf68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000ffefc23d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x000000ffefc23d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x000000ffefc23d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x000000ffefc23d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x000000ffefc23d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x000000ffefc23d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x000000ffefc23d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x000000ffefc23d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x000000ffefc23d94 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 0x000000ffefc2565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffefc2587c clang::ento::CoreEngine::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 0x000000ffefc25c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #24 0x000000ffefc25c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #25 0x000000ffeff3303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x000000ffeff3303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x000000ffeff3303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #28 0x000000ffeff3303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #29 0x000000ffeff3303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #30 0x000000ffeff34224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #31 0x000000ffeff34224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #32 0x000000ffeff34224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #33 0x000000ffeff38604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #34 0x000000ffeff38604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #35 0x000000ffeff38604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #36 0x000000ffeff38604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #37 0x000000ffeff38604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #38 0x000000ffee17a978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #39 0x000000ffee17a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #40 0x000000ffee17a978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #41 0x000000ffee17a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #42 0x000000ffef9f3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #43 0x000000ffef9af354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #44 0x000000ffef9af354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #45 0x000000ffef9af354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #46 0x000000ffefa439a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #47 0x000000aaaccb5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #48 0x000000aaaccb9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #49 0x000000aaaccbb234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #50 0x000000aaaccb2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #51 0x000000ffe676c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #52 0x000000ffe676c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #53 0x000000aaaccb20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-with-exceptions.cpp.script: line 2: 3908164 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (951 of 19712) ******************** TEST 'Clang :: Analysis/new-ctor-recursive.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7c3abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7c38c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7c3b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff6c0648 (linux-vdso.so.1+0x648) #4 0x000000fff06ed388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff06ed388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff06ed388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff06ed388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff06ed388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff06ed388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff06ed388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff06ed388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff03643a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff03643a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff03643a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff03643a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff03643a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff03643a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff03643a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff03643a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0367dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0367dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0367dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0367dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff035b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff035b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff035b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff03693b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff03693b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff03693b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff035bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff035bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff035bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff03743b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff03743b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff03743b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff037b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff037b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff037b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff02d6138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff02d6138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff02d6138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff02d6138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff02d6688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff02d6688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff02d6688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff033d9ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff033d9ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff033d9ac clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff033d9ac clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #50 0x000000fff02f0d50 clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1318:0 #51 0x000000fff02f96a8 clang::ento::ExprEngine::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 #52 0x000000fff02f987c clang::ento::CoreEngine::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 0x000000fff02f9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #54 0x000000fff02f9c70 clang::ento::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 0x000000fff060703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff060703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff060703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff060703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff060703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff0608224 llvm::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 0x000000fff0608224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff0608224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff060c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff060c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff060c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff060c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff060c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffee84e978 __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 0x000000ffee84e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffee84e978 void clang::finalize>, 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 0x000000ffee84e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff00c7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff0083354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff0083354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff0083354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff01179a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaae371c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaae375b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaae377234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaae36e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe6e408c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe6e409cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaae36e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-ctor-recursive.cpp.script: line 1: 3908155 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/nil-receiver-undefined-larger-than-voidptr-ret.m (952 of 19712) ******************** TEST 'Clang :: Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nil-receiver-undefined-larger-than-voidptr-ret.m.script: line 6: 3908199 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nil-receiver-undefined-larger-than-voidptr-ret.m.tmp.1 2>&1 -- ******************** Testing: 0 FAIL: Clang :: Analysis/new.cpp (953 of 19712) ******************** TEST 'Clang :: Analysis/new.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe87fabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe87f8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe87fb3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc25c648 (linux-vdso.so.1+0x648) #4 0x000000fff12ad388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff12ad388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff12ad388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff12ad388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff12ad388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff12ad388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff12ad388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff12ad388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff0f243a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff0f243a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff0f243a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff0f243a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff0f243a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff0f243a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff0f243a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff0f243a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0f27dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0f27dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0f27dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0f27dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0f1b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0f1b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0f1b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff0f293b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0f293b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0f293b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0f1bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0f1bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0f1bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff0f343b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff0f343b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff0f343b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff0f3b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff0f3b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff0f3b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0e96138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0e96138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0e96138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0e96138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff0e96688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff0e96688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff0e96688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff0efd9ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff0efd9ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff0efd9ac clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff0efd9ac clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #50 0x000000fff0eb0d50 clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1318:0 #51 0x000000fff0eb96a8 clang::ento::ExprEngine::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 #52 0x000000fff0eb9780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #53 0x000000fff0eb9a58 clang::ento::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 #54 0x000000fff0eb9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x000000fff0eb9c70 clang::ento::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 0x000000fff11c703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x000000fff11c703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x000000fff11c703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x000000fff11c703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x000000fff11c703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x000000fff11c8224 llvm::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 0x000000fff11c8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x000000fff11c8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x000000fff11cc604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x000000fff11cc604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x000000fff11cc604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x000000fff11cc604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x000000fff11cc604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x000000ffef40e978 __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 0x000000ffef40e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x000000ffef40e978 void clang::finalize>, 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 0x000000ffef40e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x000000fff0c87b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x000000fff0c43354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x000000fff0c43354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x000000fff0c43354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x000000fff0cd79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x000000aaae365c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x000000aaae369b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x000000aaae36b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x000000aaae362034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x000000ffe7a008c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #83 0x000000ffe7a009cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #84 0x000000aaae3620a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new.cpp.script: line 2: 3908175 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/new-ctor-symbolic.cpp (956 of 19712) ******************** TEST 'Clang :: Analysis/new-ctor-symbolic.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe916ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe916cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe916f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe1b0648 (linux-vdso.so.1+0x648) #4 0x000000fff1c21388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1c21388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1c21388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1c21388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1c21388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1c21388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1c21388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1c21388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff18983a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff18983a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff18983a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff18983a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff18983a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff18983a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff18983a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff18983a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff189bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff189bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff189bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff189bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff188f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff188f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff188f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff189d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff189d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff189d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff188fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff188fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff188fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff18a83b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff18a83b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff18a83b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff18af1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff18af1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff18af1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff180a0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff180a0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff180a0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff180a0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff1d60114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff1d60114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff1d60114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff181b190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff181b190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff181b190 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:0 #49 0x000000fff181b190 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:0 #50 0x000000fff181b190 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:0 #51 0x000000fff181b190 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:0 #52 0x000000fff181b190 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:0 #53 0x000000fff181b190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff181b190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff181b190 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:0 #56 0x000000fff181b7ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff182dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff182dc70 clang::ento::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 0x000000fff1b3b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff1b3b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff1b3b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff1b3b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff1b3b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff1b3c224 llvm::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 0x000000fff1b3c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff1b3c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff1b40604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff1b40604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff1b40604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff1b40604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff1b40604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffefd82978 __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 0x000000ffefd82978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffefd82978 void clang::finalize>, 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 0x000000ffefd82978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff15fbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff15b7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff15b7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff15b7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff164b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaaeaa5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaaeaa9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaaeaab234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaaeaa2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe83748c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe83749cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaaeaa20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-ctor-symbolic.cpp.script: line 1: 3908163 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-allocator-inlining=true -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-symbolic.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/nil-receiver-undefined-larger-than-voidptr-ret-region.m (957 of 19712) ******************** TEST 'Clang :: Analysis/nil-receiver-undefined-larger-than-voidptr-ret-region.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6f72bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6f70c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6f733d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc5f0648 (linux-vdso.so.1+0x648) #4 0x000000ffefa25388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffefa25388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffefa25388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffefa25388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffefa25388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffefa25388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffefa25388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffefa25388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef69c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef69c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef69c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef69c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef69c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef69c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef69c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef69c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef69fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef69fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef69fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef69fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef693430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef693430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef693430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef6a13b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef6a13b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef6a13b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef693d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef693d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef693d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef6ac3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef6ac3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef6ac3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef6b31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef6b31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef6b31d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef60e138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef60e138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef60e138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef60e138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffef60e688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffef60e688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffef60e688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000ffef5d6b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000ffef5d6b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000ffef5d6b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000ffef6226c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000ffef6226c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000ffef6226c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000ffef632010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000ffef632010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000ffef632010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000ffef93f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000ffef93f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000ffef93f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000ffef93f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000ffef93f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000ffef940224 llvm::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 0x000000ffef940224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000ffef940224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000ffef944604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000ffef944604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000ffef944604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000ffef944604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000ffef944604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffedb86978 __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 0x000000ffedb86978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffedb86978 void clang::finalize>, 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 0x000000ffedb86978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000ffef3ffb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000ffef3bb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000ffef3bb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000ffef3bb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000ffef44f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaadc59c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaadc5db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaadc5f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaadc56034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe61788c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe61789cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaadc560a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nil-receiver-undefined-larger-than-voidptr-ret-region.m.script: line 1: 3908196 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin8 -analyzer-checker=core,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret-region.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/no-exit-cfg.c (958 of 19712) ******************** TEST 'Clang :: Analysis/no-exit-cfg.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe804abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8048c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe804b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffd74648 (linux-vdso.so.1+0x648) #4 0x000000fff0afd388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0afd388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0afd388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0afd388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0afd388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0afd388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0afd388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0afd388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff07743a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff07743a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff07743a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff07743a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff07743a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff07743a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff07743a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff07743a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0777dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0777dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0777dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0777dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff077665c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff077665c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff077665c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000fff0779444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0779444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0779444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000fff076bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff076bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff076bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff07843b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff07843b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff07843b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff078b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff078b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff078b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff06e6138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff06e6138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff06e6138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff06e6138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff0c3c114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff0c3c114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff0c3c114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff06f7190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff06f7190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff06f7190 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:0 #49 0x000000fff06f7190 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:0 #50 0x000000fff06f7190 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:0 #51 0x000000fff06f7190 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:0 #52 0x000000fff06f7190 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:0 #53 0x000000fff06f7190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff06f7190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff06f7190 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:0 #56 0x000000fff06f77ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff0709c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff0709c70 clang::ento::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 0x000000fff0a1703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff0a1703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff0a1703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff0a1703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff0a1703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff0a18224 llvm::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 0x000000fff0a18224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff0a18224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff0a1c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff0a1c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff0a1c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff0a1c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff0a1c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffeec5e978 __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 0x000000ffeec5e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffeec5e978 void clang::finalize>, 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 0x000000ffeec5e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff04d7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff0493354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff0493354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff0493354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff05279a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaae289c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaae28db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaae28f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaae286034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe72508c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe72509cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaae2860a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/no-exit-cfg.c.script: line 2: 3909039 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-exit-cfg.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/no-outofbounds.c (959 of 19712) ******************** TEST 'Clang :: Analysis/no-outofbounds.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe823ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe823cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe823f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc368648 (linux-vdso.so.1+0x648) #4 0x000000fff0af03c8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff0af03c8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff0af03c8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff0af03c8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x000000fff0af03c8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x000000fff0af03c8 Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:27 #10 0x000000fff0af03c8 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::RegionState>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::RegionState>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::RegionState>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::RegionState>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:89 #11 0x000000fff0aff270 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #12 0x000000fff0aff270 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #13 0x000000fff0aff270 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x000000fff0aff270 set<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #15 0x000000fff0aff270 checkPostStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PointerArithChecker.cpp:270:0 #16 0x000000fff0aff270 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 #17 0x000000fff08c1ea8 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #18 0x000000fff08c1ea8 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:26 #19 0x000000fff08fa730 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #20 0x000000fff08fa730 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2259:0 #21 0x000000fff08fbe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #22 0x000000fff08fd65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff08fd87c clang::ento::CoreEngine::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 0x000000fff08fdc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x000000fff08fdc70 clang::ento::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 0x000000fff0c0b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff0c0b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff0c0b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x000000fff0c0b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x000000fff0c0b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x000000fff0c0c224 llvm::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 0x000000fff0c0c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x000000fff0c0c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x000000fff0c10604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x000000fff0c10604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x000000fff0c10604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x000000fff0c10604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x000000fff0c10604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x000000ffeee52978 __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 0x000000ffeee52978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x000000ffeee52978 void clang::finalize>, 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 0x000000ffeee52978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x000000fff06cbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x000000fff0687354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x000000fff0687354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x000000fff0687354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x000000fff071b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000000aaac71dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000000aaac721b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000000aaac723234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000000aaac71a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x000000ffe74448c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #53 0x000000ffe74449cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #54 0x000000aaac71a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/no-outofbounds.c.script: line 1: 3909090 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,alpha.unix,alpha.security.ArrayBound -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-outofbounds.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/no-return.c (960 of 19712) ******************** TEST 'Clang :: Analysis/no-return.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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 0x000000ffe84c2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe84c0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe84c33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd754648 (linux-vdso.so.1+0x648) #4 0x000000fff0f75388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0f75388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0f75388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0f75388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0f75388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0f75388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0f75388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0f75388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff0bec3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff0bec3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff0bec3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff0bec3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff0bec3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff0bec3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff0bec3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff0bec3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0befdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0befdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0befdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0befdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0bee65c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0bee65c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0bee65c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000fff0bf1444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0bf1444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0bf1444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000fff0be3d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0be3d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0be3d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff0bfc3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff0bfc3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff0bfc3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff0c031d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff0c031d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff0c031d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0b5e138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0b5e138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0b5e138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0b5e138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff10b4114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff10b4114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff10b4114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff0b6f190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff0b6f190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff0b6f190 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:0 #49 0x000000fff0b6f190 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:0 #50 0x000000fff0b6f190 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:0 #51 0x000000fff0b6f190 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:0 #52 0x000000fff0b6f190 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:0 #53 0x000000fff0b6f190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff0b6f190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff0b6f190 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:0 #56 0x000000fff0b6f7ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff0b81c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff0b81c70 clang::ento::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 0x000000fff0e8f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff0e8f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff0e8f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff0e8f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff0e8f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff0e90224 llvm::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 0x000000fff0e90224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff0e90224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff0e94604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff0e94604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff0e94604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff0e94604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff0e94604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffef0d6978 __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 0x000000ffef0d6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffef0d6978 void clang::finalize>, 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 0x000000ffef0d6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff094fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff090b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff090b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff090b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff099f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaad481c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaad485b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaad487234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaad47e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe76c88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe76c89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaad47e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/no-return.c.script: line 1: 3909104 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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 (961 of 19712) ******************** TEST 'Clang :: Analysis/nonnull-global-constants.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe76b6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe76b4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe76b73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffdf0648 (linux-vdso.so.1+0x648) #4 0x000000fff0169388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0169388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0169388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0169388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0169388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0169388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0169388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0169388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffefde03a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffefde03a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffefde03a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffefde03a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffefde03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffefde03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffefde03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffefde03a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffefde3dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffefde3dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffefde3dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffefde3dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffefdd7430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffefdd7430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffefdd7430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffefde53b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffefde53b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffefde53b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffefdd7d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffefdd7d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffefdd7d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffefdf03b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffefdf03b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffefdf03b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffefdf71d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffefdf71d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffefdf71d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffefd52138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffefd52138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffefd52138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffefd52138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffefd52688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffefd52688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffefd52688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000ffefd1ab4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000ffefd1ab4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000ffefd1ab4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000ffeff6b0b8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:59 #50 0x000000ffeff6b0b8 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/NonnullGlobalConstantsChecker.cpp:88:22 #51 0x000000ffeff6b0b8 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::NonnullGlobalConstantsChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #52 0x000000ffefd3a208 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #53 0x000000ffefd6406c clang::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 0x000000ffefd6406c 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:0 #55 0x000000ffefd67978 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #56 0x000000ffefd67978 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #57 0x000000ffefd67978 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x000000ffefd67978 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:0 #59 0x000000ffefdafecc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000ffefdafecc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000ffefdafecc 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 #62 0x000000ffefd72708 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #63 0x000000ffefd72708 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #64 0x000000ffefd72708 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #65 0x000000ffefd73e0c clang::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 0x000000ffefd7565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffefd7587c clang::ento::CoreEngine::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 0x000000ffefd75c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #69 0x000000ffefd75c70 clang::ento::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 0x000000fff008303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #71 0x000000fff008303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #72 0x000000fff008303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #73 0x000000fff008303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #74 0x000000fff008303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #75 0x000000fff0084224 llvm::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 0x000000fff0084224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x000000fff0084224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #78 0x000000fff0088604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x000000fff0088604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x000000fff0088604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x000000fff0088604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x000000fff0088604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x000000ffee2ca978 __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 0x000000ffee2ca978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x000000ffee2ca978 void clang::finalize>, 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 0x000000ffee2ca978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x000000ffefb43b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #88 0x000000ffefaff354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #89 0x000000ffefaff354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #90 0x000000ffefaff354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #91 0x000000ffefb939a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #92 0x000000aaacba5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x000000aaacba9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x000000aaacbab234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x000000aaacba2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x000000ffe68bc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #97 0x000000ffe68bc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #98 0x000000aaacba20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nonnull-global-constants.mm.script: line 1: 3909143 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-unreachable-dtors.cpp (964 of 19712) ******************** TEST 'Clang :: Analysis/no-unreachable-dtors.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe689abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6898c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe689b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffefe8648 (linux-vdso.so.1+0x648) #4 0x000000ffeef53664 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000ffeef53664 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffeef53664 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffeef53664 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffeef53664 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffeef53664 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000ffeef53664 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000ffeef53664 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 0x000000ffeef5408c 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 0x000000ffeef59a18 clang::ento::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 0x000000ffeef59c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x000000ffeef59c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x000000ffef26703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x000000ffef26703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x000000ffef26703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x000000ffef26703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x000000ffef26703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x000000ffef268224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x000000ffef268224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x000000ffef268224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x000000ffef26c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x000000ffef26c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x000000ffef26c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x000000ffef26c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x000000ffef26c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x000000ffed4ae978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x000000ffed4ae978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x000000ffed4ae978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x000000ffed4ae978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x000000ffeed27b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x000000ffeece3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x000000ffeece3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x000000ffeece3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x000000ffeed779a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000000aaada09c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000000aaada0db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000000aaada0f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000000aaada06034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x000000ffe5aa08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #43 0x000000ffe5aa09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #44 0x000000aaada060a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/no-unreachable-dtors.cpp.script: line 1: 3909111 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/nonnull.cpp (965 of 19712) ******************** TEST 'Clang :: Analysis/nonnull.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9ac6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9ac4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9ac73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff104648 (linux-vdso.so.1+0x648) #4 0x000000fff2579388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2579388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2579388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2579388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2579388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2579388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2579388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2579388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff21f03a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff21f03a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff21f03a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff21f03a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff21f03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff21f03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff21f03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff21f03a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff21f3dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff21f3dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff21f3dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff21f3dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff21e7430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff21e7430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff21e7430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff21f53b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff21f53b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff21f53b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff21e7d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff21e7d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff21e7d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff22003b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff22003b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff22003b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff22071d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff22071d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff22071d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff2162138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff2162138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff2162138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff2162138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff26b8114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff26b8114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff26b8114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff2173190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff2173190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff2173190 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:0 #49 0x000000fff2173190 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:0 #50 0x000000fff2173190 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:0 #51 0x000000fff2173190 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:0 #52 0x000000fff2173190 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:0 #53 0x000000fff2173190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff2173190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff2173190 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:0 #56 0x000000fff21737ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff2185c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff2185c70 clang::ento::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 0x000000fff249303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff249303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff249303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff249303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff249303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff2494224 llvm::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 0x000000fff2494224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff2494224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff2498604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff2498604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff2498604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff2498604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff2498604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000fff06da978 __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 0x000000fff06da978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000fff06da978 void clang::finalize>, 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 0x000000fff06da978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff1f53b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff1f0f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff1f0f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff1f0f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff1fa39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaad021c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaad025b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaad027234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaad01e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe8ccc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe8ccc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaad01e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nonnull.cpp.script: line 1: 3909185 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/no-store-suppression.cpp (967 of 19712) ******************** TEST 'Clang :: Analysis/no-store-suppression.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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 0x000000ffe9a96bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9a94c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9a973d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc774648 (linux-vdso.so.1+0x648) #4 0x000000fff2549388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2549388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2549388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2549388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2549388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2549388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2549388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2549388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff21c03a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff21c03a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff21c03a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff21c03a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff21c03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff21c03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff21c03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff21c03a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff21c3aec llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff21c3aec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff21c3aec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff21c3aec (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:31 #24 0x000000fff21c265c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff21c265c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff21c265c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000fff21c5444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff21c5444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff21c5444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000fff21b7d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff21b7d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff21b7d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff21d03b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff21d03b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff21d03b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff21d71d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff21d71d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff21d71d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff21320e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff21320e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff21320e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff21320e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff2688114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff2688114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff2688114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff2143190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff2143190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff2143190 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:0 #49 0x000000fff2143190 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:0 #50 0x000000fff2143190 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:0 #51 0x000000fff2143190 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:0 #52 0x000000fff2143190 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:0 #53 0x000000fff2143190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff2143190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff2143190 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:0 #56 0x000000fff21437ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff2155c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff2155c70 clang::ento::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 0x000000fff246303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff246303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff246303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff246303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff246303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff2464224 llvm::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 0x000000fff2464224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff2464224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff2468604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff2468604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff2468604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff2468604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff2468604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000fff06aa978 __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 0x000000fff06aa978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000fff06aa978 void clang::finalize>, 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 0x000000fff06aa978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff1f23b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff1edf354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff1edf354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff1edf354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff1f739a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaae9b5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaae9b9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaae9bb234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaae9b2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe8c9c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe8c9c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaae9b20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/no-store-suppression.cpp.script: line 1: 3909112 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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/non-diagnosable-assumptions.c (968 of 19712) ******************** TEST 'Clang :: Analysis/non-diagnosable-assumptions.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe98d2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe98d0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe98d33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffdd7c648 (linux-vdso.so.1+0x648) #4 0x000000fff2385388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2385388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2385388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2385388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2385388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2385388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2385388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2385388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff1ffc3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff1ffc3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff1ffc3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff1ffc3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff1ffc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff1ffc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff1ffc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff1ffc3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1fffdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1fffdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1fffdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1fffdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1ff3430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1ff3430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1ff3430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff20013b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff20013b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff20013b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1ff3d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1ff3d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1ff3d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff200c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff200c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff200c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff20131d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff20131d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff20131d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1f6e0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1f6e0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1f6e0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1f6e0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff1f83e4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff1f83e4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff1f83e4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000fff1f83e4c 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:0 #47 0x000000fff1f8fb90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000fff1f8fb90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000fff1f8fb90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000fff1f8fb90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000fff1f8fb90 clang::ento::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 #52 0x000000fff1f8fe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000fff1f9165c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000fff1f9187c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000fff1f91c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000fff1f91c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000fff229f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff229f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff229f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000fff229f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000fff229f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000fff22a0224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000fff22a0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000fff22a0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000fff22a4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000fff22a4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000fff22a4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000fff22a4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000fff22a4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000fff04e6978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000fff04e6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000fff04e6978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000fff04e6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000fff1d5fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000fff1d1b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000fff1d1b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000fff1d1b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000fff1daf9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaaba41c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaaba45b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaaba47234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaaba3e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe8ad88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe8ad89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaaba3e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/non-diagnosable-assumptions.c.script: line 1: 3909121 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core.DivideZero -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/non-diagnosable-assumptions.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/nonnullparamchecker-crash.cpp (969 of 19712) ******************** TEST 'Clang :: Analysis/nonnullparamchecker-crash.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe973abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9738c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe973b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffef64648 (linux-vdso.so.1+0x648) #4 0x000000fff1dc4f7c retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000fff1dc4f7c retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff1dc4f7c retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff1dc4f7c IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff1dc4f7c ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff1dc4f7c MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff1dc4f7c get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000fff1dc4f7c 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 0x000000fff1e1c97c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x000000fff1e1c97c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x000000fff1e1c97c 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 #15 0x000000fff1e1d5dc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x000000fff1e1d5dc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x000000fff1e1d5dc 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 #18 0x000000fff1e3aee0 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 #19 0x000000fff1df6cdc clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #20 0x000000fff1df6cdc clang::ento::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 #21 0x000000fff1df7e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #22 0x000000fff1df965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff1df987c clang::ento::CoreEngine::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 0x000000fff1df9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x000000fff1df9c70 clang::ento::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 0x000000fff210703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff210703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff210703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x000000fff210703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x000000fff210703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x000000fff2108224 llvm::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 0x000000fff2108224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x000000fff2108224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x000000fff210c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x000000fff210c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x000000fff210c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x000000fff210c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x000000fff210c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x000000fff034e978 __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 0x000000fff034e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x000000fff034e978 void clang::finalize>, 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 0x000000fff034e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x000000fff1bc7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x000000fff1b83354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x000000fff1b83354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x000000fff1b83354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x000000fff1c179a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000000aaabef9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000000aaabefdb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000000aaabeff234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000000aaabef6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x000000ffe89408c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #53 0x000000ffe89409cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #54 0x000000aaabef60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nonnullparamchecker-crash.cpp.script: line 1: 3909560 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/novoidtypecrash.c (970 of 19712) ******************** TEST 'Clang :: Analysis/novoidtypecrash.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe74febb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe74fcc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe74ff3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc418648 (linux-vdso.so.1+0x648) #4 0x000000ffeffb1388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffeffb1388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffeffb1388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffeffb1388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffeffb1388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffeffb1388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffeffb1388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffeffb1388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffefc283a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffefc283a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffefc283a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffefc283a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffefc283a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffefc283a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffefc283a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffefc283a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffefc2bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffefc2bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffefc2bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffefc2bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffefc1f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffefc1f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffefc1f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffefc2d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffefc2d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffefc2d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffefc1fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffefc1fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffefc1fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffefc383b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffefc383b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffefc383b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffefc3f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffefc3f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffefc3f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffefc1fc88 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x000000ffefc1fc88 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x000000ffefc1fc88 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 #42 0x000000ffefc383b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #43 0x000000ffefc383b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #44 0x000000ffefc383b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #45 0x000000ffefc3f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #46 0x000000ffefc3f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #47 0x000000ffefc3f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #48 0x000000ffefb9a138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #49 0x000000ffefb9a138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #50 0x000000ffefb9a138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #51 0x000000ffefb9a138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #52 0x000000fff00f0114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #53 0x000000fff00f0114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #54 0x000000fff00f0114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #55 0x000000ffefbab190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #56 0x000000ffefbab190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #57 0x000000ffefbab190 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:0 #58 0x000000ffefbab190 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:0 #59 0x000000ffefbab190 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:0 #60 0x000000ffefbab190 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:0 #61 0x000000ffefbab190 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:0 #62 0x000000ffefbab190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #63 0x000000ffefbab190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #64 0x000000ffefbab190 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:0 #65 0x000000ffefbab7ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #66 0x000000ffefbbdc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #67 0x000000ffefbbdc70 clang::ento::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 0x000000ffefecb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #69 0x000000ffefecb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #70 0x000000ffefecb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #71 0x000000ffefecb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #72 0x000000ffefecb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #73 0x000000ffefecc224 llvm::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 0x000000ffefecc224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #75 0x000000ffefecc224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #76 0x000000ffefed0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #77 0x000000ffefed0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #78 0x000000ffefed0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #79 0x000000ffefed0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #80 0x000000ffefed0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #81 0x000000ffee112978 __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 0x000000ffee112978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #83 0x000000ffee112978 void clang::finalize>, 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 0x000000ffee112978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #85 0x000000ffef98bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #86 0x000000ffef947354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #87 0x000000ffef947354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #88 0x000000ffef947354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #89 0x000000ffef9db9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #90 0x000000aaac275c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #91 0x000000aaac279b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #92 0x000000aaac27b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #93 0x000000aaac272034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #94 0x000000ffe67048c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #95 0x000000ffe67049cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #96 0x000000aaac2720a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/novoidtypecrash.c.script: line 1: 3909647 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/nonnull.m (971 of 19712) ******************** TEST 'Clang :: Analysis/nonnull.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7abebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7abcc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7abf3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcebc648 (linux-vdso.so.1+0x648) #4 0x000000fff0571388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0571388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0571388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0571388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0571388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0571388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0571388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0571388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff01e83a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff01e83a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff01e83a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff01e83a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff01e83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff01e83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff01e83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff01e83a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff01ebdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff01ebdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff01ebdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff01ebdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff01df430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff01df430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff01df430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff01ed3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff01ed3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff01ed3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff01dfd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff01dfd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff01dfd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff01f83b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff01f83b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff01f83b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff01ff1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff01ff1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff01ff1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff015a138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff015a138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff015a138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff015a138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff03718dc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff03718dc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff03718dc checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/NonNullParamChecker.cpp:175:54 #46 0x000000fff03718dc 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:45 #47 0x000000fff0150df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #48 0x000000fff0150df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #49 0x000000fff0150df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #50 0x000000fff0150df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #51 0x000000fff0150df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #52 0x000000fff01a23d8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #53 0x000000fff01a23d8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #54 0x000000fff01a23d8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #55 0x000000fff01a23d8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #56 0x000000fff01a23d8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #57 0x000000fff01a23d8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #58 0x000000fff01a23d8 clang::ento::ExprEngine::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 0x000000fff01a2e4c clang::ento::ExprEngine::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 0x000000fff017ad1c clang::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 0x000000fff017ad1c clang::ento::ExprEngine::Visit(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 0x000000fff017be0c clang::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 0x000000fff017d65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff017d87c clang::ento::CoreEngine::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 0x000000fff017dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #66 0x000000fff017dc70 clang::ento::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 0x000000fff048b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #68 0x000000fff048b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #69 0x000000fff048b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #70 0x000000fff048b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #71 0x000000fff048b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #72 0x000000fff048c224 llvm::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 0x000000fff048c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x000000fff048c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #75 0x000000fff0490604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x000000fff0490604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x000000fff0490604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x000000fff0490604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x000000fff0490604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x000000ffee6d2978 __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 0x000000ffee6d2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x000000ffee6d2978 void clang::finalize>, 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 0x000000ffee6d2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x000000ffeff4bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #85 0x000000ffeff07354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #86 0x000000ffeff07354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #87 0x000000ffeff07354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #88 0x000000ffeff9b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #89 0x000000aaae015c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x000000aaae019b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x000000aaae01b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x000000aaae012034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x000000ffe6cc48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #94 0x000000ffe6cc49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #95 0x000000aaae0120a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nonnull.m.script: line 1: 3909539 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/null-deref-offsets.c (977 of 19712) ******************** TEST 'Clang :: Analysis/null-deref-offsets.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea18abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea188c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea18b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd510648 (linux-vdso.so.1+0x648) #4 0x000000fff2c3d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2c3d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2c3d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2c3d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2c3d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2c3d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2c3d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2c3d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff28b43a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff28b43a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff28b43a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff28b43a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff28b43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff28b43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff28b43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff28b43a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff28b7dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff28b7dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff28b7dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff28b7dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff28ab430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff28ab430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff28ab430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff28b93b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff28b93b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff28b93b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff28abd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff28abd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff28abd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff28c43b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff28c43b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff28c43b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff28cb1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff28cb1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff28cb1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff2826138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff2826138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff2826138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff2826138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff283be4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff283be4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff283be4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000fff283be4c 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:0 #47 0x000000fff2847b90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000fff2847b90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000fff2847b90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000fff2847b90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000fff2847b90 clang::ento::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 #52 0x000000fff2847e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000fff284965c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000fff284987c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000fff2849c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000fff2849c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000fff2b5703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff2b5703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff2b5703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000fff2b5703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000fff2b5703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000fff2b58224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000fff2b58224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000fff2b58224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000fff2b5c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000fff2b5c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000fff2b5c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000fff2b5c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000fff2b5c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000fff0d9e978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000fff0d9e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000fff0d9e978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000fff0d9e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000fff2617b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000fff25d3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000fff25d3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000fff25d3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000fff26679a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaaccc9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaacccdb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaacccf234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaaccc6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe93908c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe93909cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaaccc60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/null-deref-offsets.c.script: line 1: 3909832 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -triple i386-apple-darwin10 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-offsets.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/null-deref-path-notes.cpp (979 of 19712) ******************** TEST 'Clang :: Analysis/null-deref-path-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea22ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea22cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea22f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffb9c648 (linux-vdso.so.1+0x648) #4 0x000000fff2ce1388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2ce1388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2ce1388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2ce1388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2ce1388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2ce1388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2ce1388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2ce1388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff29583a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff29583a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff29583a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff29583a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff29583a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff29583a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff29583a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff29583a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff295bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff295bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff295bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff295bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff294f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff294f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff294f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff295d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff295d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff295d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff294fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff294fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff294fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff29683b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff29683b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff29683b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff296f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff296f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff296f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff28ca138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff28ca138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff28ca138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff28ca138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff28ca688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff28ca688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff28ca688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff2892b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff2892b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff2892b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff28de674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff28de674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff28de674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000fff28ee010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff28ee010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff28ee010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff2bfb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff2bfb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff2bfb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff2bfb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff2bfb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff2bfc224 llvm::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 0x000000fff2bfc224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff2bfc224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff2c00604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff2c00604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff2c00604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff2c00604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff2c00604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000fff0e42978 __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 0x000000fff0e42978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000fff0e42978 void clang::finalize>, 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 0x000000fff0e42978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff26bbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff2677354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff2677354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff2677354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff270b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaacf21c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaacf25b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaacf27234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaacf1e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe94348c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe94349cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaacf1e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/null-deref-path-notes.cpp.script: line 1: 3909901 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/nullability-arc.mm (980 of 19712) ******************** TEST 'Clang :: Analysis/nullability-arc.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe67c6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe67c4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe67c73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffdb0c648 (linux-vdso.so.1+0x648) #4 0x000000ffef279388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef279388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef279388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef279388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef279388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef279388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef279388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef279388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffeeef03a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffeeef03a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffeeef03a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffeeef03a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffeeef03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffeeef03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffeeef03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffeeef03a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffeeef3dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffeeef3dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffeeef3dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffeeef3dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffeeee7430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffeeee7430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffeeee7430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffeeef53b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffeeef53b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffeeef53b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffeeee7d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffeeee7d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffeeee7d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffeef003b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffeef003b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffeef003b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffeef071d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffeef071d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffeef071d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffeee62138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffeee62138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffeee62138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffeee62138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffeee62688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffeee62688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffeee62688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000ffeee2ab4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000ffeee2ab4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000ffeee2ab4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000ffeee766c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000ffeee766c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000ffeee766c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000ffeee86010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000ffeee86010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000ffeee86010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000ffef19303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000ffef19303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000ffef19303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000ffef19303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000ffef19303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000ffef194224 llvm::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 0x000000ffef194224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000ffef194224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000ffef198604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000ffef198604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000ffef198604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000ffef198604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000ffef198604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffed3da978 __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 0x000000ffed3da978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffed3da978 void clang::finalize>, 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 0x000000ffed3da978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000ffeec53b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000ffeec0f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000ffeec0f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000ffeec0f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000ffeeca39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaaaf5dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaaaf61b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaaaf63234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaaaf5a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe59cc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe59cc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaaaf5a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nullability-arc.mm.script: line 2: 3910384 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,nullability -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability-arc.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/null-deref-static.m (981 of 19712) ******************** TEST 'Clang :: Analysis/null-deref-static.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6ec6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6ec4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6ec73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffdc68648 (linux-vdso.so.1+0x648) #4 0x000000ffef979388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef979388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef979388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef979388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef979388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef979388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef979388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef979388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef5f03a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef5f03a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef5f03a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef5f03a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef5f03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef5f03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef5f03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef5f03a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef5f3dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef5f3dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef5f3dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef5f3dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef5f265c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef5f265c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef5f265c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000ffef5f5444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef5f5444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef5f5444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000ffef5e7d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef5e7d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef5e7d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef6003b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef6003b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef6003b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef6071d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef6071d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef6071d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef562138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef562138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef562138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef562138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffefab8114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000ffefab8114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000ffefab8114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000ffef573190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000ffef573190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000ffef573190 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:0 #49 0x000000ffef573190 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:0 #50 0x000000ffef573190 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:0 #51 0x000000ffef573190 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:0 #52 0x000000ffef573190 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:0 #53 0x000000ffef573190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000ffef573190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000ffef573190 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:0 #56 0x000000ffef5737ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000ffef585c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000ffef585c70 clang::ento::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 0x000000ffef89303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000ffef89303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000ffef89303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000ffef89303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000ffef89303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000ffef894224 llvm::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 0x000000ffef894224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000ffef894224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000ffef898604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000ffef898604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000ffef898604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000ffef898604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000ffef898604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffedada978 __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 0x000000ffedada978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffedada978 void clang::finalize>, 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 0x000000ffedada978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000ffef353b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000ffef30f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000ffef30f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000ffef30f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000ffef3a39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaac979c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaac97db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaac97f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaac976034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe60cc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe60cc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaac9760a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/null-deref-static.m.script: line 1: 3910351 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (982 of 19712) ******************** TEST 'Clang :: Analysis/null-deref-ps.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe684ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe684cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe684f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe79c648 (linux-vdso.so.1+0x648) #4 0x000000ffef301388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef301388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef301388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef301388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef301388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef301388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef301388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef301388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffeef783a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffeef783a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffeef783a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffeef783a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffeef783a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffeef783a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffeef783a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffeef783a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffeef7bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffeef7bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffeef7bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffeef7bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffeef6f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffeef6f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffeef6f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffeef7d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffeef7d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffeef7d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffeef6fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffeef6fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffeef6fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffeef883b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffeef883b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffeef883b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffeef8f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffeef8f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffeef8f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffeeeea0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffeeeea0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffeeeea0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffeeeea0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000ffeeeffe4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffeeeffe4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffeeeffe4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000ffeeeffe4c 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:0 #47 0x000000ffeef0bb90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000ffeef0bb90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000ffeef0bb90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000ffeef0bb90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000ffeef0bb90 clang::ento::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 #52 0x000000ffeef0be0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000ffeef0d65c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000ffeef0d87c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000ffeef0dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000ffeef0dc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000ffef21b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000ffef21b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000ffef21b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000ffef21b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000ffef21b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000ffef21c224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000ffef21c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000ffef21c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000ffef220604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000ffef220604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000ffef220604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000ffef220604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000ffef220604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000ffed462978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000ffed462978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000ffed462978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000ffed462978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000ffeecdbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000ffeec97354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000ffeec97354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000ffeec97354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000ffeed2b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaad0c1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaad0c5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaad0c7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaad0be034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe5a548c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe5a549cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaad0be0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/null-deref-ps.c.script: line 2: 3910257 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -Wno-int-conversion -Wno-strict-prototypes -Wno-tautological-constant-compare -Wtautological-unsigned-zero-compare -analyzer-checker=core,deadcode,alpha.core -std=gnu99 -analyzer-purge=none -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-ps.c -Wno-error=return-type -- ******************** Testing: 0 FAIL: Clang :: Analysis/null-deref-path-notes.m (983 of 19712) ******************** TEST 'Clang :: Analysis/null-deref-path-notes.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffea06ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea06cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea06f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffdc58648 (linux-vdso.so.1+0x648) #4 0x000000fff2b21388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2b21388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2b21388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2b21388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2b21388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2b21388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2b21388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2b21388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff27983a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff27983a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff27983a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff27983a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff27983a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff27983a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff27983a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff27983a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff279bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff279bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff279bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff279bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff278f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff278f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff278f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff279d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff279d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff279d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff278fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff278fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff278fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff27a83b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff27a83b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff27a83b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff27af1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff27af1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff27af1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff270a138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff270a138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff270a138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff270a138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff2c60114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff2c60114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff2c60114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff2852de0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff2852de0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:0 #48 0x000000fff2852de0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #49 0x000000fff2852de0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:0 #50 0x000000fff26f2208 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #51 0x000000fff271c06c clang::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 0x000000fff271c06c 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:0 #53 0x000000fff272e428 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #54 0x000000fff272e428 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #55 0x000000fff272e428 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x000000fff272e428 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:0 #57 0x000000fff276695c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff276695c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff276695c 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 #60 0x000000fff272bab8 clang::ento::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 #61 0x000000fff272be0c clang::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 0x000000fff272d65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff272d87c clang::ento::CoreEngine::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 0x000000fff272dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #65 0x000000fff272dc70 clang::ento::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 0x000000fff2a3b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #67 0x000000fff2a3b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #68 0x000000fff2a3b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #69 0x000000fff2a3b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #70 0x000000fff2a3b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #71 0x000000fff2a3c224 llvm::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 0x000000fff2a3c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x000000fff2a3c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #74 0x000000fff2a40604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x000000fff2a40604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x000000fff2a40604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x000000fff2a40604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x000000fff2a40604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x000000fff0c82978 __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 0x000000fff0c82978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x000000fff0c82978 void clang::finalize>, 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 0x000000fff0c82978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x000000fff24fbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #84 0x000000fff24b7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #85 0x000000fff24b7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #86 0x000000fff24b7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #87 0x000000fff254b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #88 0x000000aaab691c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x000000aaab695b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x000000aaab697234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x000000aaab68e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x000000ffe92748c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #93 0x000000ffe92749cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #94 0x000000aaab68e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/null-deref-path-notes.m.script: line 3: 3909953 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-no-arc.mm (984 of 19712) ******************** TEST 'Clang :: Analysis/nullability-no-arc.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8e8abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8e88c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8e8b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd2e0648 (linux-vdso.so.1+0x648) #4 0x000000fff193d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff193d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff193d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff193d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff193d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff193d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff193d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff193d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff15b43a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff15b43a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff15b43a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff15b43a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff15b43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff15b43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff15b43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff15b43a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff15b7dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff15b7dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff15b7dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff15b7dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff15ab430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff15ab430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff15ab430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff15b93b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff15b93b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff15b93b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff15abd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff15abd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff15abd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff15c43b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff15c43b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff15c43b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff15cb1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff15cb1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff15cb1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1526138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1526138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1526138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1526138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1526688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff1526688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff1526688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff14eeb4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff14eeb4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff14eeb4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff153a6c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff153a6c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff153a6c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000fff154a010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff154a010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff154a010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff185703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff185703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff185703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff185703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff185703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff1858224 llvm::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 0x000000fff1858224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff1858224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff185c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff185c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff185c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff185c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff185c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffefa9e978 __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 0x000000ffefa9e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffefa9e978 void clang::finalize>, 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 0x000000ffefa9e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff1317b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff12d3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff12d3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff12d3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff13679a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaab791c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaab795b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaab797234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaab78e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe80908c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe80909cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaab78e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nullability-no-arc.mm.script: line 1: 3910420 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-ps-region.c (985 of 19712) ******************** TEST 'Clang :: Analysis/null-deref-ps-region.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe738abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7388c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe738b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe7a0648 (linux-vdso.so.1+0x648) #4 0x000000ffefe217f4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffefe217f4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffefe217f4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffefe217f4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffefe217f4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffefe217f4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffefe217f4 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffefe217f4 (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 0x000000ffefbe9fc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x000000ffefbe9fc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x000000ffefbe9fc8 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 0x000000ffefa1ba28 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x000000ffefa1ba28 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x000000ffefa1ba28 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:29 #18 0x000000ffefa1ba28 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x000000ffefac443c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x000000ffefac443c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x000000ffefac443c clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x000000ffefac443c clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x000000ffefacb1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x000000ffefacb1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x000000ffefacb1d4 clang::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 0x000000ffefa26230 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000ffefa26230 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000ffefa26230 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x000000ffefa26230 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:0 #30 0x000000ffeff7c114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffeff7c114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffeff7c114 clang::ento::ProgramState::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 0x000000ffefc0c554 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x000000ffefc0c554 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x000000ffefc0c554 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x000000ffefc0c554 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x000000ffefc0c554 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x000000ffefc0c554 (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 0x000000ffefc0ca4c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #40 0x000000ffefc0ca4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #41 0x000000ffefc0ca4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #42 0x000000ffefc0ca4c (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 #43 0x000000ffefc19610 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #44 0x000000ffefc19610 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 #45 0x000000ffefa1cdf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #46 0x000000ffefa1cdf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x000000ffefa1cdf0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #48 0x000000ffefa1cdf0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #49 0x000000ffefa1cdf0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #50 0x000000ffefa6e500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #51 0x000000ffefa6e500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #52 0x000000ffefa6e500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #53 0x000000ffefa6e500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #54 0x000000ffefa6ee4c clang::ento::ExprEngine::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 0x000000ffefa46d1c clang::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 0x000000ffefa46d1c clang::ento::ExprEngine::Visit(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 0x000000ffefa47e0c clang::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 0x000000ffefa4965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffefa4987c clang::ento::CoreEngine::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 0x000000ffefa49c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #61 0x000000ffefa49c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #62 0x000000ffefd5703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #63 0x000000ffefd5703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #64 0x000000ffefd5703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #65 0x000000ffefd5703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #66 0x000000ffefd5703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #67 0x000000ffefd58224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #68 0x000000ffefd58224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #69 0x000000ffefd58224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #70 0x000000ffefd5c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x000000ffefd5c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x000000ffefd5c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #73 0x000000ffefd5c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #74 0x000000ffefd5c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #75 0x000000ffedf9e978 __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 0x000000ffedf9e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #77 0x000000ffedf9e978 void clang::finalize>, 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 0x000000ffedf9e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #79 0x000000ffef817b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #80 0x000000ffef7d3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #81 0x000000ffef7d3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #82 0x000000ffef7d3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #83 0x000000ffef8679a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #84 0x000000aaaaad5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #85 0x000000aaaaad9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #86 0x000000aaaaadb234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #87 0x000000aaaaad2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #88 0x000000ffe65908c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #89 0x000000ffe65909cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #90 0x000000aaaaad20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/null-deref-ps-region.c.script: line 1: 3910235 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-ps-region.c -std=gnu99 -analyzer-checker=core -analyzer-checker=alpha.core -analyzer-checker=unix -analyzer-checker=alpha.unix -- ******************** Testing: 0 FAIL: Clang :: Analysis/nullability_nullonly.mm (989 of 19712) ******************** TEST 'Clang :: Analysis/nullability_nullonly.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8a22bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8a20c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8a233d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe390648 (linux-vdso.so.1+0x648) #4 0x000000fff10c4f18 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff10c4f18 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff10c4f18 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff10c4f18 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff10c4f18 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff10c4f18 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 0x000000fff10c4f18 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff10c4f18 llvm::IntrusiveRefCntPtr clang::ento::removeDeadImpl<(anonymous namespace)::DynamicTypeMap>(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:166:0 #12 0x000000fff14c397c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x000000fff14c397c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x000000fff14c397c clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x000000fff14c397c (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 0x000000fff10a68e8 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #17 0x000000fff10d81b4 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x000000fff10d81b4 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x000000fff10d81b4 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #20 0x000000fff10d81b4 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #21 0x000000fff10d81b4 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #22 0x000000fff10d81b4 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #23 0x000000fff10d81b4 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #24 0x000000fff10dfd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #25 0x000000fff10dfd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #26 0x000000fff10dfd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #27 0x000000fff10dfd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #28 0x000000fff10dfd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #29 0x000000fff10dfd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #30 0x000000fff10dfd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #31 0x000000fff10dfd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #32 0x000000fff10dfd94 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 0x000000fff10e165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff10e187c clang::ento::CoreEngine::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 0x000000fff10e1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #36 0x000000fff10e1c70 clang::ento::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 0x000000fff13ef03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #38 0x000000fff13ef03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #39 0x000000fff13ef03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #40 0x000000fff13ef03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #41 0x000000fff13ef03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #42 0x000000fff13f0224 llvm::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 0x000000fff13f0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #44 0x000000fff13f0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #45 0x000000fff13f4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x000000fff13f4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x000000fff13f4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #48 0x000000fff13f4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #49 0x000000fff13f4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #50 0x000000ffef636978 __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 0x000000ffef636978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #52 0x000000ffef636978 void clang::finalize>, 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 0x000000ffef636978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #54 0x000000fff0eafb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #55 0x000000fff0e6b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #56 0x000000fff0e6b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #57 0x000000fff0e6b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #58 0x000000fff0eff9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #59 0x000000aaad72dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #60 0x000000aaad731b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #61 0x000000aaad733234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #62 0x000000aaad72a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #63 0x000000ffe7c288c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #64 0x000000ffe7c289cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #65 0x000000aaad72a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nullability_nullonly.mm.script: line 2: 3911016 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fobjc-arc -analyzer-checker=core,nullability.NullPassedToNonnull,nullability.NullReturnedFromNonnull -DNOSYSTEMHEADERS=0 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability_nullonly.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/nullability-notes.m (993 of 19712) ******************** TEST 'Clang :: Analysis/nullability-notes.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe827abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8278c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe827b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffec7c648 (linux-vdso.so.1+0x648) #4 0x000000fff0d2d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0d2d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0d2d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0d2d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0d2d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0d2d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0d2d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0d2d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff09a43a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff09a43a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff09a43a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff09a43a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff09a43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff09a43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff09a43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff09a43a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff09a7dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff09a7dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff09a7dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff09a7dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff099b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff099b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff099b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff09a93b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff09a93b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff09a93b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff099bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff099bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff099bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff09b43b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff09b43b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff09b43b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff09bb1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff09bb1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff09bb1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0916138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0916138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0916138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0916138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff0916688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff0916688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff0916688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff08deb4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff08deb4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff08deb4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff092a6c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff092a6c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff092a6c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000fff093a010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff093a010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff093a010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff0c4703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff0c4703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff0c4703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff0c4703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff0c4703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff0c48224 llvm::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 0x000000fff0c48224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff0c48224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff0c4c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff0c4c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff0c4c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff0c4c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff0c4c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffeee8e978 __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 0x000000ffeee8e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffeee8e978 void clang::finalize>, 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 0x000000ffeee8e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff0707b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff06c3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff06c3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff06c3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff07579a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaac5fdc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaac601b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaac603234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaac5fa034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe74808c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe74809cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaac5fa0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nullability-notes.m.script: line 3: 3910861 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-checker=nullability.NullablePassedToNonnull -analyzer-checker=nullability.NullableReturnedFromNonnull -analyzer-checker=nullability.NullableDereferenced -analyzer-checker=debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability-notes.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/nullability.mm (994 of 19712) ******************** TEST 'Clang :: Analysis/nullability.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7a42bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7a40c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7a433d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffca80648 (linux-vdso.so.1+0x648) #4 0x000000fff04f5388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff04f5388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff04f5388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff04f5388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff04f5388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff04f5388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff04f5388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff04f5388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff016c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff016c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff016c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff016c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff016c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff016c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff016c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff016c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff016fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff016fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff016fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff016fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0163430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0163430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0163430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff01713b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff01713b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff01713b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0163d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0163d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0163d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff017c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff017c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff017c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff01831d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff01831d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff01831d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff00de138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff00de138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff00de138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff00de138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff00de688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff00de688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff00de688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff00a6b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff00a6b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff00a6b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff00f26c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff00f26c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff00f26c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000fff0102010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff0102010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff0102010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff040f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff040f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff040f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff040f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff040f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff0410224 llvm::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 0x000000fff0410224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff0410224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff0414604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff0414604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff0414604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff0414604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff0414604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffee656978 __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 0x000000ffee656978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffee656978 void clang::finalize>, 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 0x000000ffee656978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000ffefecfb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000ffefe8b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000ffefe8b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000ffefe8b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000ffeff1f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaaaec9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaaaecdb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaaaecf234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaaaec6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe6c488c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe6c489cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaaaec60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nullability.mm.script: line 4: 3910962 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability.mm -analyzer-checker=core -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-checker=nullability.NullablePassedToNonnull -analyzer-checker=nullability.NullableReturnedFromNonnull -analyzer-checker=nullability.NullableDereferenced -DNOSYSTEMHEADERS=0 -- ******************** Testing: 0 FAIL: Clang :: Analysis/nullptr.cpp (995 of 19712) ******************** TEST 'Clang :: Analysis/nullptr.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea6d2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea6d0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea6d33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe638648 (linux-vdso.so.1+0x648) #4 0x000000fff3185388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff3185388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff3185388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff3185388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff3185388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff3185388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff3185388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff3185388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff2dfc3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff2dfc3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff2dfc3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff2dfc3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff2dfc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff2dfc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff2dfc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff2dfc3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff2dffdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff2dffdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff2dffdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff2dffdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff2df3430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff2df3430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff2df3430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff2e013b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff2e013b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff2e013b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff2df3d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff2df3d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff2df3d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff2e0c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff2e0c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff2e0c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff2e131d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff2e131d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff2e131d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff2d6e138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff2d6e138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff2d6e138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff2d6e138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff2d6e688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff2d6e688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff2d6e688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff2d36b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff2d36b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff2d36b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff2d82674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff2d82674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff2d82674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000fff2d92010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff2d92010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff2d92010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff309f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff309f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff309f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff309f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff309f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff30a0224 llvm::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 0x000000fff30a0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff30a0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff30a4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff30a4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff30a4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff30a4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff30a4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000fff12e6978 __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 0x000000fff12e6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000fff12e6978 void clang::finalize>, 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 0x000000fff12e6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff2b5fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff2b1b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff2b1b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff2b1b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff2baf9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaaba8dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaaba91b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaaba93234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaaba8a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe98d88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe98d89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaaba8a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nullptr.cpp.script: line 1: 3911058 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-boxing.m (996 of 19712) ******************** TEST 'Clang :: Analysis/objc-boxing.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe88dabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe88d8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe88db3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc208648 (linux-vdso.so.1+0x648) #4 0x000000fff138d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff138d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff138d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff138d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff138d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff138d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff138d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff138d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff10043a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff10043a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff10043a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff10043a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff10043a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff10043a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff10043a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff10043a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1007dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1007dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1007dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1007dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0ffb430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0ffb430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0ffb430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff10093b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff10093b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff10093b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0ffbd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0ffbd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0ffbd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff10143b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff10143b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff10143b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff101b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff101b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff101b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0f76138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0f76138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0f76138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0f76138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff0f76688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff0f76688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff0f76688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff148b9e4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff148b9e4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff148b9e4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff148b9e4 (anonymous namespace)::ObjCNonNilReturnValueChecker::assumeExprIsNonNull(clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::ento::CheckerContext&) const (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp:1184:0 #50 0x000000fff1040634 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:103:0 #51 0x000000fff0f5dea8 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #52 0x000000fff0f5dea8 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:26 #53 0x000000fff0f97958 clang::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 0x000000fff0f97958 clang::ento::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 0x000000fff0f97e0c clang::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 0x000000fff0f9965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff0f9987c clang::ento::CoreEngine::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 0x000000fff0f99c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #59 0x000000fff0f99c70 clang::ento::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 0x000000fff12a703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #61 0x000000fff12a703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #62 0x000000fff12a703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #63 0x000000fff12a703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #64 0x000000fff12a703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #65 0x000000fff12a8224 llvm::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 0x000000fff12a8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x000000fff12a8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #68 0x000000fff12ac604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x000000fff12ac604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x000000fff12ac604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x000000fff12ac604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x000000fff12ac604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x000000ffef4ee978 __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 0x000000ffef4ee978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x000000ffef4ee978 void clang::finalize>, 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 0x000000ffef4ee978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x000000fff0d67b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #78 0x000000fff0d23354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #79 0x000000fff0d23354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #80 0x000000fff0d23354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #81 0x000000fff0db79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #82 0x000000aaaab51c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x000000aaaab55b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x000000aaaab57234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x000000aaaab4e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x000000ffe7ae08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #87 0x000000ffe7ae09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #88 0x000000aaaab4e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-boxing.m.script: line 1: 3911407 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-objc-literal-conversion -analyzer-checker=core,unix.Malloc,osx.cocoa.NonNilReturnValue,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-boxing.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/objc-for.m (997 of 19712) ******************** TEST 'Clang :: Analysis/objc-for.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe828ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe828cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe828f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd60c648 (linux-vdso.so.1+0x648) #4 0x000000fff0919650 llvm::ImutAVLTree, bool>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000fff0919650 llvm::IntrusiveRefCntPtrInfo, bool>>>::retain(llvm::ImutAVLTree, bool>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff0919650 llvm::IntrusiveRefCntPtr, bool>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff0919650 llvm::IntrusiveRefCntPtr, bool>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree, bool>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff0919650 llvm::ImmutableMap, bool, llvm::ImutKeyValueInfo, bool>>::ImmutableMap(llvm::ImutAVLTree, bool>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff0919650 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 0x000000fff0919650 get<(anonymous namespace)::ObjCForHasMoreIterations> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000fff0919650 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 0x000000fff0a03354 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x000000fff0a03354 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x000000fff0a03354 checkPostStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp:990:36 #15 0x000000fff0a03354 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:46 #16 0x000000fff0911ea8 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #17 0x000000fff0911ea8 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:26 #18 0x000000fff09858b0 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 #19 0x000000fff094b78c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #20 0x000000fff094b78c clang::ento::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 #21 0x000000fff094be0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #22 0x000000fff094d65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff094d87c clang::ento::CoreEngine::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 0x000000fff094dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x000000fff094dc70 clang::ento::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 0x000000fff0c5b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff0c5b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff0c5b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x000000fff0c5b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x000000fff0c5b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x000000fff0c5c224 llvm::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 0x000000fff0c5c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x000000fff0c5c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x000000fff0c60604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x000000fff0c60604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x000000fff0c60604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x000000fff0c60604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x000000fff0c60604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x000000ffeeea2978 __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 0x000000ffeeea2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x000000ffeeea2978 void clang::finalize>, 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 0x000000ffeeea2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x000000fff071bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x000000fff06d7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x000000fff06d7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x000000fff06d7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x000000fff076b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000000aaae1c9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000000aaae1cdb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000000aaae1cf234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000000aaae1c6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x000000ffe74948c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #53 0x000000ffe74949cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #54 0x000000aaae1c60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-for.m.script: line 1: 3911433 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-live-crash.mm (998 of 19712) ******************** TEST 'Clang :: Analysis/objc-live-crash.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe7176bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7174c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe70bd3e0 (/usr/lib64/libLLVM-17.so+0x9413e0) #3 0x000000ffff0cc648 (linux-vdso.so.1+0x648) #4 0x000000ffef800f7c retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000ffef800f7c retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffef800f7c retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffef800f7c IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffef800f7c ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffef800f7c MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000ffef800f7c get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000ffef800f7c 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 0x000000ffef80b5ac llvm::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 0x000000ffef80b5ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #14 0x000000ffef80b5ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x000000ffef80b5ac clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:429:50 #16 0x000000ffef80b5ac 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:45 #17 0x000000ffef80cd9c clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:7 #18 0x000000ffef80cd9c clang::ento::AnyCXXConstructorCall::getInitialStackFrameContents(clang::StackFrameContext const*, llvm::SmallVectorImpl>&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:915:31 #19 0x000000ffef8bfb90 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #20 0x000000ffef8bfb90 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #21 0x000000ffef86be7c clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #22 0x000000ffef86be7c clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #23 0x000000ffef86c058 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #24 0x000000ffef86c058 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #25 0x000000ffef86c058 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #26 0x000000ffef878020 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000ffef878020 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000ffef878020 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #29 0x000000ffef878b88 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #30 0x000000ffef878b88 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #31 0x000000ffef878b88 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x000000ffef878b88 clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #33 0x000000ffef811670 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:706:0 #34 0x000000ffef876da0 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #35 0x000000ffef876da0 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #36 0x000000ffef876da0 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #37 0x000000ffef876da0 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #38 0x000000ffef876da0 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #39 0x000000ffef876da0 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #40 0x000000ffef876da0 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #41 0x000000ffef832cdc clang::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 0x000000ffef832cdc clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #43 0x000000ffef833e0c clang::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 0x000000ffef83565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef83587c clang::ento::CoreEngine::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 0x000000ffef835c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #47 0x000000ffef835c70 clang::ento::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 0x000000ffefb4303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #49 0x000000ffefb4303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #50 0x000000ffefb4303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #51 0x000000ffefb4303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #52 0x000000ffefb4303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #53 0x000000ffefb44224 llvm::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 0x000000ffefb44224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #55 0x000000ffefb44224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #56 0x000000ffefb48604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x000000ffefb48604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x000000ffefb48604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #59 0x000000ffefb48604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #60 0x000000ffefb48604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #61 0x000000ffedd8a978 __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 0x000000ffedd8a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #63 0x000000ffedd8a978 void clang::finalize>, 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 0x000000ffedd8a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #65 0x000000ffef603b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #66 0x000000ffef5bf354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #67 0x000000ffef5bf354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #68 0x000000ffef5bf354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #69 0x000000ffef6539a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #70 0x000000aaabc85c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #71 0x000000aaabc89b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #72 0x000000ffef324504 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Job.cpp:440:32 #73 0x000000ffef324504 void llvm::function_ref::callback_fn>, std::__cxx11::basic_string, std::allocator>*, bool*) const::'lambda'()>(long) /usr/include/llvm/ADT/STLFunctionalExtras.h:45:52 #74 0x000000ffe70bd0fc llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib64/libLLVM-17.so+0x9410fc) #75 0x000000ffef32e250 clang::driver::CC1Command::Execute(llvm::ArrayRef>, std::__cxx11::basic_string, std::allocator>*, bool*) const (.part.0) /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Job.cpp:444:10 #76 0x000000ffef338870 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Compilation.cpp:200:3 #77 0x000000ffef338bdc clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Compilation.cpp:253:5 #78 0x000000ffef343d30 llvm::SmallVectorBase::empty() const /usr/include/llvm/ADT/SmallVector.h:94:0 #79 0x000000ffef343d30 clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Driver.cpp:1906:0 #80 0x000000aaabc8be14 llvm::SmallVectorTemplateCommon, void>::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #81 0x000000aaabc8be14 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:544:26 #82 0x000000aaabc82034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe637c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe637c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaabc820a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) clang: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 17.0.6 (OpenCloudOS 17.0.6-5.ocs23) Target: loongarch64-opencloudos-linux-gnu Thread model: posix InstalledDir: /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-6qma_yln/objc-live-crash-c25fda.mm clang: note: diagnostic msg: /tmp/lit-tmp-6qma_yln/objc-live-crash-c25fda.sh clang: note: diagnostic msg: ******************** -- ******************** Testing: 0 FAIL: Clang :: Analysis/objc-indirect-copy-restore.m (1000 of 19712) ******************** TEST 'Clang :: Analysis/objc-indirect-copy-restore.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9aeebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9aecc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9aef3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc284648 (linux-vdso.so.1+0x648) #4 0x000000fff2190f18 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2190f18 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2190f18 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2190f18 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2190f18 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2190f18 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 0x000000fff2190f18 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2190f18 llvm::IntrusiveRefCntPtr clang::ento::removeDeadImpl<(anonymous namespace)::DynamicTypeMap>(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:166:0 #12 0x000000fff258f97c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x000000fff258f97c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x000000fff258f97c clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x000000fff258f97c (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 0x000000fff21728e8 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #17 0x000000fff21a41b4 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x000000fff21a41b4 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x000000fff21a41b4 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #20 0x000000fff21a41b4 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #21 0x000000fff21a41b4 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #22 0x000000fff21a41b4 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #23 0x000000fff21a41b4 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #24 0x000000fff21abd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #25 0x000000fff21abd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #26 0x000000fff21abd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #27 0x000000fff21abd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #28 0x000000fff21abd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #29 0x000000fff21abd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #30 0x000000fff21abd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #31 0x000000fff21abd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #32 0x000000fff21abd94 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 0x000000fff21ad65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff21ad87c clang::ento::CoreEngine::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 0x000000fff21adc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #36 0x000000fff21adc70 clang::ento::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 0x000000fff24bb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #38 0x000000fff24bb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #39 0x000000fff24bb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #40 0x000000fff24bb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #41 0x000000fff24bb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #42 0x000000fff24bc224 llvm::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 0x000000fff24bc224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #44 0x000000fff24bc224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #45 0x000000fff24c0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x000000fff24c0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x000000fff24c0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #48 0x000000fff24c0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #49 0x000000fff24c0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #50 0x000000fff0702978 __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 0x000000fff0702978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #52 0x000000fff0702978 void clang::finalize>, 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 0x000000fff0702978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #54 0x000000fff1f7bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #55 0x000000fff1f37354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #56 0x000000fff1f37354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #57 0x000000fff1f37354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #58 0x000000fff1fcb9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #59 0x000000aaad41dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #60 0x000000aaad421b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #61 0x000000aaad423234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #62 0x000000aaad41a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #63 0x000000ffe8cf48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #64 0x000000ffe8cf49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #65 0x000000aaad41a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-indirect-copy-restore.m.script: line 1: 3911721 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fobjc-arc -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-indirect-copy-restore.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/objc-arc.m (1001 of 19712) ******************** TEST 'Clang :: Analysis/objc-arc.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe7e6abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7e68c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7e6b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff4f4648 (linux-vdso.so.1+0x648) #4 0x000000fff050cf18 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff050cf18 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff050cf18 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff050cf18 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff050cf18 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff050cf18 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 0x000000fff050cf18 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff050cf18 llvm::IntrusiveRefCntPtr clang::ento::removeDeadImpl<(anonymous namespace)::DynamicTypeMap>(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:166:0 #12 0x000000fff090b97c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x000000fff090b97c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x000000fff090b97c clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x000000fff090b97c (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 0x000000fff04ee8e8 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #17 0x000000fff05201b4 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x000000fff05201b4 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x000000fff05201b4 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #20 0x000000fff05201b4 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #21 0x000000fff05201b4 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #22 0x000000fff05201b4 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #23 0x000000fff05201b4 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #24 0x000000fff0527d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #25 0x000000fff0527d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #26 0x000000fff0527d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #27 0x000000fff0527d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #28 0x000000fff0527d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #29 0x000000fff0527d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #30 0x000000fff0527d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #31 0x000000fff0527d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #32 0x000000fff0527d94 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 0x000000fff052965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff052987c clang::ento::CoreEngine::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 0x000000fff0529c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #36 0x000000fff0529c70 clang::ento::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 0x000000fff083703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #38 0x000000fff083703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #39 0x000000fff083703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #40 0x000000fff083703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #41 0x000000fff083703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #42 0x000000fff0838224 llvm::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 0x000000fff0838224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #44 0x000000fff0838224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #45 0x000000fff083c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x000000fff083c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x000000fff083c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #48 0x000000fff083c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #49 0x000000fff083c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #50 0x000000ffeea7e978 __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 0x000000ffeea7e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #52 0x000000ffeea7e978 void clang::finalize>, 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 0x000000ffeea7e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #54 0x000000fff02f7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #55 0x000000fff02b3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #56 0x000000fff02b3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #57 0x000000fff02b3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #58 0x000000fff03479a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #59 0x000000aaabee9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #60 0x000000aaabeedb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #61 0x000000aaabeef234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #62 0x000000aaabee6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #63 0x000000ffe70708c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #64 0x000000ffe70709cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #65 0x000000aaabee60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-arc.m.script: line 2: 3911364 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-arc.m.tmp.plist /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-arc.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/objc-message.m (1002 of 19712) ******************** TEST 'Clang :: Analysis/objc-message.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe970abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9708c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe970b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffef28648 (linux-vdso.so.1+0x648) #4 0x000000fff21bd388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff21bd388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff21bd388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff21bd388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff21bd388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff21bd388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff21bd388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff21bd388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff1e343a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff1e343a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff1e343a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff1e343a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff1e343a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff1e343a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff1e343a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff1e343a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1e37dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1e37dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1e37dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1e37dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1e2b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1e2b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1e2b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff1e393b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff1e393b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff1e393b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1e2bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1e2bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1e2bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff1e443b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff1e443b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff1e443b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff1e4b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff1e4b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff1e4b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1da60e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1da60e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1da60e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1da60e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff1dbbe4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff1dbbe4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff1dbbe4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000fff1dbbe4c 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:0 #47 0x000000fff1dc7b90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000fff1dc7b90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000fff1dc7b90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000fff1dc7b90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000fff1dc7b90 clang::ento::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 #52 0x000000fff1dc7e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000fff1dc965c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000fff1dc987c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000fff1dc9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000fff1dc9c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000fff20d703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff20d703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff20d703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000fff20d703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000fff20d703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000fff20d8224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000fff20d8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000fff20d8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000fff20dc604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000fff20dc604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000fff20dc604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000fff20dc604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000fff20dc604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000fff031e978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000fff031e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000fff031e978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000fff031e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000fff1b97b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000fff1b53354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000fff1b53354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000fff1b53354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000fff1be79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaac749c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaac74db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaac74f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaac746034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe89108c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe89109cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaac7460a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-message.m.script: line 1: 3911800 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-message.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/objc-radar17039661.m (1005 of 19712) ******************** TEST 'Clang :: Analysis/objc-radar17039661.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe9506bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9504c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe95073d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc234648 (linux-vdso.so.1+0x648) #4 0x000000fff1fb9388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1fb9388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1fb9388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1fb9388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1fb9388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1fb9388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1fb9388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1fb9388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff1c303a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff1c303a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff1c303a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff1c303a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff1c303a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff1c303a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff1c303a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff1c303a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1c33dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1c33dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1c33dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1c33dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1c3265c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1c3265c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1c3265c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000fff1c35444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff1c35444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff1c35444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000fff1c27d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1c27d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1c27d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff1c403b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff1c403b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff1c403b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff1c471d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff1c471d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff1c471d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1ba2138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1ba2138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1ba2138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1ba2138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff20f8114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff20f8114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff20f8114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff1bb3190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff1bb3190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff1bb3190 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:0 #49 0x000000fff1bb3190 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:0 #50 0x000000fff1bb3190 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:0 #51 0x000000fff1bb3190 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:0 #52 0x000000fff1bb3190 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:0 #53 0x000000fff1bb3190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff1bb3190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff1bb3190 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:0 #56 0x000000fff1bb37ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff1bc5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff1bc5c70 clang::ento::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 0x000000fff1ed303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff1ed303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff1ed303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff1ed303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff1ed303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff1ed4224 llvm::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 0x000000fff1ed4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff1ed4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff1ed8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff1ed8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff1ed8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff1ed8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff1ed8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000fff011a978 __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 0x000000fff011a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000fff011a978 void clang::finalize>, 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 0x000000fff011a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff1993b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff194f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff194f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff194f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff19e39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaac1edc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaac1f1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaac1f3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaac1ea034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe870c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe870c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaac1ea0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-radar17039661.m.script: line 3: 3911892 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-string.mm (1006 of 19712) ******************** TEST 'Clang :: Analysis/objc-string.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -Wno-objc-literal-conversion /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-string.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -Wno-objc-literal-conversion /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-string.mm 1. parser at end of file 2. While analyzing stack: #0 Calling rdar13773117::testGlobals() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-string.mm:19:5: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-string.mm:19:5: Error evaluating statement #0 0x000000ffe95bebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe95bcc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe95bf3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff638648 (linux-vdso.so.1+0x648) #4 0x000000fff2071388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2071388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2071388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2071388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2071388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2071388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2071388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2071388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff1ce83a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff1ce83a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff1ce83a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff1ce83a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff1ce83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff1ce83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff1ce83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff1ce83a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1cebdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1cebdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1cebdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1cebdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1cdf430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1cdf430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1cdf430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff1ced3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff1ced3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff1ced3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1cdfd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1cdfd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1cdfd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff1cf83b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff1cf83b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff1cf83b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff1cff1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff1cff1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff1cff1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1c5a138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1c5a138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1c5a138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1c5a138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff21b1e24 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff21b1e24 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff21b1e24 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff21b1e24 getArgumentValueString(clang::CallExpr const*, clang::ento::CheckerContext&) (.part.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:150:20 #47 0x000000fff1d6b864 getArgumentValueString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:135:3 #48 0x000000fff1d6b864 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #49 0x000000fff1d6b864 (anonymous namespace)::ExprInspectionChecker::analyzerEval(clang::CallExpr const*, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:215:0 #50 0x000000fff1db37b0 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:0 #51 0x000000fff1db37b0 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 #52 0x000000fff1c59588 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #53 0x000000fff1ca2440 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #54 0x000000fff1ca2440 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #55 0x000000fff1ca2440 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #56 0x000000fff1ca2440 clang::ento::ExprEngine::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 #57 0x000000fff1ca2e4c clang::ento::ExprEngine::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 #58 0x000000fff1c7ad1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #59 0x000000fff1c7ad1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #60 0x000000fff1c7be0c clang::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 0x000000fff1c7d65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff1c7d87c clang::ento::CoreEngine::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 0x000000fff1c7dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #64 0x000000fff1c7dc70 clang::ento::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 0x000000fff1f8b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #66 0x000000fff1f8b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #67 0x000000fff1f8b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #68 0x000000fff1f8b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #69 0x000000fff1f8b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #70 0x000000fff1f8c224 llvm::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 0x000000fff1f8c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #72 0x000000fff1f8c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #73 0x000000fff1f90604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #74 0x000000fff1f90604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #75 0x000000fff1f90604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #76 0x000000fff1f90604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #77 0x000000fff1f90604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #78 0x000000fff01d2978 __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 0x000000fff01d2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #80 0x000000fff01d2978 void clang::finalize>, 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 0x000000fff01d2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #82 0x000000fff1a4bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #83 0x000000fff1a07354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #84 0x000000fff1a07354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #85 0x000000fff1a07354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #86 0x000000fff1a9b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #87 0x000000aaad6f5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #88 0x000000aaad6f9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #89 0x000000aaad6fb234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #90 0x000000aaad6f2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #91 0x000000ffe87c48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #92 0x000000ffe87c49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #93 0x000000aaad6f20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-string.mm.script: line 1: 3911916 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -Wno-objc-literal-conversion /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-string.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/objc-subscript.m (1007 of 19712) ******************** TEST 'Clang :: Analysis/objc-subscript.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9c4abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9c48c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9c4b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcdec648 (linux-vdso.so.1+0x648) #4 0x000000fff26fd388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff26fd388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff26fd388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff26fd388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff26fd388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff26fd388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff26fd388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff26fd388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff23743a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff23743a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff23743a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff23743a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff23743a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff23743a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff23743a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff23743a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff2377dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff2377dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff2377dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff2377dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff236b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff236b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff236b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff23793b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff23793b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff23793b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff236bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff236bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff236bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff23843b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff23843b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff23843b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff238b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff238b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff238b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff22e6138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff22e6138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff22e6138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff22e6138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff22e6688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff22e6688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff22e6688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff22aeb4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff22aeb4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff22aeb4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff22fa6c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff22fa6c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff22fa6c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000fff230a010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff230a010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff230a010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff261703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff261703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff261703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff261703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff261703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff2618224 llvm::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 0x000000fff2618224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff2618224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff261c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff261c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff261c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff261c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff261c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000fff085e978 __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 0x000000fff085e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000fff085e978 void clang::finalize>, 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 0x000000fff085e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff20d7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff2093354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff2093354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff2093354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff21279a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaae529c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaae52db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaae52f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaae526034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe8e508c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe8e509cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaae5260a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-subscript.m.script: line 1: 3912032 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-subscript.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/objc_invalidation.m (1008 of 19712) ******************** TEST 'Clang :: Analysis/objc_invalidation.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea5babb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea5b8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea5bb3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffebf4648 (linux-vdso.so.1+0x648) #4 0x000000fff306d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff306d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff306d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff306d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff306d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff306d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff306d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff306d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff2ce43a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff2ce43a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff2ce43a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff2ce43a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff2ce43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff2ce43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff2ce43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff2ce43a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff2ce7dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff2ce7dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff2ce7dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff2ce7dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff2cdb430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff2cdb430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff2cdb430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff2ce93b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff2ce93b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff2ce93b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff2cdbd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff2cdbd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff2cdbd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff2cf43b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff2cf43b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff2cf43b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff2cfb1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff2cfb1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff2cfb1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff2c56138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff2c56138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff2c56138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff2c56138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff2c56688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff2c56688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff2c56688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff2c1eb4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff2c1eb4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff2c1eb4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff2c6a6c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff2c6a6c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff2c6a6c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000fff2c7a010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff2c7a010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff2c7a010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff2f8703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff2f8703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff2f8703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff2f8703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff2f8703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff2f88224 llvm::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 0x000000fff2f88224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff2f88224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff2f8c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff2f8c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff2f8c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff2f8c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff2f8c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000fff11ce978 __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 0x000000fff11ce978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000fff11ce978 void clang::finalize>, 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 0x000000fff11ce978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff2a47b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff2a03354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff2a03354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff2a03354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff2a979a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaac689c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaac68db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaac68f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaac686034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe97c08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe97c09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaac6860a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc_invalidation.m.script: line 2: 3912450 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/direct-ivar-assignment-in-annotated-functions.m (1009 of 19712) ******************** TEST 'Clang :: Analysis/objc/direct-ivar-assignment-in-annotated-functions.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8946bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8944c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe89473d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffebd4648 (linux-vdso.so.1+0x648) #4 0x000000fff13f9388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff13f9388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff13f9388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff13f9388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff13f9388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff13f9388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff13f9388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff13f9388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff10703a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff10703a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff10703a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff10703a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff10703a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff10703a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff10703a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff10703a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1073dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1073dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1073dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1073dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1067430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1067430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1067430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff10753b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff10753b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff10753b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1067d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1067d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1067d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff10803b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff10803b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff10803b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff10871d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff10871d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff10871d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0fe2138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0fe2138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0fe2138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0fe2138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff0fe2688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff0fe2688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff0fe2688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff0faab4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff0faab4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff0faab4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff0ff66c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff0ff66c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff0ff66c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000fff1006010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff1006010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff1006010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff131303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff131303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff131303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff131303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff131303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff1314224 llvm::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 0x000000fff1314224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff1314224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff1318604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff1318604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff1318604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff1318604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff1318604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffef55a978 __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 0x000000ffef55a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffef55a978 void clang::finalize>, 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 0x000000ffef55a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff0dd3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff0d8f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff0d8f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff0d8f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff0e239a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaaac7dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaaac81b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaaac83234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaaac7a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe7b4c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe7b4c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaaac7a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/objc/Output/direct-ivar-assignment-in-annotated-functions.m.script: line 1: 3912433 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc/direct-ivar-assignment-in-annotated-functions.m -analyzer-checker=core -analyzer-checker=alpha.osx.cocoa.DirectIvarAssignment -analyzer-config alpha.osx.cocoa.DirectIvarAssignment:AnnotatedFunctions=true -- ******************** Testing: 0 FAIL: Clang :: Analysis/objcpp-uninitialized-object.mm (1010 of 19712) ******************** TEST 'Clang :: Analysis/objcpp-uninitialized-object.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe92dabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe92d8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe92db3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffde38648 (linux-vdso.so.1+0x648) #4 0x000000fff198ff68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff198ff68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff198ff68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff198ff68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff198ff68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff198ff68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff198ff68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff198ff68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000fff1997d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x000000fff1997d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x000000fff1997d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x000000fff1997d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x000000fff1997d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x000000fff1997d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x000000fff1997d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x000000fff1997d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x000000fff1997d94 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 0x000000fff199965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff1999780 clang::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 0x000000fff1999a58 clang::ento::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 0x000000fff1999c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x000000fff1999c70 clang::ento::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 0x000000fff1ca703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff1ca703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff1ca703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x000000fff1ca703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x000000fff1ca703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x000000fff1ca8224 llvm::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 0x000000fff1ca8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x000000fff1ca8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x000000fff1cac604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x000000fff1cac604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x000000fff1cac604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x000000fff1cac604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x000000fff1cac604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x000000ffefeee978 __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 0x000000ffefeee978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x000000ffefeee978 void clang::finalize>, 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 0x000000ffefeee978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x000000fff1767b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x000000fff1723354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x000000fff1723354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x000000fff1723354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x000000fff17b79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000000aaabc51c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000000aaabc55b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000000aaabc57234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000000aaabc4e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x000000ffe84e08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #53 0x000000ffe84e09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #54 0x000000aaabc4e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objcpp-uninitialized-object.mm.script: line 1: 3912599 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (1011 of 19712) ******************** TEST 'Clang :: Analysis/operator-calls.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8012bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8010c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe80133d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcef8648 (linux-vdso.so.1+0x648) #4 0x000000fff06c7f68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff06c7f68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff06c7f68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff06c7f68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff06c7f68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff06c7f68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff06c7f68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff06c7f68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000fff06cfd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x000000fff06cfd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x000000fff06cfd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x000000fff06cfd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x000000fff06cfd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x000000fff06cfd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x000000fff06cfd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x000000fff06cfd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x000000fff06cfd94 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 0x000000fff06d165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff06d1780 clang::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 0x000000fff06d1a58 clang::ento::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 0x000000fff06d1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x000000fff06d1c70 clang::ento::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 0x000000fff09df03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff09df03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff09df03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x000000fff09df03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x000000fff09df03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x000000fff09e0224 llvm::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 0x000000fff09e0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x000000fff09e0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x000000fff09e4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x000000fff09e4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x000000fff09e4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x000000fff09e4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x000000fff09e4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x000000ffeec26978 __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 0x000000ffeec26978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x000000ffeec26978 void clang::finalize>, 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 0x000000ffeec26978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x000000fff049fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x000000fff045b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x000000fff045b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x000000fff045b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x000000fff04ef9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000000aaac709c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000000aaac70db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000000aaac70f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000000aaac706034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x000000ffe72188c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #53 0x000000ffe72189cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #54 0x000000aaac7060a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/operator-calls.cpp.script: line 1: 3912761 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,alpha.core,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/operator-calls.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/osobject-retain-release.cpp (1012 of 19712) ******************** TEST 'Clang :: Analysis/osobject-retain-release.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe85f6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe85f4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe85f73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd5e8648 (linux-vdso.so.1+0x648) #4 0x000000fff0cd2244 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff0cd2244 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff0cd2244 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff0cd2244 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x000000fff0cd2244 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x000000fff0cd2244 Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:27 #10 0x000000fff0cd2244 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:89 #11 0x000000fff0cd2244 llvm::IntrusiveRefCntPtr clang::ento::ProgramState::set<(anonymous namespace)::ObjectsUnderConstruction>(clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:63 #12 0x000000fff0caa10c 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:600:0 #13 0x000000fff0cd945c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #14 0x000000fff0cd945c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #15 0x000000fff0cd945c clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:472:65 #16 0x000000fff0cf5bd0 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x000000fff0cf5bd0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x000000fff0cf5bd0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x000000fff0cf5bd0 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 #20 0x000000fff0cf5bd0 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 #21 0x000000fff0cf7dfc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:206:0 #22 0x000000fff0cf7dfc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #23 0x000000fff0cf7dfc 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 #24 0x000000fff0cf88f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #25 0x000000fff0cf88f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #26 0x000000fff0cf88f4 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 #27 0x000000fff0c91670 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:706:0 #28 0x000000fff0cda440 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #29 0x000000fff0cda440 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #30 0x000000fff0cda440 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #31 0x000000fff0cda440 clang::ento::ExprEngine::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 #32 0x000000fff0cdae4c clang::ento::ExprEngine::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 #33 0x000000fff0cb2d1c clang::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 0x000000fff0cb2d1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #35 0x000000fff0cb3e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #36 0x000000fff0cb565c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #37 0x000000fff0cb587c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #38 0x000000fff0cb5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #39 0x000000fff0cb5c70 clang::ento::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 0x000000fff0fc303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #41 0x000000fff0fc303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #42 0x000000fff0fc303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #43 0x000000fff0fc303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #44 0x000000fff0fc303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #45 0x000000fff0fc4224 llvm::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 0x000000fff0fc4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x000000fff0fc4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #48 0x000000fff0fc8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x000000fff0fc8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x000000fff0fc8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x000000fff0fc8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x000000fff0fc8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x000000ffef20a978 __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 0x000000ffef20a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x000000ffef20a978 void clang::finalize>, 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 0x000000ffef20a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x000000fff0a83b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #58 0x000000fff0a3f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #59 0x000000fff0a3f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #60 0x000000fff0a3f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #61 0x000000fff0ad39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #62 0x000000aaad881c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x000000aaad885b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x000000aaad887234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x000000aaad87e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x000000ffe77fc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #67 0x000000ffe77fc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #68 0x000000aaad87e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/osobject-retain-release.cpp.script: line 1: 3912767 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -fblocks -analyze -analyzer-output=text -analyzer-checker=core,osx,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/osobject-retain-release.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/out-of-bounds.c (1013 of 19712) ******************** TEST 'Clang :: Analysis/out-of-bounds.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8d5ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8d5cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8d5f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffdb80648 (linux-vdso.so.1+0x648) #4 0x000000fff1435510 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000fff1435510 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff1435510 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff1435510 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff1435510 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff1435510 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff1435510 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000fff1435510 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x000000fff1435510 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x000000fff1435608 (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 0x000000fff1498824 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #15 0x000000fff1498824 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #16 0x000000fff1498824 (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:0 #17 0x000000fff190f6f4 llvm::DenseMap, llvm::detail::DenseMapPair>::~DenseMap() /usr/include/llvm/ADT/DenseMap.h:782:0 #18 0x000000fff190f6f4 ~Simplifier /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1211:0 #19 0x000000fff190f6f4 (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 #20 0x000000fff1480030 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #21 0x000000fff1480030 (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 #22 0x000000fff14a04d8 (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 #23 0x000000fff14c55c4 llvm::CastInfo::doCastIfPossible(clang::ento::SVal const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h:571:5 #24 0x000000fff14c55c4 decltype(auto) llvm::dyn_cast(clang::ento::SVal const&) /usr/include/llvm/Support/Casting.h:651:52 #25 0x000000fff14c55c4 std::optional clang::ento::SVal::getAs() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h:105:29 #26 0x000000fff14c55c4 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:92 #27 0x000000fff180ea3c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #28 0x000000fff180ea3c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #29 0x000000fff180ea3c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000fff180ea3c (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 #31 0x000000fff13e2208 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #32 0x000000fff140c06c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #33 0x000000fff140c06c 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:0 #34 0x000000fff141e428 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #35 0x000000fff141e428 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #36 0x000000fff141e428 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #37 0x000000fff141e428 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:0 #38 0x000000fff145695c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #39 0x000000fff145695c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #40 0x000000fff145695c 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 #41 0x000000fff141bab8 clang::ento::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 #42 0x000000fff141be0c clang::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 0x000000fff141d65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff141d87c clang::ento::CoreEngine::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 0x000000fff141dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #46 0x000000fff141dc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #47 0x000000fff172b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #48 0x000000fff172b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #49 0x000000fff172b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #50 0x000000fff172b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #51 0x000000fff172b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #52 0x000000fff172c224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #53 0x000000fff172c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #54 0x000000fff172c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #55 0x000000fff1730604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x000000fff1730604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x000000fff1730604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #58 0x000000fff1730604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #59 0x000000fff1730604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #60 0x000000ffef972978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #61 0x000000ffef972978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #62 0x000000ffef972978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #63 0x000000ffef972978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #64 0x000000fff11ebb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #65 0x000000fff11a7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #66 0x000000fff11a7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #67 0x000000fff11a7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #68 0x000000fff123b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #69 0x000000aaad4edc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #70 0x000000aaad4f1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #71 0x000000aaad4f3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #72 0x000000aaad4ea034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #73 0x000000ffe7f648c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #74 0x000000ffe7f649cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #75 0x000000aaad4ea0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/out-of-bounds.c.script: line 1: 3912962 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/out-of-bounds-new.cpp (1014 of 19712) ******************** TEST 'Clang :: Analysis/out-of-bounds-new.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7fcebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7fccc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7fcf3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff044648 (linux-vdso.so.1+0x648) #4 0x000000fff0a81388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0a81388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0a81388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0a81388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0a81388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0a81388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0a81388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0a81388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff06f83a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff06f83a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff06f83a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff06f83a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff06f83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff06f83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff06f83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff06f83a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff06fbdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff06fbdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff06fbdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff06fbdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff06ef430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff06ef430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff06ef430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff06fd3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff06fd3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff06fd3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff06efd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff06efd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff06efd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff07083b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff07083b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff07083b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff070f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff070f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff070f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff066a138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff066a138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff066a138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff066a138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff066a688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff066a688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff066a688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff06d19ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff06d19ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff06d19ac clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff06d19ac clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #50 0x000000fff0684d50 clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1318:0 #51 0x000000fff068d6a8 clang::ento::ExprEngine::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 #52 0x000000fff068d87c clang::ento::CoreEngine::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 0x000000fff068dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #54 0x000000fff068dc70 clang::ento::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 0x000000fff099b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff099b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff099b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff099b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff099b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff099c224 llvm::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 0x000000fff099c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff099c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff09a0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff09a0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff09a0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff09a0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff09a0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffeebe2978 __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 0x000000ffeebe2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffeebe2978 void clang::finalize>, 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 0x000000ffeebe2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff045bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff0417354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff0417354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff0417354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff04ab9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaab089c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaab08db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaab08f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaab086034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe71d48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe71d49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaab0860a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/out-of-bounds-new.cpp.script: line 1: 3912885 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/outofbound.c (1015 of 19712) ******************** TEST 'Clang :: Analysis/outofbound.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6916bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6914c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe69173d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd01c648 (linux-vdso.so.1+0x648) #4 0x000000ffef0649f0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef0649f0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef0649f0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef0649f0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000ffef0649f0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000ffef0649f0 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000ffeefcc278 llvm::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 0x000000ffeefcc278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000ffeefcc278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000ffeefcc278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000ffeefd3d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #15 0x000000ffeefd3d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #16 0x000000ffeefd3d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #17 0x000000ffeefd3d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #18 0x000000ffeefd3d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #19 0x000000ffeefd3d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #20 0x000000ffeefd3d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #21 0x000000ffeefd3d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #22 0x000000ffeefd3d94 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 #23 0x000000ffeefd565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffeefd5780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #25 0x000000ffeefd5a58 clang::ento::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 #26 0x000000ffeefd5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000ffeefd5c70 clang::ento::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 0x000000ffef2e303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000ffef2e303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000ffef2e303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000ffef2e303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000ffef2e303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000ffef2e4224 llvm::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 0x000000ffef2e4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000ffef2e4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000ffef2e8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000ffef2e8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000ffef2e8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000ffef2e8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000ffef2e8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000ffed52a978 __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 0x000000ffed52a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x000000ffed52a978 void clang::finalize>, 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 0x000000ffed52a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x000000ffeeda3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x000000ffeed5f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x000000ffeed5f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x000000ffeed5f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x000000ffeedf39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #50 0x000000aaabfe5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x000000aaabfe9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x000000aaabfeb234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x000000aaabfe2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x000000ffe5b1c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #55 0x000000ffe5b1c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #56 0x000000aaabfe20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/outofbound.c.script: line 1: 3913382 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-array-bounds -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/outofbound.c -analyzer-checker=core -analyzer-checker=unix -analyzer-checker=alpha.security.ArrayBound -analyzer-config unix.DynamicMemoryModeling:Optimistic=true -- ******************** Testing: 0 FAIL: Clang :: Analysis/override-werror.c (1016 of 19712) ******************** TEST 'Clang :: Analysis/override-werror.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe95cabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe95c8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe95cb3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff3ec648 (linux-vdso.so.1+0x648) #4 0x000000fff207d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff207d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff207d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff207d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff207d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff207d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff207d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff207d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff1cf43a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff1cf43a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff1cf43a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff1cf43a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff1cf43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff1cf43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff1cf43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff1cf43a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1cf7dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1cf7dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1cf7dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1cf7dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1ceb430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1ceb430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1ceb430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff1cf93b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff1cf93b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff1cf93b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1cebd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1cebd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1cebd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff1d043b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff1d043b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff1d043b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff1d0b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff1d0b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff1d0b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1c660e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1c660e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1c660e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1c660e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff1c7be4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff1c7be4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff1c7be4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000fff1c7be4c 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:0 #47 0x000000fff1c87b90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000fff1c87b90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000fff1c87b90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000fff1c87b90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000fff1c87b90 clang::ento::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 #52 0x000000fff1c87e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000fff1c8965c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000fff1c8987c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000fff1c89c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000fff1c89c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000fff1f9703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff1f9703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff1f9703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000fff1f9703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000fff1f9703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000fff1f98224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000fff1f98224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000fff1f98224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000fff1f9c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000fff1f9c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000fff1f9c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000fff1f9c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000fff1f9c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000fff01de978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000fff01de978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000fff01de978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000fff01de978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000fff1a57b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000fff1a13354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000fff1a13354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000fff1a13354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000fff1aa79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaabba5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaabba9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaabbab234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaabba2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe87d08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe87d09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaabba20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/override-werror.c.script: line 2: 3913457 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (1019 of 19712) ******************** TEST 'Clang :: Analysis/placement-new.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe80aabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe80a8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe80ab3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe008648 (linux-vdso.so.1+0x648) #4 0x000000fff075ff68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff075ff68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff075ff68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff075ff68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff075ff68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff075ff68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff075ff68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff075ff68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000fff0767d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x000000fff0767d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x000000fff0767d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x000000fff0767d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x000000fff0767d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x000000fff0767d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x000000fff0767d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x000000fff0767d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x000000fff0767d94 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 0x000000fff076965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff0769780 clang::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 0x000000fff0769a58 clang::ento::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 0x000000fff0769c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x000000fff0769c70 clang::ento::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 0x000000fff0a7703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff0a7703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff0a7703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x000000fff0a7703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x000000fff0a7703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x000000fff0a78224 llvm::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 0x000000fff0a78224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x000000fff0a78224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x000000fff0a7c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x000000fff0a7c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x000000fff0a7c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x000000fff0a7c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x000000fff0a7c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x000000ffeecbe978 __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 0x000000ffeecbe978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x000000ffeecbe978 void clang::finalize>, 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 0x000000ffeecbe978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x000000fff0537b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x000000fff04f3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x000000fff04f3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x000000fff04f3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x000000fff05879a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000000aaac249c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000000aaac24db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000000aaac24f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000000aaac246034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x000000ffe72b08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #53 0x000000ffe72b09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #54 0x000000aaac2460a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/placement-new.cpp.script: line 1: 3913839 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (1020 of 19712) ******************** TEST 'Clang :: Analysis/placement-new-user-defined.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7142bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7140c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe71433d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd2a0648 (linux-vdso.so.1+0x648) #4 0x000000ffef7f7f68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000ffef7f7f68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffef7f7f68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffef7f7f68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffef7f7f68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffef7f7f68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000ffef7f7f68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000ffef7f7f68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000ffef840c58 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #13 0x000000ffef840c58 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #14 0x000000ffef840c58 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #15 0x000000ffef840c58 clang::ento::ExprEngine::processCallExit(clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:377:0 #16 0x000000ffef801c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #17 0x000000ffef801c70 clang::ento::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 0x000000ffefb0f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #19 0x000000ffefb0f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x000000ffefb0f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #21 0x000000ffefb0f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #22 0x000000ffefb0f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #23 0x000000ffefb10224 llvm::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 0x000000ffefb10224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x000000ffefb10224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #26 0x000000ffefb14604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x000000ffefb14604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x000000ffefb14604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x000000ffefb14604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x000000ffefb14604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x000000ffedd56978 __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 0x000000ffedd56978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x000000ffedd56978 void clang::finalize>, 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 0x000000ffedd56978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x000000ffef5cfb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #36 0x000000ffef58b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #37 0x000000ffef58b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #38 0x000000ffef58b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #39 0x000000ffef61f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #40 0x000000aaac51dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x000000aaac521b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x000000aaac523234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x000000aaac51a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x000000ffe63488c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #45 0x000000ffe63489cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #46 0x000000aaac51a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/placement-new-user-defined.cpp.script: line 1: 3913697 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-diagnostics-template-function.cpp (1022 of 19712) ******************** TEST 'Clang :: Analysis/plist-diagnostics-template-function.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe7306bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7304c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe73073d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd87c648 (linux-vdso.so.1+0x648) #4 0x000000ffefdb9388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffefdb9388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffefdb9388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffefdb9388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffefdb9388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffefdb9388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffefdb9388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffefdb9388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffefa303a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffefa303a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffefa303a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffefa303a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffefa303a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffefa303a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffefa303a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffefa303a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffefa33aec llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffefa33aec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffefa33aec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffefa33aec (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:31 #24 0x000000ffefa3265c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffefa3265c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffefa3265c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000ffefa35444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffefa35444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffefa35444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000ffefa27d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffefa27d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffefa27d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffefa403b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffefa403b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffefa403b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffefa471d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffefa471d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffefa471d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef9a20e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef9a20e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef9a20e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef9a20e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000ffefef8114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000ffefef8114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000ffefef8114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000ffef9b3190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000ffef9b3190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000ffef9b3190 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:0 #49 0x000000ffef9b3190 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:0 #50 0x000000ffef9b3190 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:0 #51 0x000000ffef9b3190 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:0 #52 0x000000ffef9b3190 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:0 #53 0x000000ffef9b3190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000ffef9b3190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000ffef9b3190 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:0 #56 0x000000ffef9b37ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000ffef9c5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000ffef9c5c70 clang::ento::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 0x000000ffefcd303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000ffefcd303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000ffefcd303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000ffefcd303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000ffefcd303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000ffefcd4224 llvm::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 0x000000ffefcd4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000ffefcd4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000ffefcd8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000ffefcd8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000ffefcd8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000ffefcd8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000ffefcd8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffedf1a978 __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 0x000000ffedf1a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffedf1a978 void clang::finalize>, 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 0x000000ffedf1a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000ffef793b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000ffef74f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000ffef74f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000ffef74f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000ffef7e39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaab049c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaab04db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaab04f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaab046034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe650c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe650c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaab0460a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-diagnostics-template-function.cpp.script: line 2: 3913864 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-diagnostics-template-function.cpp.tmp.plist -std=c++11 -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-diagnostics-template-function.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/plist-html-macros.c (1023 of 19712) ******************** TEST 'Clang :: Analysis/plist-html-macros.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-html-macros.c.tmp.dir : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -o /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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 0x000000ffe744abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7448c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe744b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff978648 (linux-vdso.so.1+0x648) #4 0x000000ffefefd388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffefefd388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffefefd388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffefefd388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffefefd388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffefefd388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffefefd388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffefefd388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffefb743a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffefb743a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffefb743a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffefb743a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffefb743a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffefb743a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffefb743a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffefb743a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffefb77dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffefb77dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffefb77dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffefb77dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffefb6b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffefb6b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffefb6b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffefb793b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffefb793b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffefb793b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffefb6bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffefb6bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffefb6bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffefb843b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffefb843b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffefb843b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffefb8b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffefb8b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffefb8b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffefae6138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffefae6138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffefae6138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffefae6138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff003c114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff003c114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff003c114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000ffefaf7190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000ffefaf7190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000ffefaf7190 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:0 #49 0x000000ffefaf7190 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:0 #50 0x000000ffefaf7190 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:0 #51 0x000000ffefaf7190 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:0 #52 0x000000ffefaf7190 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:0 #53 0x000000ffefaf7190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000ffefaf7190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000ffefaf7190 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:0 #56 0x000000ffefaf77ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000ffefb09c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000ffefb09c70 clang::ento::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 0x000000ffefe1703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000ffefe1703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000ffefe1703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000ffefe1703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000ffefe1703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000ffefe18224 llvm::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 0x000000ffefe18224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000ffefe18224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000ffefe1c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000ffefe1c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000ffefe1c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000ffefe1c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000ffefe1c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffee05e978 __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 0x000000ffee05e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffee05e978 void clang::finalize>, 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 0x000000ffee05e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000ffef8d7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000ffef893354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000ffef893354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000ffef893354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000ffef9279a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaaaeb1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaaaeb5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaaaeb7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaaaeae034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe66508c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe66509cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaaaeae0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-html-macros.c.script: line 6: 3913944 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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/path-notes-impl-param.m (1024 of 19712) ******************** TEST 'Clang :: Analysis/path-notes-impl-param.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6dc6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6dc4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6dc73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc32c648 (linux-vdso.so.1+0x648) #4 0x000000ffef468f18 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef468f18 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef468f18 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef468f18 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef468f18 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef468f18 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 0x000000ffef468f18 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef468f18 llvm::IntrusiveRefCntPtr clang::ento::removeDeadImpl<(anonymous namespace)::DynamicTypeMap>(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:166:0 #12 0x000000ffef86797c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x000000ffef86797c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x000000ffef86797c clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x000000ffef86797c (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 0x000000ffef44a8e8 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #17 0x000000ffef47c1b4 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x000000ffef47c1b4 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x000000ffef47c1b4 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #20 0x000000ffef47c1b4 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #21 0x000000ffef47c1b4 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #22 0x000000ffef47c1b4 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #23 0x000000ffef47c1b4 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #24 0x000000ffef483d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #25 0x000000ffef483d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #26 0x000000ffef483d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #27 0x000000ffef483d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #28 0x000000ffef483d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #29 0x000000ffef483d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #30 0x000000ffef483d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #31 0x000000ffef483d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #32 0x000000ffef483d94 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 0x000000ffef48565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef48587c clang::ento::CoreEngine::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 0x000000ffef485c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #36 0x000000ffef485c70 clang::ento::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 0x000000ffef79303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #38 0x000000ffef79303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #39 0x000000ffef79303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #40 0x000000ffef79303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #41 0x000000ffef79303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #42 0x000000ffef794224 llvm::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 0x000000ffef794224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #44 0x000000ffef794224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #45 0x000000ffef798604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x000000ffef798604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x000000ffef798604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #48 0x000000ffef798604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #49 0x000000ffef798604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #50 0x000000ffed9da978 __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 0x000000ffed9da978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #52 0x000000ffed9da978 void clang::finalize>, 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 0x000000ffed9da978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #54 0x000000ffef253b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #55 0x000000ffef20f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #56 0x000000ffef20f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #57 0x000000ffef20f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #58 0x000000ffef2a39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #59 0x000000aaaadc5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #60 0x000000aaaadc9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #61 0x000000aaaadcb234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #62 0x000000aaaadc2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #63 0x000000ffe5fcc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #64 0x000000ffe5fcc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #65 0x000000aaaadc20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/path-notes-impl-param.m.script: line 1: 3913611 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/path-notes-impl-param.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/plist-diagnostics-template-record.cpp (1025 of 19712) ******************** TEST 'Clang :: Analysis/plist-diagnostics-template-record.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe75b2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe75b0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe75b33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd4c0648 (linux-vdso.so.1+0x648) #4 0x000000ffefc3cf7c retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000ffefc3cf7c retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffefc3cf7c retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffefc3cf7c IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffefc3cf7c ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffefc3cf7c MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000ffefc3cf7c get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000ffefc3cf7c 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 0x000000ffefc475ac llvm::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 0x000000ffefc475ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #14 0x000000ffefc475ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x000000ffefc475ac clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:429:50 #16 0x000000ffefc475ac 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:45 #17 0x000000ffefc48d9c clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:7 #18 0x000000ffefc48d9c clang::ento::AnyCXXConstructorCall::getInitialStackFrameContents(clang::StackFrameContext const*, llvm::SmallVectorImpl>&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:915:31 #19 0x000000ffefcfbb90 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #20 0x000000ffefcfbb90 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #21 0x000000ffefca7e7c clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #22 0x000000ffefca7e7c clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #23 0x000000ffefca8058 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #24 0x000000ffefca8058 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #25 0x000000ffefca8058 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #26 0x000000ffefcb4020 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000ffefcb4020 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000ffefcb4020 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #29 0x000000ffefcb4b88 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #30 0x000000ffefcb4b88 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #31 0x000000ffefcb4b88 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x000000ffefcb4b88 clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #33 0x000000ffefc4d670 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:706:0 #34 0x000000ffefcb2da0 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #35 0x000000ffefcb2da0 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #36 0x000000ffefcb2da0 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #37 0x000000ffefcb2da0 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #38 0x000000ffefcb2da0 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #39 0x000000ffefcb2da0 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #40 0x000000ffefcb2da0 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #41 0x000000ffefc6ecdc clang::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 0x000000ffefc6ecdc clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #43 0x000000ffefc6fe0c clang::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 0x000000ffefc7165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffefc7187c clang::ento::CoreEngine::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 0x000000ffefc71c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #47 0x000000ffefc71c70 clang::ento::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 0x000000ffeff7f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #49 0x000000ffeff7f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #50 0x000000ffeff7f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #51 0x000000ffeff7f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #52 0x000000ffeff7f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #53 0x000000ffeff80224 llvm::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 0x000000ffeff80224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #55 0x000000ffeff80224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #56 0x000000ffeff84604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x000000ffeff84604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x000000ffeff84604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #59 0x000000ffeff84604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #60 0x000000ffeff84604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #61 0x000000ffee1c6978 __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 0x000000ffee1c6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #63 0x000000ffee1c6978 void clang::finalize>, 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 0x000000ffee1c6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #65 0x000000ffefa3fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #66 0x000000ffef9fb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #67 0x000000ffef9fb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #68 0x000000ffef9fb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #69 0x000000ffefa8f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #70 0x000000aaae4f5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #71 0x000000aaae4f9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #72 0x000000aaae4fb234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #73 0x000000aaae4f2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #74 0x000000ffe67b88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #75 0x000000ffe67b89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #76 0x000000aaae4f20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-diagnostics-template-record.cpp.script: line 2: 3913935 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-diagnostics-template-record.cpp.tmp.plist -std=c++11 -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-diagnostics-template-record.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/plist-macros.cpp (1026 of 19712) ******************** TEST 'Clang :: Analysis/plist-macros.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe778abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7788c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe778b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff9f4648 (linux-vdso.so.1+0x648) #4 0x000000fff023d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff023d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff023d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff023d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff023d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff023d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff023d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff023d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffefeb43a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffefeb43a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffefeb43a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffefeb43a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffefeb43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffefeb43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffefeb43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffefeb43a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffefeb7dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffefeb7dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffefeb7dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffefeb7dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffefeab430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffefeab430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffefeab430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffefeb93b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffefeb93b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffefeb93b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffefeabd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffefeabd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffefeabd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffefec43b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffefec43b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffefec43b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffefecb1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffefecb1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffefecb1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffefe26138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffefe26138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffefe26138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffefe26138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff037c114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff037c114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff037c114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000ffefe37190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000ffefe37190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000ffefe37190 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:0 #49 0x000000ffefe37190 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:0 #50 0x000000ffefe37190 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:0 #51 0x000000ffefe37190 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:0 #52 0x000000ffefe37190 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:0 #53 0x000000ffefe37190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000ffefe37190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000ffefe37190 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:0 #56 0x000000ffefe377ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000ffefe49c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000ffefe49c70 clang::ento::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 0x000000fff015703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff015703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff015703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff015703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff015703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff0158224 llvm::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 0x000000fff0158224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff0158224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff015c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff015c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff015c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff015c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff015c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffee39e978 __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 0x000000ffee39e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffee39e978 void clang::finalize>, 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 0x000000ffee39e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000ffefc17b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000ffefbd3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000ffefbd3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000ffefbd3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000ffefc679a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaac4d1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaac4d5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaac4d7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaac4ce034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe69908c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe69909cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaac4ce0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-macros.cpp.script: line 3: 3914349 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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.m (1027 of 19712) ******************** TEST 'Clang :: Analysis/plist-output.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-output.m.tmp.plist : 'RUN: at line 2'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling testFoo 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-output.m:192:7: Error evaluating branch #0 0x000000ffea432bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea430c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea4333d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd6f4648 (linux-vdso.so.1+0x648) #4 0x000000fff2ee5388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2ee5388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2ee5388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2ee5388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2ee5388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2ee5388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2ee5388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2ee5388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff2b5c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff2b5c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff2b5c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff2b5c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff2b5c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff2b5c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff2b5c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff2b5c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff2b5fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff2b5fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff2b5fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff2b5fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff2b53430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff2b53430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff2b53430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff2b613b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff2b613b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff2b613b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff2b53d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff2b53d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff2b53d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff2b6c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff2b6c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff2b6c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff2b731d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff2b731d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff2b731d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff2ace138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff2ace138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff2ace138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff2ace138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff3024114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff3024114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff3024114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff2adf190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff2adf190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff2adf190 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:0 #49 0x000000fff2adf190 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:0 #50 0x000000fff2adf190 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:0 #51 0x000000fff2adf190 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:0 #52 0x000000fff2adf190 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:0 #53 0x000000fff2adf190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff2adf190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff2adf190 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:0 #56 0x000000fff2adf7ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff2af1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff2af1c70 clang::ento::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 0x000000fff2dff03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff2dff03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff2dff03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff2dff03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff2dff03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff2e00224 llvm::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 0x000000fff2e00224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff2e00224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff2e04604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff2e04604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff2e04604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff2e04604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff2e04604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000fff1046978 __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 0x000000fff1046978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000fff1046978 void clang::finalize>, 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 0x000000fff1046978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff28bfb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff287b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff287b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff287b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff290f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaacd39c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaacd3db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaacd3f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaacd36034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe96388c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe96389cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaacd360a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-output.m.script: line 2: 3914373 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-output.m.tmp.plist -- ******************** Testing: 0 FAIL: Clang :: Analysis/plist-output-alternate.m (1028 of 19712) ******************** TEST 'Clang :: Analysis/plist-output-alternate.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe941ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe941cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe941f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffeec8648 (linux-vdso.so.1+0x648) #4 0x000000fff1d3aca4 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff1d3aca4 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff1d3aca4 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff1d3aca4 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff1d3aca4 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff1d3aca4 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 0x000000fff1d3aca4 get<(anonymous namespace)::RefBindings> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff1d3aca4 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 0x000000fff1aa28e8 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x000000fff1ad41b4 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x000000fff1ad41b4 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x000000fff1ad41b4 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #16 0x000000fff1ad41b4 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #17 0x000000fff1ad41b4 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #18 0x000000fff1ad41b4 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #19 0x000000fff1ad41b4 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #20 0x000000fff1adbd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x000000fff1adbd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x000000fff1adbd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x000000fff1adbd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x000000fff1adbd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x000000fff1adbd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x000000fff1adbd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x000000fff1adbd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x000000fff1adbd94 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 0x000000fff1add65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff1add87c clang::ento::CoreEngine::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 0x000000fff1addc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #32 0x000000fff1addc70 clang::ento::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 0x000000fff1deb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x000000fff1deb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x000000fff1deb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #36 0x000000fff1deb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #37 0x000000fff1deb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #38 0x000000fff1dec224 llvm::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 0x000000fff1dec224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #40 0x000000fff1dec224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #41 0x000000fff1df0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x000000fff1df0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x000000fff1df0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #44 0x000000fff1df0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #45 0x000000fff1df0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #46 0x000000fff0032978 __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 0x000000fff0032978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #48 0x000000fff0032978 void clang::finalize>, 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 0x000000fff0032978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #50 0x000000fff18abb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #51 0x000000fff1867354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #52 0x000000fff1867354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #53 0x000000fff1867354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #54 0x000000fff18fb9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #55 0x000000aaaddfdc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #56 0x000000aaade01b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #57 0x000000aaade03234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #58 0x000000aaaddfa034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #59 0x000000ffe86248c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #60 0x000000ffe86249cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #61 0x000000aaaddfa0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-output-alternate.m.script: line 2: 3914356 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-output-alternate.m.tmp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-output-alternate.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/pointer-to-member.cpp (1029 of 19712) ******************** TEST 'Clang :: Analysis/pointer-to-member.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe978ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe978cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe978f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd26c648 (linux-vdso.so.1+0x648) #4 0x000000fff1e47664 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff1e47664 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff1e47664 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff1e47664 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff1e47664 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff1e47664 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff1e47664 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff1e47664 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 0x000000fff1e4808c 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 0x000000fff1e4da18 clang::ento::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 0x000000fff1e4dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x000000fff1e4dc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x000000fff215b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x000000fff215b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x000000fff215b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x000000fff215b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x000000fff215b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x000000fff215c224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x000000fff215c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x000000fff215c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x000000fff2160604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x000000fff2160604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x000000fff2160604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x000000fff2160604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x000000fff2160604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x000000fff03a2978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x000000fff03a2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x000000fff03a2978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x000000fff03a2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x000000fff1c1bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x000000fff1bd7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x000000fff1bd7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x000000fff1bd7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x000000fff1c6b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000000aaabd7dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000000aaabd81b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000000aaabd83234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000000aaabd7a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x000000ffe89948c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #43 0x000000ffe89949cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #44 0x000000aaabd7a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/pointer-to-member.cpp.script: line 1: 3914571 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/pr22954.c (1030 of 19712) ******************** TEST 'Clang :: Analysis/pr22954.c' FAILED ******************** Script: -- : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7c4ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7c4cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7c4f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff74c648 (linux-vdso.so.1+0x648) #4 0x000000fff0701388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0701388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0701388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0701388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0701388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0701388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0701388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0701388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff03783a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff03783a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff03783a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff03783a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff03783a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff03783a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff03783a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff03783a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff037bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff037bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff037bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff037bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff036f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff036f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff036f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff037d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff037d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff037d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff036fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff036fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff036fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff03883b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff03883b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff03883b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff038f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff038f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff038f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff02ea138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff02ea138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff02ea138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff02ea138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff0840114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff0840114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff0840114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff0432de0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff0432de0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:0 #48 0x000000fff0432de0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #49 0x000000fff0432de0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:0 #50 0x000000fff02d2208 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #51 0x000000fff02fc06c clang::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 0x000000fff02fc06c 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:0 #53 0x000000fff030e428 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #54 0x000000fff030e428 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #55 0x000000fff030e428 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x000000fff030e428 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:0 #57 0x000000fff034695c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff034695c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff034695c 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 #60 0x000000fff030bab8 clang::ento::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 #61 0x000000fff030be0c clang::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 0x000000fff030d65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff030d87c clang::ento::CoreEngine::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 0x000000fff030dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #65 0x000000fff030dc70 clang::ento::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 0x000000fff061b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #67 0x000000fff061b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #68 0x000000fff061b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #69 0x000000fff061b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #70 0x000000fff061b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #71 0x000000fff061c224 llvm::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 0x000000fff061c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x000000fff061c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #74 0x000000fff0620604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x000000fff0620604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x000000fff0620604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x000000fff0620604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x000000fff0620604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x000000ffee862978 __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 0x000000ffee862978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x000000ffee862978 void clang::finalize>, 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 0x000000ffee862978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x000000fff00dbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #84 0x000000fff0097354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #85 0x000000fff0097354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #86 0x000000fff0097354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #87 0x000000fff012b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #88 0x000000aaae169c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x000000aaae16db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x000000aaae16f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x000000aaae166034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x000000ffe6e548c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #93 0x000000ffe6e549cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #94 0x000000aaae1660a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/pr22954.c.script: line 1: 3914644 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (1032 of 19712) ******************** TEST 'Clang :: Analysis/pr37802.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe88e2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe88e0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe88e33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffeb60648 (linux-vdso.so.1+0x648) #4 0x000000fff0f97f68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff0f97f68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff0f97f68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff0f97f68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff0f97f68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff0f97f68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff0f97f68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff0f97f68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000fff0f9fd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x000000fff0f9fd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x000000fff0f9fd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x000000fff0f9fd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x000000fff0f9fd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x000000fff0f9fd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x000000fff0f9fd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x000000fff0f9fd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x000000fff0f9fd94 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 0x000000fff0fa165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff0fa187c clang::ento::CoreEngine::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 0x000000fff0fa1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #24 0x000000fff0fa1c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #25 0x000000fff12af03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x000000fff12af03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x000000fff12af03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #28 0x000000fff12af03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #29 0x000000fff12af03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #30 0x000000fff12b0224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #31 0x000000fff12b0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #32 0x000000fff12b0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #33 0x000000fff12b4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #34 0x000000fff12b4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #35 0x000000fff12b4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #36 0x000000fff12b4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #37 0x000000fff12b4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #38 0x000000ffef4f6978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #39 0x000000ffef4f6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #40 0x000000ffef4f6978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #41 0x000000ffef4f6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #42 0x000000fff0d6fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #43 0x000000fff0d2b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #44 0x000000fff0d2b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #45 0x000000fff0d2b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #46 0x000000fff0dbf9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #47 0x000000aaab71dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #48 0x000000aaab721b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #49 0x000000aaab723234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #50 0x000000aaab71a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #51 0x000000ffe7ae88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #52 0x000000ffe7ae89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #53 0x000000aaab71a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/pr37802.cpp.script: line 1: 3914686 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (1033 of 19712) ******************** TEST 'Clang :: Analysis/pr4209.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea436bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea434c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea4373d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffea0c648 (linux-vdso.so.1+0x648) #4 0x000000fff2ee9388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2ee9388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2ee9388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2ee9388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2ee9388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2ee9388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2ee9388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2ee9388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff2b603a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff2b603a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff2b603a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff2b603a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff2b603a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff2b603a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff2b603a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff2b603a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff2b63dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff2b63dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff2b63dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff2b63dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff2b57430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff2b57430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff2b57430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff2b653b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff2b653b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff2b653b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff2b57d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff2b57d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff2b57d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff2b703b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff2b703b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff2b703b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff2b771d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff2b771d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff2b771d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff2ad2138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff2ad2138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff2ad2138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff2ad2138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff2ad2688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff2ad2688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff2ad2688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff2a9ab4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff2a9ab4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff2a9ab4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff2ae66c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff2ae66c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff2ae66c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000fff2af6010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff2af6010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff2af6010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff2e0303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff2e0303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff2e0303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff2e0303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff2e0303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff2e04224 llvm::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 0x000000fff2e04224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff2e04224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff2e08604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff2e08604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff2e08604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff2e08604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff2e08604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000fff104a978 __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 0x000000fff104a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000fff104a978 void clang::finalize>, 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 0x000000fff104a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff28c3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff287f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff287f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff287f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff29139a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaabc75c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaabc79b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaabc7b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaabc72034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe963c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe963c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaabc720a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/pr4209.m.script: line 1: 3914813 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (1034 of 19712) ******************** TEST 'Clang :: Analysis/pr_4164.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8366bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8364c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe83673d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff960648 (linux-vdso.so.1+0x648) #4 0x000000fff0e19388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0e19388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0e19388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0e19388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0e19388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0e19388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0e19388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0e19388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff0a903a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff0a903a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff0a903a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff0a903a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff0a903a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff0a903a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff0a903a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff0a903a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0a93dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0a93dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0a93dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0a93dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0a9265c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0a9265c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0a9265c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000fff0a95444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0a95444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0a95444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000fff0a87d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0a87d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0a87d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff0aa03b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff0aa03b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff0aa03b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff0aa71d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff0aa71d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff0aa71d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0a02138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0a02138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0a02138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0a02138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff0f58114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff0f58114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff0f58114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff0a13190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff0a13190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff0a13190 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:0 #49 0x000000fff0a13190 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:0 #50 0x000000fff0a13190 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:0 #51 0x000000fff0a13190 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:0 #52 0x000000fff0a13190 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:0 #53 0x000000fff0a13190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff0a13190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff0a13190 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:0 #56 0x000000fff0a137ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff0a25c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff0a25c70 clang::ento::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 0x000000fff0d3303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff0d3303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff0d3303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff0d3303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff0d3303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff0d34224 llvm::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 0x000000fff0d34224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff0d34224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff0d38604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff0d38604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff0d38604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff0d38604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff0d38604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffeef7a978 __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 0x000000ffeef7a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffeef7a978 void clang::finalize>, 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 0x000000ffeef7a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff07f3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff07af354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff07af354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff07af354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff08439a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaada15c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaada19b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaada1b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaada12034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe756c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe756c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaada120a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/pr_4164.c.script: line 1: 3915001 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (1035 of 19712) ******************** TEST 'Clang :: Analysis/pr_2542_rdar_6793404.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe89febb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe89fcc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe89ff3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffee10648 (linux-vdso.so.1+0x648) #4 0x000000fff14b1388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff14b1388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff14b1388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff14b1388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff14b1388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff14b1388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff14b1388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff14b1388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff11283a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff11283a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff11283a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff11283a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff11283a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff11283a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff11283a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff11283a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff112bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff112bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff112bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff112bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff111f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff111f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff111f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff112d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff112d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff112d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff111fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff111fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff111fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff11383b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff11383b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff11383b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff113f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff113f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff113f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff109a138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff109a138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff109a138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff109a138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff109a688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff109a688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff109a688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff1062b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff1062b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff1062b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff10ae6c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff10ae6c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff10ae6c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000fff10be010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff10be010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff10be010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff13cb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff13cb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff13cb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff13cb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff13cb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff13cc224 llvm::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 0x000000fff13cc224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff13cc224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff13d0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff13d0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff13d0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff13d0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff13d0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffef612978 __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 0x000000ffef612978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffef612978 void clang::finalize>, 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 0x000000ffef612978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff0e8bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff0e47354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff0e47354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff0e47354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff0edb9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaaaab9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaaaabdb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaaaabf234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaaaab6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe7c048c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe7c049cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaaaab60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/pr_2542_rdar_6793404.m.script: line 1: 3914959 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/print-ranges.cpp (1036 of 19712) ******************** TEST 'Clang :: Analysis/print-ranges.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe76aabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe76a8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe76ab3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe4f0648 (linux-vdso.so.1+0x648) #4 0x000000fff015d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff015d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff015d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff015d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff015d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff015d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff015d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff015d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffefdd43a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffefdd43a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffefdd43a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffefdd43a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffefdd43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffefdd43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffefdd43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffefdd43a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffefdd7dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffefdd7dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffefdd7dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffefdd7dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffefdcb430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffefdcb430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffefdcb430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffefdd93b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffefdd93b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffefdd93b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffefdcbd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffefdcbd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffefdcbd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffefde43b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffefde43b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffefde43b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffefdeb1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffefdeb1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffefdeb1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffefd460e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffefd460e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffefd460e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffefd460e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff029c114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff029c114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff029c114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000ffefd57190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000ffefd57190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000ffefd57190 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:0 #49 0x000000ffefd57190 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:0 #50 0x000000ffefd57190 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:0 #51 0x000000ffefd57190 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:0 #52 0x000000ffefd57190 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:0 #53 0x000000ffefd57190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000ffefd57190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000ffefd57190 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:0 #56 0x000000ffefd577ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000ffefd69c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000ffefd69c70 clang::ento::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 0x000000fff007703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff007703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff007703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff007703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff007703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff0078224 llvm::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 0x000000fff0078224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff0078224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff007c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff007c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff007c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff007c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff007c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffee2be978 __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 0x000000ffee2be978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffee2be978 void clang::finalize>, 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 0x000000ffee2be978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000ffefb37b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000ffefaf3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000ffefaf3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000ffefaf3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000ffefb879a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaac875c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaac879b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaac87b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaac872034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe68b08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe68b09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaac8720a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/print-ranges.cpp.script: line 1: 3915046 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/print-ranges.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/properties.m (1037 of 19712) ******************** TEST 'Clang :: Analysis/properties.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9ecebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9eccc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9ecf3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffdaa0648 (linux-vdso.so.1+0x648) #4 0x000000fff2981388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2981388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2981388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2981388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2981388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2981388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2981388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2981388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff25f83a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff25f83a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff25f83a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff25f83a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff25f83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff25f83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff25f83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff25f83a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff25fbdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff25fbdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff25fbdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff25fbdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff25ef430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff25ef430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff25ef430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff25fd3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff25fd3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff25fd3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff25efd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff25efd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff25efd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff26083b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff26083b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff26083b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff260f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff260f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff260f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff256a138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff256a138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff256a138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff256a138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff256a688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff256a688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff256a688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff2532b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff2532b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff2532b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff257e6c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff257e6c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff257e6c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000fff258e010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff258e010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff258e010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff289b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff289b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff289b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff289b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff289b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff289c224 llvm::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 0x000000fff289c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff289c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff28a0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff28a0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff28a0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff28a0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff28a0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000fff0ae2978 __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 0x000000fff0ae2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000fff0ae2978 void clang::finalize>, 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 0x000000fff0ae2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff235bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff2317354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff2317354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff2317354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff23ab9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaaab05c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaaab09b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaaab0b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaaab02034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe90d48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe90d49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaaab020a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/properties.m.script: line 2: 3915262 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,osx.cocoa.Dealloc,debug.ExprInspection -verify -Wno-objc-root-class -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/properties.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/pthreadlock.c (1038 of 19712) ******************** TEST 'Clang :: Analysis/pthreadlock.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7e36bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7e34c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7e373d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff688648 (linux-vdso.so.1+0x648) #4 0x000000fff09edb24 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff09edb24 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff09edb24 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff09edb24 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff09edb24 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff09edb24 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 0x000000fff09edb24 get<(anonymous namespace)::DestroyRetVal> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff09edb24 (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:0 #12 0x000000fff04ba8e8 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x000000fff04ec1b4 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x000000fff04ec1b4 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x000000fff04ec1b4 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #16 0x000000fff04ec1b4 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #17 0x000000fff04ec1b4 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #18 0x000000fff04ec1b4 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #19 0x000000fff04ec1b4 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #20 0x000000fff04f3d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x000000fff04f3d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x000000fff04f3d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x000000fff04f3d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x000000fff04f3d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x000000fff04f3d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x000000fff04f3d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x000000fff04f3d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x000000fff04f3d94 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 0x000000fff04f565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff04f587c clang::ento::CoreEngine::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 0x000000fff04f5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #32 0x000000fff04f5c70 clang::ento::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 0x000000fff080303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x000000fff080303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x000000fff080303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #36 0x000000fff080303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #37 0x000000fff080303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #38 0x000000fff0804224 llvm::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 0x000000fff0804224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #40 0x000000fff0804224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #41 0x000000fff0808604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x000000fff0808604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x000000fff0808604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #44 0x000000fff0808604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #45 0x000000fff0808604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #46 0x000000ffeea4a978 __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 0x000000ffeea4a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #48 0x000000ffeea4a978 void clang::finalize>, 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 0x000000ffeea4a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #50 0x000000fff02c3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #51 0x000000fff027f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #52 0x000000fff027f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #53 0x000000fff027f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #54 0x000000fff03139a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #55 0x000000aaae119c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #56 0x000000aaae11db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #57 0x000000aaae11f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #58 0x000000aaae116034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #59 0x000000ffe703c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #60 0x000000ffe703c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #61 0x000000aaae1160a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/pthreadlock.c.script: line 1: 3915430 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.unix.PthreadLock -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/properties.mm (1039 of 19712) ******************** TEST 'Clang :: Analysis/properties.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe795abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7958c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe795b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe4ec648 (linux-vdso.so.1+0x648) #4 0x000000fff040d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff040d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff040d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff040d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff040d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff040d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff040d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff040d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff00843a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff00843a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff00843a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff00843a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff00843a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff00843a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff00843a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff00843a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0087dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0087dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0087dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0087dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff007b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff007b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff007b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff00893b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff00893b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff00893b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff007bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff007bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff007bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff00943b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff00943b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff00943b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff009b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff009b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff009b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffefff6138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffefff6138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffefff6138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffefff6138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff054c114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff054c114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff054c114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff005e404 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #47 0x000000fff005e404 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #48 0x000000fff005e404 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #49 0x000000fff005e404 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #50 0x000000fff005e404 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #51 0x000000fff005e404 clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #52 0x000000fff001677c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #53 0x000000fff001677c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #54 0x000000fff0017e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x000000fff001965c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x000000fff001987c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x000000fff0019c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff0019c70 clang::ento::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 0x000000fff032703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff032703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff032703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff032703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff032703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff0328224 llvm::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 0x000000fff0328224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff0328224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff032c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff032c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff032c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff032c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff032c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffee56e978 __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 0x000000ffee56e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffee56e978 void clang::finalize>, 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 0x000000ffee56e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000ffefde7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000ffefda3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000ffefda3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000ffefda3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000ffefe379a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaae711c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaae715b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaae717234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaae70e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe6b608c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe6b609cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaae70e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/properties.mm.script: line 2: 3915411 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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_nottracked.c (1040 of 19712) ******************** TEST 'Clang :: Analysis/pthreadlock_state_nottracked.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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:308: note: possible intended match here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8842bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) check:12'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/pthreadlock_state.c (1041 of 19712) ******************** TEST 'Clang :: Analysis/pthreadlock_state.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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:308: note: possible intended match here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea41abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/ptr-arith.c (1042 of 19712) ******************** TEST 'Clang :: Analysis/ptr-arith.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe904ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe904cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe904f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc8ec648 (linux-vdso.so.1+0x648) #4 0x000000fff1b01388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1b01388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1b01388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1b01388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1b01388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1b01388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1b01388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1b01388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff17783a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff17783a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff17783a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff17783a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff17783a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff17783a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff17783a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff17783a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff177bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff177bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff177bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff177bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff176f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff176f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff176f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff177d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff177d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff177d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff176fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff176fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff176fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff17883b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff17883b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff17883b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff178f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff178f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff178f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff16ea0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff16ea0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff16ea0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff16ea0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff1c41e24 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff1c41e24 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff1c41e24 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff1c41e24 getArgumentValueString(clang::CallExpr const*, clang::ento::CheckerContext&) (.part.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:150:20 #47 0x000000fff17fb864 getArgumentValueString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:135:3 #48 0x000000fff17fb864 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #49 0x000000fff17fb864 (anonymous namespace)::ExprInspectionChecker::analyzerEval(clang::CallExpr const*, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:215:0 #50 0x000000fff18437b0 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:0 #51 0x000000fff18437b0 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 #52 0x000000fff16e9588 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #53 0x000000fff1732440 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #54 0x000000fff1732440 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #55 0x000000fff1732440 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #56 0x000000fff1732440 clang::ento::ExprEngine::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 #57 0x000000fff1732e4c clang::ento::ExprEngine::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 #58 0x000000fff170ad1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #59 0x000000fff170ad1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #60 0x000000fff170be0c clang::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 0x000000fff170d65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff170d87c clang::ento::CoreEngine::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 0x000000fff170dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #64 0x000000fff170dc70 clang::ento::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 0x000000fff1a1b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #66 0x000000fff1a1b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #67 0x000000fff1a1b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #68 0x000000fff1a1b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #69 0x000000fff1a1b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #70 0x000000fff1a1c224 llvm::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 0x000000fff1a1c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #72 0x000000fff1a1c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #73 0x000000fff1a20604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #74 0x000000fff1a20604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #75 0x000000fff1a20604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #76 0x000000fff1a20604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #77 0x000000fff1a20604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #78 0x000000ffefc62978 __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 0x000000ffefc62978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #80 0x000000ffefc62978 void clang::finalize>, 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 0x000000ffefc62978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #82 0x000000fff14dbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #83 0x000000fff1497354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #84 0x000000fff1497354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #85 0x000000fff1497354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #86 0x000000fff152b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #87 0x000000aaadcd5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #88 0x000000aaadcd9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #89 0x000000aaadcdb234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #90 0x000000aaadcd2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #91 0x000000ffe82548c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #92 0x000000ffe82549cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #93 0x000000aaadcd20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ptr-arith.c.script: line 2: 3915538 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-cmp-const-trunc.cl (1043 of 19712) ******************** TEST 'Clang :: Analysis/ptr-cmp-const-trunc.cl' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe886ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe886cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe886f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcbdc648 (linux-vdso.so.1+0x648) #4 0x000000fff0fbc9e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0fbc9e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0fbc9e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0fbc9e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000fff0fbc9e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000fff0fbc9e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000fff0f24278 llvm::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 0x000000fff0f24278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000fff0f24278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000fff0f24278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000fff0f51e10 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #15 0x000000fff0f51e10 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 #16 0x000000fff0f27b44 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #17 0x000000fff0f27b44 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #18 0x000000fff0f27b44 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #19 0x000000fff0f27b44 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2951:0 #20 0x000000fff0f2808c 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 0x000000fff0f2da18 clang::ento::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 0x000000fff0f2dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #23 0x000000fff0f2dc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #24 0x000000fff123b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #25 0x000000fff123b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #26 0x000000fff123b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #27 0x000000fff123b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #28 0x000000fff123b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #29 0x000000fff123c224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #30 0x000000fff123c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #31 0x000000fff123c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #32 0x000000fff1240604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #33 0x000000fff1240604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #34 0x000000fff1240604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #35 0x000000fff1240604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #36 0x000000fff1240604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #37 0x000000ffef482978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #38 0x000000ffef482978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #39 0x000000ffef482978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #40 0x000000ffef482978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #41 0x000000fff0cfbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #42 0x000000fff0cb7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #43 0x000000fff0cb7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #44 0x000000fff0cb7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #45 0x000000fff0d4b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #46 0x000000aaad8a1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #47 0x000000aaad8a5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #48 0x000000aaad8a7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #49 0x000000aaad89e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #50 0x000000ffe7a748c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #51 0x000000ffe7a749cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #52 0x000000aaad89e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ptr-cmp-const-trunc.cl.script: line 1: 3915892 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple amdgcn-unknown-unknown -analyze -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-cmp-const-trunc.cl -- ******************** Testing: 0 FAIL: Clang :: Analysis/ptr-arith.cpp (1044 of 19712) ******************** TEST 'Clang :: Analysis/ptr-arith.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe78c6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe78c4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe78c73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc020648 (linux-vdso.so.1+0x648) #4 0x000000fff0379388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0379388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0379388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0379388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0379388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0379388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0379388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0379388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffefff03a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffefff03a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffefff03a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffefff03a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffefff03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffefff03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffefff03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffefff03a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffefff3dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffefff3dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffefff3dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffefff3dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffeffe7430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffeffe7430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffeffe7430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffefff53b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffefff53b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffefff53b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffeffe7d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffeffe7d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffeffe7d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff00003b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff00003b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff00003b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff00071d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff00071d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff00071d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffeff62138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffeff62138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffeff62138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffeff62138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff04b8114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff04b8114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff04b8114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff00aade0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff00aade0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:0 #48 0x000000fff00aade0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #49 0x000000fff00aade0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:0 #50 0x000000ffeff4a208 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #51 0x000000ffeff7406c clang::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 0x000000ffeff7406c 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:0 #53 0x000000ffeff77978 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #54 0x000000ffeff77978 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #55 0x000000ffeff77978 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x000000ffeff77978 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:0 #57 0x000000ffeffbfecc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000ffeffbfecc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000ffeffbfecc 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 #60 0x000000ffeff82708 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #61 0x000000ffeff82708 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #62 0x000000ffeff82708 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #63 0x000000ffeff83e0c clang::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 0x000000ffeff8565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffeff8587c clang::ento::CoreEngine::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 0x000000ffeff85c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #67 0x000000ffeff85c70 clang::ento::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 0x000000fff029303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #69 0x000000fff029303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #70 0x000000fff029303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #71 0x000000fff029303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #72 0x000000fff029303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #73 0x000000fff0294224 llvm::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 0x000000fff0294224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #75 0x000000fff0294224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #76 0x000000fff0298604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #77 0x000000fff0298604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #78 0x000000fff0298604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #79 0x000000fff0298604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #80 0x000000fff0298604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #81 0x000000ffee4da978 __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 0x000000ffee4da978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #83 0x000000ffee4da978 void clang::finalize>, 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 0x000000ffee4da978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #85 0x000000ffefd53b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #86 0x000000ffefd0f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #87 0x000000ffefd0f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #88 0x000000ffefd0f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #89 0x000000ffefda39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #90 0x000000aaae999c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #91 0x000000aaae99db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #92 0x000000aaae99f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #93 0x000000aaae996034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #94 0x000000ffe6acc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #95 0x000000ffe6acc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #96 0x000000aaae9960a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ptr-arith.cpp.script: line 2: 3915870 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused-value -std=c++14 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-arith.cpp -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection,alpha.core.PointerArithm -- ******************** Testing: 0 FAIL: Clang :: Analysis/ptr-iter.cpp (1045 of 19712) ******************** TEST 'Clang :: Analysis/ptr-iter.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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:11:33: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-iter.cpp:11:33: Error evaluating statement #0 0x000000ffe75dabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe75d8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe75db3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffeefc648 (linux-vdso.so.1+0x648) #4 0x000000ffefc64f7c retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000ffefc64f7c retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffefc64f7c retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffefc64f7c IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffefc64f7c ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffefc64f7c MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000ffefc64f7c get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000ffefc64f7c 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 0x000000ffefc6ec10 llvm::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 0x000000ffefc6ec10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #14 0x000000ffefc6ec10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x000000ffefc6ec10 clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:429:50 #16 0x000000ffefc6ec10 clang::ento::CallEvent::invalidateRegions(unsigned int, llvm::IntrusiveRefCntPtr) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:272:40 #17 0x000000ffefcdbd98 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #18 0x000000ffefcdbd98 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #19 0x000000ffefcdbd98 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 #20 0x000000ffefcdc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x000000ffefcdc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x000000ffefcdc8f4 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 #23 0x000000ffefc75670 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:706:0 #24 0x000000ffefcdada0 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #25 0x000000ffefcdada0 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #26 0x000000ffefcdada0 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #27 0x000000ffefcdada0 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #28 0x000000ffefcdada0 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #29 0x000000ffefcdada0 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #30 0x000000ffefcdada0 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 #31 0x000000ffefc96cdc clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #32 0x000000ffefc96cdc clang::ento::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 #33 0x000000ffefc97e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #34 0x000000ffefc9965c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #35 0x000000ffefc9987c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #36 0x000000ffefc99c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #37 0x000000ffefc99c70 clang::ento::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 0x000000ffeffa703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #39 0x000000ffeffa703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #40 0x000000ffeffa703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #41 0x000000ffeffa703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #42 0x000000ffeffa703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #43 0x000000ffeffa8224 llvm::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 0x000000ffeffa8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #45 0x000000ffeffa8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #46 0x000000ffeffac604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #47 0x000000ffeffac604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #48 0x000000ffeffac604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #49 0x000000ffeffac604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #50 0x000000ffeffac604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #51 0x000000ffee1ee978 __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 0x000000ffee1ee978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #53 0x000000ffee1ee978 void clang::finalize>, 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 0x000000ffee1ee978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #55 0x000000ffefa67b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #56 0x000000ffefa23354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #57 0x000000ffefa23354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #58 0x000000ffefa23354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #59 0x000000ffefab79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #60 0x000000aaad5adc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #61 0x000000aaad5b1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #62 0x000000aaad5b3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #63 0x000000aaad5aa034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #64 0x000000ffe67e08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #65 0x000000ffe67e09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #66 0x000000aaad5aa0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ptr-iter.cpp.script: line 1: 3916133 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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 (1046 of 19712) ******************** TEST 'Clang :: Analysis/ptr-sort.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-sort.cpp -std=c++14 -analyzer-output=text -verify -analyzer-checker=core,alpha.nondeterminism.PointerSorting 1. parser at end of file 2. While analyzing stack: #0 Calling PointerSorting() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-sort.cpp:12:27: Error evaluating statement #0 0x000000ffe8db6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8db4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8db73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc018648 (linux-vdso.so.1+0x648) #4 0x000000fff146bf68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff146bf68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff146bf68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff146bf68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff146bf68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff146bf68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff146bf68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff146bf68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000fff1473d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x000000fff1473d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x000000fff1473d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x000000fff1473d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x000000fff1473d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x000000fff1473d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x000000fff1473d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x000000fff1473d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x000000fff1473d94 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 0x000000fff147565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff147587c clang::ento::CoreEngine::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 0x000000fff1475c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #24 0x000000fff1475c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #25 0x000000fff178303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x000000fff178303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x000000fff178303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #28 0x000000fff178303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #29 0x000000fff178303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #30 0x000000fff1784224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #31 0x000000fff1784224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #32 0x000000fff1784224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #33 0x000000fff1788604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #34 0x000000fff1788604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #35 0x000000fff1788604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #36 0x000000fff1788604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #37 0x000000fff1788604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #38 0x000000ffef9ca978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #39 0x000000ffef9ca978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #40 0x000000ffef9ca978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #41 0x000000ffef9ca978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #42 0x000000fff1243b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #43 0x000000fff11ff354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #44 0x000000fff11ff354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #45 0x000000fff11ff354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #46 0x000000fff12939a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #47 0x000000aaabfc1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #48 0x000000aaabfc5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #49 0x000000aaabfc7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #50 0x000000aaabfbe034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #51 0x000000ffe7fbc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #52 0x000000ffe7fbc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #53 0x000000aaabfbe0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ptr-sort.cpp.script: line 1: 3916350 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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 (1047 of 19712) ******************** TEST 'Clang :: Analysis/qt_malloc.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe853abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8538c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe853b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffdaf4648 (linux-vdso.so.1+0x648) #4 0x000000fff0fed388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0fed388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0fed388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0fed388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0fed388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0fed388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0fed388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0fed388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff0c643a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff0c643a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff0c643a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff0c643a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff0c643a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff0c643a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff0c643a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff0c643a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0c67dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0c67dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0c67dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0c67dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0c5b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0c5b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0c5b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff0c693b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0c693b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0c693b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0c5bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0c5bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0c5bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff0c743b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff0c743b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff0c743b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff0c7b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff0c7b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff0c7b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0bd6138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0bd6138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0bd6138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0bd6138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff0bd6688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff0bd6688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff0bd6688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff0c3d9ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff0c3d9ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff0c3d9ac clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff0c3d9ac clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #50 0x000000fff0bf0d50 clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1318:0 #51 0x000000fff0bf96a8 clang::ento::ExprEngine::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 #52 0x000000fff0bf987c clang::ento::CoreEngine::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 0x000000fff0bf9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #54 0x000000fff0bf9c70 clang::ento::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 0x000000fff0f0703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff0f0703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff0f0703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff0f0703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff0f0703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff0f08224 llvm::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 0x000000fff0f08224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff0f08224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff0f0c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff0f0c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff0f0c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff0f0c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff0f0c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffef14e978 __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 0x000000ffef14e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffef14e978 void clang::finalize>, 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 0x000000ffef14e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff09c7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff0983354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff0983354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff0983354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff0a179a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaad9b1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaad9b5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaad9b7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaad9ae034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe77408c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe77409cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaad9ae0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/qt_malloc.cpp.script: line 1: 3916412 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,alpha.deadcode.UnreachableCode,alpha.core.CastSize,unix.Malloc,cplusplus -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/qt_malloc.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/rdar-6442306-1.m (1048 of 19712) ******************** TEST 'Clang :: Analysis/rdar-6442306-1.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6b1ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6b1cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6b1f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffee38648 (linux-vdso.so.1+0x648) #4 0x000000ffef5d1388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef5d1388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef5d1388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef5d1388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef5d1388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef5d1388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef5d1388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef5d1388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef2483a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef2483a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef2483a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef2483a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef2483a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef2483a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef2483a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef2483a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef24bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef24bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef24bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef24bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef23f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef23f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef23f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef24d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef24d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef24d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef23fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef23fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef23fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef2583b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef2583b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef2583b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef25f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef25f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef25f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef1ba138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef1ba138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef1ba138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef1ba138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffef710114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000ffef710114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000ffef710114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000ffef302de0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000ffef302de0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:0 #48 0x000000ffef302de0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #49 0x000000ffef302de0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:0 #50 0x000000ffef1a2208 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #51 0x000000ffef1cc06c clang::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 0x000000ffef1cc06c 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:0 #53 0x000000ffef1cf978 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #54 0x000000ffef1cf978 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #55 0x000000ffef1cf978 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x000000ffef1cf978 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:0 #57 0x000000ffef217ecc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000ffef217ecc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000ffef217ecc 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 #60 0x000000ffef1da708 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #61 0x000000ffef1da708 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #62 0x000000ffef1da708 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #63 0x000000ffef1dbe0c clang::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 0x000000ffef1dd65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef1dd87c clang::ento::CoreEngine::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 0x000000ffef1ddc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #67 0x000000ffef1ddc70 clang::ento::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 0x000000ffef4eb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #69 0x000000ffef4eb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #70 0x000000ffef4eb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #71 0x000000ffef4eb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #72 0x000000ffef4eb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #73 0x000000ffef4ec224 llvm::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 0x000000ffef4ec224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #75 0x000000ffef4ec224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #76 0x000000ffef4f0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #77 0x000000ffef4f0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #78 0x000000ffef4f0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #79 0x000000ffef4f0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #80 0x000000ffef4f0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #81 0x000000ffed732978 __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 0x000000ffed732978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #83 0x000000ffed732978 void clang::finalize>, 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 0x000000ffed732978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #85 0x000000ffeefabb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #86 0x000000ffeef67354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #87 0x000000ffeef67354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #88 0x000000ffeef67354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #89 0x000000ffeeffb9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #90 0x000000aaaac49c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #91 0x000000aaaac4db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #92 0x000000aaaac4f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #93 0x000000aaaac46034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #94 0x000000ffe5d248c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #95 0x000000ffe5d249cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #96 0x000000aaaac460a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/rdar-6442306-1.m.script: line 1: 3916735 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/range_casts.c (1049 of 19712) ******************** TEST 'Clang :: Analysis/range_casts.c' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea6cebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea6ccc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea6cf3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff1e8648 (linux-vdso.so.1+0x648) #4 0x000000fff2e1c9e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2e1c9e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2e1c9e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2e1c9e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000fff2e1c9e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000fff2e1c9e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000fff2d84278 llvm::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 0x000000fff2d84278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000fff2d84278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000fff2d84278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000fff2d8bd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #15 0x000000fff2d8bd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #16 0x000000fff2d8bd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #17 0x000000fff2d8bd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #18 0x000000fff2d8bd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #19 0x000000fff2d8bd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #20 0x000000fff2d8bd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #21 0x000000fff2d8bd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #22 0x000000fff2d8bd94 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 #23 0x000000fff2d8d65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff2d8d780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #25 0x000000fff2d8da58 clang::ento::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 #26 0x000000fff2d8dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000fff2d8dc70 clang::ento::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 0x000000fff309b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000fff309b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000fff309b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000fff309b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000fff309b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000fff309c224 llvm::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 0x000000fff309c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000fff309c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000fff30a0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000fff30a0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000fff30a0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000fff30a0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000fff30a0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000fff12e2978 __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 0x000000fff12e2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x000000fff12e2978 void clang::finalize>, 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 0x000000fff12e2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x000000fff2b5bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x000000fff2b17354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x000000fff2b17354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x000000fff2b17354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x000000fff2bab9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #50 0x000000aaac0f9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x000000aaac0fdb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x000000aaac0ff234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x000000aaac0f6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x000000ffe98d48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #55 0x000000ffe98d49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #56 0x000000aaac0f60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/range_casts.c.script: line 1: 3916650 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/rdar-6600344-nil-receiver-undefined-struct-ret.m (1050 of 19712) ******************** TEST 'Clang :: Analysis/rdar-6600344-nil-receiver-undefined-struct-ret.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6c96bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6c94c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6c973d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc888648 (linux-vdso.so.1+0x648) #4 0x000000ffef749388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef749388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef749388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef749388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef749388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef749388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef749388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef749388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef3c03a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef3c03a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef3c03a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef3c03a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef3c03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef3c03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef3c03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef3c03a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef3c3dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef3c3dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef3c3dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef3c3dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef3b7430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef3b7430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef3b7430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef3c53b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef3c53b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef3c53b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef3b7d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef3b7d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef3b7d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef3d03b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef3d03b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef3d03b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef3d71d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef3d71d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef3d71d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef332138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef332138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef332138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef332138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffef332688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffef332688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffef332688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000ffef2fab4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000ffef2fab4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000ffef2fab4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000ffef3466c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000ffef3466c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000ffef3466c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000ffef356010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000ffef356010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000ffef356010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000ffef66303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000ffef66303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000ffef66303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000ffef66303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000ffef66303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000ffef664224 llvm::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 0x000000ffef664224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000ffef664224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000ffef668604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000ffef668604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000ffef668604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000ffef668604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000ffef668604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffed8aa978 __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 0x000000ffed8aa978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffed8aa978 void clang::finalize>, 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 0x000000ffed8aa978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000ffef123b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000ffef0df354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000ffef0df354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000ffef0df354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000ffef1739a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaaba11c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaaba15b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaaba17234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaaba0e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe5e9c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe5e9c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaaba0e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/rdar-6600344-nil-receiver-undefined-struct-ret.m.script: line 1: 3916932 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-6540084.m (1051 of 19712) ******************** TEST 'Clang :: Analysis/rdar-6540084.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe67cebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe67ccc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe67cf3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff334648 (linux-vdso.so.1+0x648) #4 0x000000ffef281388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef281388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef281388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef281388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef281388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef281388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef281388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef281388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffeeef83a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffeeef83a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffeeef83a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffeeef83a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffeeef83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffeeef83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffeeef83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffeeef83a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffeeefbdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffeeefbdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffeeefbdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffeeefbdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffeeeef430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffeeeef430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffeeeef430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffeeefd3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffeeefd3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffeeefd3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffeeeefd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffeeeefd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffeeeefd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffeef083b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffeef083b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffeef083b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffeef0f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffeef0f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffeef0f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffeee6a138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffeee6a138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffeee6a138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffeee6a138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffeee6a688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffeee6a688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffeee6a688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000ffeee32b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000ffeee32b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000ffeee32b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000ffeee7e6c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000ffeee7e6c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000ffeee7e6c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000ffeee8e010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000ffeee8e010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000ffeee8e010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000ffef19b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000ffef19b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000ffef19b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000ffef19b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000ffef19b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000ffef19c224 llvm::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 0x000000ffef19c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000ffef19c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000ffef1a0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000ffef1a0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000ffef1a0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000ffef1a0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000ffef1a0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffed3e2978 __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 0x000000ffed3e2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffed3e2978 void clang::finalize>, 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 0x000000ffed3e2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000ffeec5bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000ffeec17354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000ffeec17354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000ffeec17354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000ffeecab9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaae719c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaae71db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaae71f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaae716034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe59d48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe59d49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaae7160a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/rdar-6540084.m.script: line 1: 3916833 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=deadcode.DeadStores -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6540084.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/rdar-6562655.m (1053 of 19712) ******************** TEST 'Clang :: Analysis/rdar-6562655.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9d76bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9d74c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9d773d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff8a0648 (linux-vdso.so.1+0x648) #4 0x000000fff2829388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2829388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2829388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2829388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2829388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2829388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2829388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2829388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff24a03a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff24a03a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff24a03a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff24a03a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff24a03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff24a03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff24a03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff24a03a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff24a3dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff24a3dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff24a3dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff24a3dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff2497430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff2497430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff2497430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff24a53b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff24a53b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff24a53b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff2497d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff2497d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff2497d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff24b03b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff24b03b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff24b03b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff24b71d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff24b71d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff24b71d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff2412138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff2412138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff2412138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff2412138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff2412688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff2412688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff2412688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff23dab4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff23dab4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff23dab4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff24266c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff24266c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff24266c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000fff2436010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff2436010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff2436010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff274303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff274303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff274303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff274303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff274303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff2744224 llvm::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 0x000000fff2744224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff2744224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff2748604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff2748604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff2748604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff2748604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff2748604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000fff098a978 __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 0x000000fff098a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000fff098a978 void clang::finalize>, 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 0x000000fff098a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff2203b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff21bf354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff21bf354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff21bf354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff22539a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaadbd9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaadbddb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaadbdf234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaadbd6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe8f7c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe8f7c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaadbd60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/rdar-6562655.m.script: line 1: 3916887 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/refcnt_naming.m (1055 of 19712) ******************** TEST 'Clang :: Analysis/refcnt_naming.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7da2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7da0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7da33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffce88648 (linux-vdso.so.1+0x648) #4 0x000000fff0855388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0855388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0855388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0855388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0855388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0855388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0855388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0855388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff04cc3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff04cc3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff04cc3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff04cc3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff04cc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff04cc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff04cc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff04cc3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff04cfdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff04cfdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff04cfdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff04cfdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff04c3430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff04c3430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff04c3430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff04d13b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff04d13b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff04d13b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff04c3d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff04c3d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff04c3d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff04dc3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff04dc3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff04dc3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff04e31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff04e31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff04e31d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff043e138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff043e138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff043e138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff043e138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff0994114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff0994114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff0994114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff04a6404 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #47 0x000000fff04a6404 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #48 0x000000fff04a6404 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #49 0x000000fff04a6404 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #50 0x000000fff04a6404 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #51 0x000000fff04a6404 clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #52 0x000000fff045e77c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #53 0x000000fff045e77c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #54 0x000000fff045fe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x000000fff046165c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x000000fff046187c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x000000fff0461c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff0461c70 clang::ento::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 0x000000fff076f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff076f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff076f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff076f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff076f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff0773b44 VisitFunctionDecl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:319:0 #65 0x000000fff0773b44 WalkUpFromFunctionDecl /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include/clang/AST/DeclNodes.inc:433:0 #66 0x000000fff0773b44 TraverseFunctionDecl /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/RecursiveASTVisitor.h:2226:0 #67 0x000000fff0773b44 clang::RecursiveASTVisitor<(anonymous namespace)::AnalysisConsumer>::TraverseDecl(clang::Decl*) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/include/clang/AST/DeclNodes.inc:433:0 #68 0x000000fff077451c runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:552:0 #69 0x000000fff077451c (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000ffee9b6978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000ffee9b6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000ffee9b6978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000ffee9b6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000fff022fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000fff01eb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000fff01eb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000fff01eb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000fff027f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaad535c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaad539b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaad53b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaad532034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe6fa88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe6fa89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaad5320a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/refcnt_naming.m.script: line 1: 3917257 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -analyzer-config ipa=none -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/refcnt_naming.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/rdar-7168531.m (1057 of 19712) ******************** TEST 'Clang :: Analysis/rdar-7168531.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea6a6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea6a4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea6a73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffdbe4648 (linux-vdso.so.1+0x648) #4 0x000000fff3159388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff3159388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff3159388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff3159388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff3159388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff3159388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff3159388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff3159388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff2dd03a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff2dd03a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff2dd03a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff2dd03a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff2dd03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff2dd03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff2dd03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff2dd03a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff2dd3dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff2dd3dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff2dd3dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff2dd3dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff2dc7430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff2dc7430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff2dc7430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff2dd53b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff2dd53b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff2dd53b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff2dc7d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff2dc7d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff2dc7d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff2de03b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff2de03b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff2de03b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff2de71d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff2de71d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff2de71d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff2d42138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff2d42138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff2d42138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff2d42138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff3298114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff3298114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff3298114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff2e8ade0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff2e8ade0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:0 #48 0x000000fff2e8ade0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #49 0x000000fff2e8ade0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:0 #50 0x000000fff2d2a208 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #51 0x000000fff2d5406c clang::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 0x000000fff2d5406c 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:0 #53 0x000000fff2d57978 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #54 0x000000fff2d57978 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #55 0x000000fff2d57978 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x000000fff2d57978 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:0 #57 0x000000fff2d9fecc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff2d9fecc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff2d9fecc 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 #60 0x000000fff2d62708 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #61 0x000000fff2d62708 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #62 0x000000fff2d62708 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #63 0x000000fff2d63e0c clang::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 0x000000fff2d6565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff2d6587c clang::ento::CoreEngine::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 0x000000fff2d65c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #67 0x000000fff2d65c70 clang::ento::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 0x000000fff307303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #69 0x000000fff307303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #70 0x000000fff307303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #71 0x000000fff307303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #72 0x000000fff307303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #73 0x000000fff3074224 llvm::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 0x000000fff3074224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #75 0x000000fff3074224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #76 0x000000fff3078604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #77 0x000000fff3078604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #78 0x000000fff3078604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #79 0x000000fff3078604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #80 0x000000fff3078604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #81 0x000000fff12ba978 __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 0x000000fff12ba978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #83 0x000000fff12ba978 void clang::finalize>, 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 0x000000fff12ba978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #85 0x000000fff2b33b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #86 0x000000fff2aef354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #87 0x000000fff2aef354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #88 0x000000fff2aef354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #89 0x000000fff2b839a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #90 0x000000aaace8dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #91 0x000000aaace91b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #92 0x000000aaace93234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #93 0x000000aaace8a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #94 0x000000ffe98ac8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #95 0x000000ffe98ac9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #96 0x000000aaace8a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/rdar-7168531.m.script: line 1: 3917197 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -triple i386-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-7168531.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/reference.cpp (1065 of 19712) ******************** TEST 'Clang :: Analysis/reference.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8e3abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8e38c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8e3b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcd54648 (linux-vdso.so.1+0x648) #4 0x000000fff18ed388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff18ed388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff18ed388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff18ed388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff18ed388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff18ed388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff18ed388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff18ed388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff15643a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff15643a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff15643a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff15643a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff15643a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff15643a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff15643a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff15643a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1567dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1567dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1567dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1567dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff155b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff155b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff155b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff15693b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff15693b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff15693b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff155bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff155bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff155bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff15743b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff15743b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff15743b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff157b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff157b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff157b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff14d6138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff14d6138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff14d6138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff14d6138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff14d6688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff14d6688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff14d6688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff149eb4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff149eb4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff149eb4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff14ea674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff14ea674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff14ea674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000fff14fa010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff14fa010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff14fa010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff180703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff180703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff180703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff180703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff180703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff1808224 llvm::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 0x000000fff1808224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff1808224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff180c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff180c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff180c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff180c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff180c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffefa4e978 __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 0x000000ffefa4e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffefa4e978 void clang::finalize>, 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 0x000000ffefa4e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff12c7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff1283354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff1283354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff1283354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff13179a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaacf79c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaacf7db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaacf7f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaacf76034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe80408c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe80409cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaacf760a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/reference.cpp.script: line 1: 3917662 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-1.m (1069 of 19712) ******************** TEST 'Clang :: Analysis/region-1.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6ad6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6ad4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6ad73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd804648 (linux-vdso.so.1+0x648) #4 0x000000ffef589388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef589388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef589388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef589388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef589388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef589388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef589388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef589388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef2003a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef2003a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef2003a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef2003a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef2003a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef2003a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef2003a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef2003a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef203dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef203dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef203dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef203dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef1f7430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef1f7430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef1f7430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef2053b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef2053b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef2053b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef1f7d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef1f7d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef1f7d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef2103b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef2103b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef2103b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef2171d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef2171d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef2171d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef172138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef172138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef172138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef172138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffef172688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffef172688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffef172688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000ffef13ab4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000ffef13ab4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000ffef13ab4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000ffef1866c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000ffef1866c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000ffef1866c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000ffef196010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000ffef196010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000ffef196010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000ffef4a303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000ffef4a303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000ffef4a303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000ffef4a303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000ffef4a303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000ffef4a4224 llvm::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 0x000000ffef4a4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000ffef4a4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000ffef4a8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000ffef4a8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000ffef4a8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000ffef4a8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000ffef4a8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffed6ea978 __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 0x000000ffed6ea978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffed6ea978 void clang::finalize>, 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 0x000000ffed6ea978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000ffeef63b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000ffeef1f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000ffeef1f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000ffeef1f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000ffeefb39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaadfd1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaadfd5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaadfd7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaadfce034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe5cdc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe5cdc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaadfce0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/region-1.m.script: line 1: 3917665 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region-1.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/region-store.c (1070 of 19712) ******************** TEST 'Clang :: Analysis/region-store.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea362bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea360c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea3633d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc4cc648 (linux-vdso.so.1+0x648) #4 0x000000fff2e15388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2e15388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2e15388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2e15388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2e15388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2e15388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2e15388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2e15388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff2a8c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff2a8c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff2a8c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff2a8c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff2a8c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff2a8c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff2a8c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff2a8c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff2a8fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff2a8fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff2a8fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff2a8fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff2a83430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff2a83430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff2a83430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff2a913b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff2a913b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff2a913b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff2a83d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff2a83d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff2a83d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff2a9c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff2a9c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff2a9c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff2aa31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff2aa31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff2aa31d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff29fe138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff29fe138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff29fe138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff29fe138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff2f54114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff2f54114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff2f54114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff2b46de0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff2b46de0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:0 #48 0x000000fff2b46de0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #49 0x000000fff2b46de0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:0 #50 0x000000fff29e6208 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #51 0x000000fff2a1006c clang::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 0x000000fff2a1006c 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:0 #53 0x000000fff2a13978 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #54 0x000000fff2a13978 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #55 0x000000fff2a13978 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x000000fff2a13978 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:0 #57 0x000000fff2a5becc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff2a5becc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff2a5becc 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 #60 0x000000fff2a1e708 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #61 0x000000fff2a1e708 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #62 0x000000fff2a1e708 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #63 0x000000fff2a1fe0c clang::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 0x000000fff2a2165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff2a2187c clang::ento::CoreEngine::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 0x000000fff2a21c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #67 0x000000fff2a21c70 clang::ento::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 0x000000fff2d2f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #69 0x000000fff2d2f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #70 0x000000fff2d2f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #71 0x000000fff2d2f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #72 0x000000fff2d2f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #73 0x000000fff2d30224 llvm::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 0x000000fff2d30224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #75 0x000000fff2d30224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #76 0x000000fff2d34604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #77 0x000000fff2d34604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #78 0x000000fff2d34604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #79 0x000000fff2d34604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #80 0x000000fff2d34604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #81 0x000000fff0f76978 __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 0x000000fff0f76978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #83 0x000000fff0f76978 void clang::finalize>, 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 0x000000fff0f76978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #85 0x000000fff27efb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #86 0x000000fff27ab354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #87 0x000000fff27ab354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #88 0x000000fff27ab354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #89 0x000000fff283f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #90 0x000000aaadf51c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #91 0x000000aaadf55b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #92 0x000000aaadf57234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #93 0x000000aaadf4e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #94 0x000000ffe95688c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #95 0x000000ffe95689cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #96 0x000000aaadf4e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/region-store.c.script: line 1: 3917723 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/redefined_system.c (1071 of 19712) ******************** TEST 'Clang :: Analysis/redefined_system.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe94b2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe94b0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe94b33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd698648 (linux-vdso.so.1+0x648) #4 0x000000fff1f468d4 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1f468d4 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1f468d4 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1f468d4 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1f468d4 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1f468d4 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 0x000000fff1f468d4 get<(anonymous namespace)::ArraySizeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1f468d4 remove<(anonymous namespace)::ArraySizeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:669:0 #12 0x000000fff1f468d4 remove<(anonymous namespace)::ArraySizeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:854:0 #13 0x000000fff1f468d4 (anonymous namespace)::ObjCContainersChecker::checkPointerEscape(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const&, clang::ento::CallEvent const*, clang::ento::PointerEscapeKind) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ObjCContainersChecker.cpp:167:0 #14 0x000000fff1d76ea4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #15 0x000000fff1d76ea4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #16 0x000000fff1d76ea4 llvm::IntrusiveRefCntPtr clang::ento::check::PointerEscape::_checkPointerEscape<(anonymous namespace)::ObjCContainersChecker>(void*, llvm::IntrusiveRefCntPtr, llvm::DenseSet> const&, clang::ento::CallEvent const*, clang::ento::PointerEscapeKind, clang::ento::RegionAndSymbolInvalidationTraits*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:386:0 #17 0x000000fff1b43890 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #18 0x000000fff1b43890 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #19 0x000000fff1b43890 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, llvm::DenseSet> const&, clang::ento::CallEvent const*, clang::ento::PointerEscapeKind, clang::ento::RegionAndSymbolInvalidationTraits*)>::operator()(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const&, clang::ento::CallEvent const*, clang::ento::PointerEscapeKind, clang::ento::RegionAndSymbolInvalidationTraits*) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:29 #20 0x000000fff1b43890 clang::ento::CheckerManager::runCheckersForPointerEscape(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const&, clang::ento::CallEvent const*, clang::ento::PointerEscapeKind, clang::ento::RegionAndSymbolInvalidationTraits*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:630:33 #21 0x000000fff1b486b0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:206:9 #22 0x000000fff1b486b0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #23 0x000000fff1b486b0 clang::ento::ExprEngine::notifyCheckersOfPointerEscape(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, clang::ento::CallEvent const*, clang::ento::RegionAndSymbolInvalidationTraits&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3553:79 #24 0x000000fff1ba7240 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #25 0x000000fff1ba7240 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #26 0x000000fff1ba7240 clang::ento::ProgramState::invalidateRegionsImpl(llvm::ArrayRef, clang::Expr const*, unsigned int, clang::LocationContext const*, bool, llvm::DenseSet>*, clang::ento::RegionAndSymbolInvalidationTraits*, clang::ento::CallEvent const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:211:0 #27 0x000000fff1b46d0c std::_Rb_tree, std::less, std::allocator>::~_Rb_tree() /usr/include/c++/12/bits/stl_tree.h:986:0 #28 0x000000fff1b46d0c std::set, std::allocator>::~set() /usr/include/c++/12/bits/stl_set.h:281:0 #29 0x000000fff1b46d0c llvm::SmallSet>::~SmallSet() /usr/include/llvm/ADT/SmallSet.h:135:0 #30 0x000000fff1b46d0c clang::ento::CallEvent::invalidateRegions(unsigned int, llvm::IntrusiveRefCntPtr) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:286:1 #31 0x000000fff1bb3d98 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #32 0x000000fff1bb3d98 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #33 0x000000fff1bb3d98 clang::ento::ExprEngine::conservativeEvalCall(clang::ento::CallEvent const&, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:833:0 #34 0x000000fff1bb48f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #35 0x000000fff1bb48f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #36 0x000000fff1bb48f4 clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1266:0 #37 0x000000fff1b4d670 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:706:0 #38 0x000000fff1b96440 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #39 0x000000fff1b96440 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #40 0x000000fff1b96440 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #41 0x000000fff1b96440 clang::ento::ExprEngine::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 #42 0x000000fff1b96e4c clang::ento::ExprEngine::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 #43 0x000000fff1b6ed1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #44 0x000000fff1b6ed1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #45 0x000000fff1b6fe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #46 0x000000fff1b7165c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #47 0x000000fff1b7187c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #48 0x000000fff1b71c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #49 0x000000fff1b71c70 clang::ento::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 0x000000fff1e7f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #51 0x000000fff1e7f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #52 0x000000fff1e7f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #53 0x000000fff1e7f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #54 0x000000fff1e7f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #55 0x000000fff1e80224 llvm::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 0x000000fff1e80224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x000000fff1e80224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #58 0x000000fff1e84604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x000000fff1e84604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x000000fff1e84604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x000000fff1e84604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x000000fff1e84604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x000000fff00c6978 __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 0x000000fff00c6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x000000fff00c6978 void clang::finalize>, 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 0x000000fff00c6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x000000fff193fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #68 0x000000fff18fb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #69 0x000000fff18fb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #70 0x000000fff18fb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #71 0x000000fff198f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #72 0x000000aaae961c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #73 0x000000aaae965b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #74 0x000000aaae967234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #75 0x000000aaae95e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #76 0x000000ffe86b88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #77 0x000000ffe86b89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #78 0x000000aaae95e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/redefined_system.c.script: line 1: 3917250 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx,unix,core,alpha.security.taint -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/redefined_system.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/region-store.cpp (1072 of 19712) ******************** TEST 'Clang :: Analysis/region-store.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7422bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7420c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe74233d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc528648 (linux-vdso.so.1+0x648) #4 0x000000ffefaacf7c retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000ffefaacf7c retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffefaacf7c retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffefaacf7c IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffefaacf7c ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffefaacf7c MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000ffefaacf7c get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000ffefaacf7c 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 0x000000ffefb0497c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x000000ffefb0497c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x000000ffefb0497c 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 #15 0x000000ffefb055dc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x000000ffefb055dc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x000000ffefb055dc 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 #18 0x000000ffefb22ee0 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 #19 0x000000ffefadecdc clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #20 0x000000ffefadecdc clang::ento::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 #21 0x000000ffefadfe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #22 0x000000ffefae165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffefae187c clang::ento::CoreEngine::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 0x000000ffefae1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x000000ffefae1c70 clang::ento::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 0x000000ffefdef03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000ffefdef03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000ffefdef03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x000000ffefdef03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x000000ffefdef03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x000000ffefdf0224 llvm::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 0x000000ffefdf0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x000000ffefdf0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x000000ffefdf4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x000000ffefdf4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x000000ffefdf4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x000000ffefdf4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x000000ffefdf4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x000000ffee036978 __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 0x000000ffee036978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x000000ffee036978 void clang::finalize>, 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 0x000000ffee036978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x000000ffef8afb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x000000ffef86b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x000000ffef86b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x000000ffef86b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x000000ffef8ff9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000000aaae775c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000000aaae779b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000000aaae77b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000000aaae772034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x000000ffe66288c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #53 0x000000ffe66289cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #54 0x000000aaae7720a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/region-store.cpp.script: line 1: 3917944 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region-store.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/region_store_overflow.c (1075 of 19712) ******************** TEST 'Clang :: Analysis/region_store_overflow.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7dfebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7dfcc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7dff3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc3e8648 (linux-vdso.so.1+0x648) #4 0x000000fff08b1388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff08b1388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff08b1388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff08b1388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff08b1388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff08b1388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff08b1388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff08b1388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff05283a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff05283a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff05283a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff05283a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff05283a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff05283a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff05283a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff05283a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff052bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff052bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff052bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff052bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff051f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff051f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff051f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff052d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff052d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff052d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff051fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff051fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff051fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff05383b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff05383b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff05383b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff053f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff053f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff053f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff049a138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff049a138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff049a138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff049a138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff09f0114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff09f0114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff09f0114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff05e2de0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff05e2de0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:0 #48 0x000000fff05e2de0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #49 0x000000fff05e2de0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:0 #50 0x000000fff0482208 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #51 0x000000fff04ac06c clang::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 0x000000fff04ac06c 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:0 #53 0x000000fff04af978 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #54 0x000000fff04af978 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #55 0x000000fff04af978 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x000000fff04af978 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:0 #57 0x000000fff04f7ecc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff04f7ecc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff04f7ecc 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 #60 0x000000fff04ba708 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #61 0x000000fff04ba708 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #62 0x000000fff04ba708 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #63 0x000000fff04bbe0c clang::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 0x000000fff04bd65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff04bd87c clang::ento::CoreEngine::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 0x000000fff04bdc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #67 0x000000fff04bdc70 clang::ento::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 0x000000fff07cb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #69 0x000000fff07cb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #70 0x000000fff07cb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #71 0x000000fff07cb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #72 0x000000fff07cb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #73 0x000000fff07cc224 llvm::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 0x000000fff07cc224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #75 0x000000fff07cc224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #76 0x000000fff07d0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #77 0x000000fff07d0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #78 0x000000fff07d0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #79 0x000000fff07d0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #80 0x000000fff07d0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #81 0x000000ffeea12978 __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 0x000000ffeea12978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #83 0x000000ffeea12978 void clang::finalize>, 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 0x000000ffeea12978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #85 0x000000fff028bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #86 0x000000fff0247354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #87 0x000000fff0247354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #88 0x000000fff0247354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #89 0x000000fff02db9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #90 0x000000aaadbfdc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #91 0x000000aaadc01b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #92 0x000000aaadc03234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #93 0x000000aaadbfa034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #94 0x000000ffe70048c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #95 0x000000ffe70049cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #96 0x000000aaadbfa0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/region_store_overflow.c.script: line 1: 3918031 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region_store_overflow.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/reinterpret-cast-pointer-to-member.cpp (1076 of 19712) ******************** TEST 'Clang :: Analysis/reinterpret-cast-pointer-to-member.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9d72bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9d70c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9d733d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe9a0648 (linux-vdso.so.1+0x648) #4 0x000000fff242b664 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff242b664 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff242b664 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff242b664 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff242b664 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff242b664 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff242b664 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff242b664 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 0x000000fff242c08c 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 0x000000fff2431a18 clang::ento::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 0x000000fff2431c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x000000fff2431c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x000000fff273f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x000000fff273f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x000000fff273f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x000000fff273f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x000000fff273f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x000000fff2740224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x000000fff2740224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x000000fff2740224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x000000fff2744604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x000000fff2744604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x000000fff2744604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x000000fff2744604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x000000fff2744604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x000000fff0986978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x000000fff0986978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x000000fff0986978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x000000fff0986978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x000000fff21ffb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x000000fff21bb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x000000fff21bb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x000000fff21bb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x000000fff224f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000000aaae665c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000000aaae669b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000000aaae66b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000000aaae662034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x000000ffe8f788c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #43 0x000000ffe8f789cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #44 0x000000aaae6620a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/reinterpret-cast-pointer-to-member.cpp.script: line 1: 3918070 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/reinterpret-cast.cpp (1077 of 19712) ******************** TEST 'Clang :: Analysis/reinterpret-cast.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe87a6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe87a4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe87a73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff774648 (linux-vdso.so.1+0x648) #4 0x000000fff1259388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1259388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1259388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1259388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1259388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1259388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1259388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1259388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff0ed03a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff0ed03a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff0ed03a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff0ed03a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff0ed03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff0ed03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff0ed03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff0ed03a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0ed3dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0ed3dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0ed3dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0ed3dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0ec7430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0ec7430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0ec7430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff0ed53b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0ed53b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0ed53b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0ec7d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0ec7d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0ec7d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff0ee03b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff0ee03b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff0ee03b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff0ee71d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff0ee71d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff0ee71d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0e42138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0e42138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0e42138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0e42138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1398114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff1398114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff1398114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff0f8ade0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff0f8ade0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:0 #48 0x000000fff0f8ade0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #49 0x000000fff0f8ade0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:0 #50 0x000000fff0e2a208 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #51 0x000000fff0e5406c clang::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 0x000000fff0e5406c 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:0 #53 0x000000fff0e57978 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #54 0x000000fff0e57978 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #55 0x000000fff0e57978 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x000000fff0e57978 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:0 #57 0x000000fff0e9fecc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff0e9fecc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff0e9fecc 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 #60 0x000000fff0e62708 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #61 0x000000fff0e62708 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #62 0x000000fff0e62708 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #63 0x000000fff0e63e0c clang::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 0x000000fff0e6565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff0e6587c clang::ento::CoreEngine::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 0x000000fff0e65c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #67 0x000000fff0e65c70 clang::ento::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 0x000000fff117303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #69 0x000000fff117303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #70 0x000000fff117303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #71 0x000000fff117303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #72 0x000000fff117303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #73 0x000000fff1174224 llvm::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 0x000000fff1174224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #75 0x000000fff1174224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #76 0x000000fff1178604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #77 0x000000fff1178604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #78 0x000000fff1178604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #79 0x000000fff1178604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #80 0x000000fff1178604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #81 0x000000ffef3ba978 __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 0x000000ffef3ba978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #83 0x000000ffef3ba978 void clang::finalize>, 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 0x000000ffef3ba978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #85 0x000000fff0c33b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #86 0x000000fff0bef354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #87 0x000000fff0bef354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #88 0x000000fff0bef354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #89 0x000000fff0c839a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #90 0x000000aaadb69c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #91 0x000000aaadb6db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #92 0x000000aaadb6f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #93 0x000000aaadb66034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #94 0x000000ffe79ac8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #95 0x000000ffe79ac9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #96 0x000000aaadb660a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/reinterpret-cast.cpp.script: line 1: 3918090 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/reinterpret-cast.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-release-arc.m (1079 of 19712) ******************** TEST 'Clang :: Analysis/retain-release-arc.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8e32bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8e30c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8e333d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc064648 (linux-vdso.so.1+0x648) #4 0x000000fff1733474 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000fff1733474 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff1733474 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff1733474 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff1733474 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff1733474 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 0x000000fff1733474 get<(anonymous namespace)::RefBindings> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff1733474 remove<(anonymous namespace)::RefBindings> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:669:89 #12 0x000000fff1733474 llvm::IntrusiveRefCntPtr clang::ento::ProgramState::remove<(anonymous namespace)::RefBindings>(clang::ento::ProgramStateTrait<(anonymous namespace)::RefBindings>::key_type) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:854:63 #13 0x000000fff17426f4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #14 0x000000fff17426f4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #15 0x000000fff17426f4 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 #16 0x000000fff1742878 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #17 0x000000fff1742878 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #18 0x000000fff1742878 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 #19 0x000000fff14c3704 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x000000fff14c3704 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x000000fff14c3704 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*)>::operator()(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:29 #22 0x000000fff14c3704 clang::ento::CheckerManager::runCheckersForRegionChanges(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:608:33 #23 0x000000fff15272b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x000000fff15272b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x000000fff15272b4 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 #26 0x000000fff15272b4 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 #27 0x000000fff14c6d0c std::_Rb_tree, std::less, std::allocator>::~_Rb_tree() /usr/include/c++/12/bits/stl_tree.h:986:0 #28 0x000000fff14c6d0c std::set, std::allocator>::~set() /usr/include/c++/12/bits/stl_set.h:281:0 #29 0x000000fff14c6d0c llvm::SmallSet>::~SmallSet() /usr/include/llvm/ADT/SmallSet.h:135:0 #30 0x000000fff14c6d0c clang::ento::CallEvent::invalidateRegions(unsigned int, llvm::IntrusiveRefCntPtr) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:286:1 #31 0x000000fff1533d98 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #32 0x000000fff1533d98 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #33 0x000000fff1533d98 clang::ento::ExprEngine::conservativeEvalCall(clang::ento::CallEvent const&, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:833:0 #34 0x000000fff15348f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #35 0x000000fff15348f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #36 0x000000fff15348f4 clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1266:0 #37 0x000000fff14cd670 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:706:0 #38 0x000000fff1516440 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #39 0x000000fff1516440 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #40 0x000000fff1516440 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #41 0x000000fff1516440 clang::ento::ExprEngine::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 #42 0x000000fff1516e4c clang::ento::ExprEngine::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 #43 0x000000fff14eed1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #44 0x000000fff14eed1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #45 0x000000fff14efe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #46 0x000000fff14f165c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #47 0x000000fff14f187c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #48 0x000000fff14f1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #49 0x000000fff14f1c70 clang::ento::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 0x000000fff17ff03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #51 0x000000fff17ff03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #52 0x000000fff17ff03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #53 0x000000fff17ff03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #54 0x000000fff17ff03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #55 0x000000fff1800224 llvm::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 0x000000fff1800224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x000000fff1800224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #58 0x000000fff1804604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x000000fff1804604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x000000fff1804604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x000000fff1804604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x000000fff1804604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x000000ffefa46978 __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 0x000000ffefa46978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x000000ffefa46978 void clang::finalize>, 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 0x000000ffefa46978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x000000fff12bfb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #68 0x000000fff127b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #69 0x000000fff127b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #70 0x000000fff127b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #71 0x000000fff130f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #72 0x000000aaac1d1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #73 0x000000aaac1d5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #74 0x000000aaac1d7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #75 0x000000aaac1ce034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #76 0x000000ffe80388c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #77 0x000000ffe80389cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #78 0x000000aaac1ce0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-arc.m.script: line 2: 3918483 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -fobjc-arc -fblocks -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-arc.m -analyzer-output=text -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-count-alloc.cpp (1080 of 19712) ******************** TEST 'Clang :: Analysis/retain-count-alloc.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe68b6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe68b4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe68b73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff46c648 (linux-vdso.so.1+0x648) #4 0x000000ffef369388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef369388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef369388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef369388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef369388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef369388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef369388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef369388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffeefe03a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffeefe03a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffeefe03a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffeefe03a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffeefe03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffeefe03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffeefe03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffeefe03a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffeefe3dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffeefe3dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffeefe3dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffeefe3dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffeefd7430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffeefd7430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffeefd7430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffeefe53b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffeefe53b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffeefe53b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffeefd7d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffeefd7d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffeefd7d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffeeff03b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffeeff03b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffeeff03b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffeeff71d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffeeff71d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffeeff71d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffeef520e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffeef520e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffeef520e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffeef520e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000ffeef67e4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffeef67e4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffeef67e4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000ffeef67e4c 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:0 #47 0x000000ffeef73b90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000ffeef73b90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000ffeef73b90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000ffeef73b90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000ffeef73b90 clang::ento::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 #52 0x000000ffeef73e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000ffeef7565c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000ffeef7587c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000ffeef75c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000ffeef75c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000ffef28303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000ffef28303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000ffef28303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000ffef28303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000ffef28303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000ffef284224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000ffef284224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000ffef284224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000ffef288604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000ffef288604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000ffef288604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000ffef288604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000ffef288604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000ffed4ca978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000ffed4ca978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000ffed4ca978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000ffed4ca978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000ffeed43b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000ffeecff354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000ffeecff354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000ffeecff354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000ffeed939a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaaaad5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaaaad9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaaaadb234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaaaad2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe5abc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe5abc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaaaad20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-count-alloc.cpp.script: line 1: 3918475 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-count-alloc.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-release-cf-audited.m (1081 of 19712) ******************** TEST 'Clang :: Analysis/retain-release-cf-audited.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe92e6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe92e4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe92e73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffeca0648 (linux-vdso.so.1+0x648) #4 0x000000fff1c02ca4 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff1c02ca4 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff1c02ca4 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff1c02ca4 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff1c02ca4 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff1c02ca4 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 0x000000fff1c02ca4 get<(anonymous namespace)::RefBindings> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff1c02ca4 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 0x000000fff196a8e8 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x000000fff199c1b4 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x000000fff199c1b4 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x000000fff199c1b4 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #16 0x000000fff199c1b4 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #17 0x000000fff199c1b4 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #18 0x000000fff199c1b4 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #19 0x000000fff199c1b4 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #20 0x000000fff19a3d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x000000fff19a3d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x000000fff19a3d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x000000fff19a3d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x000000fff19a3d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x000000fff19a3d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x000000fff19a3d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x000000fff19a3d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x000000fff19a3d94 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 0x000000fff19a565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff19a587c clang::ento::CoreEngine::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 0x000000fff19a5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #32 0x000000fff19a5c70 clang::ento::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 0x000000fff1cb303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x000000fff1cb303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x000000fff1cb303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #36 0x000000fff1cb303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #37 0x000000fff1cb303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #38 0x000000fff1cb4224 llvm::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 0x000000fff1cb4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #40 0x000000fff1cb4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #41 0x000000fff1cb8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x000000fff1cb8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x000000fff1cb8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #44 0x000000fff1cb8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #45 0x000000fff1cb8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #46 0x000000ffefefa978 __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 0x000000ffefefa978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #48 0x000000ffefefa978 void clang::finalize>, 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 0x000000ffefefa978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #50 0x000000fff1773b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #51 0x000000fff172f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #52 0x000000fff172f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #53 0x000000fff172f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #54 0x000000fff17c39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #55 0x000000aaad685c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #56 0x000000aaad689b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #57 0x000000aaad68b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #58 0x000000aaad682034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #59 0x000000ffe84ec8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #60 0x000000ffe84ec9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #61 0x000000aaad6820a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-cf-audited.m.script: line 2: 3918709 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-inline.m (1082 of 19712) ******************** TEST 'Clang :: Analysis/retain-release-inline.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7cbebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7cbcc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7cbf3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe404648 (linux-vdso.so.1+0x648) #4 0x000000fff0771388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0771388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0771388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0771388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0771388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0771388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0771388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0771388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff03e83a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff03e83a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff03e83a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff03e83a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff03e83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff03e83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff03e83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff03e83a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff03ebdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff03ebdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff03ebdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff03ebdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff03df430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff03df430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff03df430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff03ed3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff03ed3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff03ed3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff03dfd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff03dfd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff03dfd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff03f83b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff03f83b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff03f83b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff03ff1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff03ff1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff03ff1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff035a138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff035a138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff035a138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff035a138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff035a688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff035a688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff035a688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff0322b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff0322b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff0322b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff036e6c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff036e6c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff036e6c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000fff037e010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff037e010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff037e010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff068b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff068b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff068b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff068b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff068b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff068c224 llvm::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 0x000000fff068c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff068c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff0690604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff0690604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff0690604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff0690604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff0690604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffee8d2978 __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 0x000000ffee8d2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffee8d2978 void clang::finalize>, 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 0x000000ffee8d2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff014bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff0107354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff0107354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff0107354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff019b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaab605c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaab609b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaab60b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaab602034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe6ec48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe6ec49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaab6020a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-inline.m.script: line 1: 3919396 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-inline.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-release-compound-literal.m (1083 of 19712) ******************** TEST 'Clang :: Analysis/retain-release-compound-literal.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe693abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6938c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe693b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe570648 (linux-vdso.so.1+0x648) #4 0x000000ffef256ca4 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000ffef256ca4 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffef256ca4 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffef256ca4 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffef256ca4 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffef256ca4 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 0x000000ffef256ca4 get<(anonymous namespace)::RefBindings> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000ffef256ca4 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 0x000000ffeefbe8e8 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x000000ffeeff01b4 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x000000ffeeff01b4 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x000000ffeeff01b4 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #16 0x000000ffeeff01b4 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #17 0x000000ffeeff01b4 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #18 0x000000ffeeff01b4 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #19 0x000000ffeeff01b4 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #20 0x000000ffeeff7d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x000000ffeeff7d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x000000ffeeff7d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x000000ffeeff7d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x000000ffeeff7d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x000000ffeeff7d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x000000ffeeff7d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x000000ffeeff7d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x000000ffeeff7d94 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 0x000000ffeeff965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffeeff987c clang::ento::CoreEngine::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 0x000000ffeeff9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #32 0x000000ffeeff9c70 clang::ento::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 0x000000ffef30703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x000000ffef30703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x000000ffef30703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #36 0x000000ffef30703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #37 0x000000ffef30703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #38 0x000000ffef308224 llvm::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 0x000000ffef308224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #40 0x000000ffef308224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #41 0x000000ffef30c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x000000ffef30c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x000000ffef30c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #44 0x000000ffef30c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #45 0x000000ffef30c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #46 0x000000ffed54e978 __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 0x000000ffed54e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #48 0x000000ffed54e978 void clang::finalize>, 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 0x000000ffed54e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #50 0x000000ffeedc7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #51 0x000000ffeed83354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #52 0x000000ffeed83354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #53 0x000000ffeed83354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #54 0x000000ffeee179a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #55 0x000000aaaea11c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #56 0x000000aaaea15b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #57 0x000000aaaea17234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #58 0x000000aaaea0e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #59 0x000000ffe5b408c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #60 0x000000ffe5b409cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #61 0x000000aaaea0e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-compound-literal.m.script: line 1: 3919071 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-compound-literal.m -analyzer-checker=core,osx.cocoa.RetainCount -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-release-cache-out.m (1084 of 19712) ******************** TEST 'Clang :: Analysis/retain-release-cache-out.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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 0x000000ffe7306bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7304c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe73073d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffdffc648 (linux-vdso.so.1+0x648) #4 0x000000ffef9a8f18 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef9a8f18 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef9a8f18 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef9a8f18 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef9a8f18 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef9a8f18 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 0x000000ffef9a8f18 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef9a8f18 llvm::IntrusiveRefCntPtr clang::ento::removeDeadImpl<(anonymous namespace)::DynamicTypeMap>(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:166:0 #12 0x000000ffefda797c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x000000ffefda797c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x000000ffefda797c clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x000000ffefda797c (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 0x000000ffef98a8e8 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #17 0x000000ffef9bc1b4 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x000000ffef9bc1b4 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x000000ffef9bc1b4 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #20 0x000000ffef9bc1b4 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #21 0x000000ffef9bc1b4 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #22 0x000000ffef9bc1b4 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #23 0x000000ffef9bc1b4 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #24 0x000000ffef9c3d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #25 0x000000ffef9c3d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #26 0x000000ffef9c3d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #27 0x000000ffef9c3d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #28 0x000000ffef9c3d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #29 0x000000ffef9c3d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #30 0x000000ffef9c3d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #31 0x000000ffef9c3d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #32 0x000000ffef9c3d94 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 0x000000ffef9c565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef9c587c clang::ento::CoreEngine::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 0x000000ffef9c5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #36 0x000000ffef9c5c70 clang::ento::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 0x000000ffefcd303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #38 0x000000ffefcd303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #39 0x000000ffefcd303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #40 0x000000ffefcd303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #41 0x000000ffefcd303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #42 0x000000ffefcd4224 llvm::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 0x000000ffefcd4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #44 0x000000ffefcd4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #45 0x000000ffefcd8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x000000ffefcd8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x000000ffefcd8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #48 0x000000ffefcd8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #49 0x000000ffefcd8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #50 0x000000ffedf1a978 __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 0x000000ffedf1a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #52 0x000000ffedf1a978 void clang::finalize>, 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 0x000000ffedf1a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #54 0x000000ffef793b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #55 0x000000ffef74f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #56 0x000000ffef74f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #57 0x000000ffef74f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #58 0x000000ffef7e39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #59 0x000000aaae799c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #60 0x000000aaae79db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #61 0x000000aaae79f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #62 0x000000aaae796034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #63 0x000000ffe650c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #64 0x000000ffe650c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #65 0x000000aaae7960a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-cache-out.m.script: line 1: 3918679 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-cache-out.m -analyzer-checker=core,osx.cocoa.RetainCount -fblocks -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-release-path-notes.m (1085 of 19712) ******************** TEST 'Clang :: Analysis/retain-release-path-notes.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe6df2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6df0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6df33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc228648 (linux-vdso.so.1+0x648) #4 0x000000ffef8a5388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef8a5388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef8a5388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef8a5388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef8a5388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef8a5388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef8a5388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef8a5388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef51c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef51c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef51c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef51c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef51c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef51c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef51c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef51c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef51fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef51fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef51fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef51fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef513430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef513430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef513430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef5213b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef5213b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef5213b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef513d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef513d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef513d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef52c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef52c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef52c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef5331d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef5331d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef5331d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef48e138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef48e138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef48e138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef48e138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffef48e688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffef48e688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffef48e688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000ffef456b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000ffef456b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000ffef456b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000ffef4a26c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000ffef4a26c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000ffef4a26c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000ffef4b2010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000ffef4b2010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000ffef4b2010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000ffef7bf03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000ffef7bf03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000ffef7bf03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000ffef7bf03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000ffef7bf03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000ffef7c0224 llvm::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 0x000000ffef7c0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000ffef7c0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000ffef7c4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000ffef7c4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000ffef7c4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000ffef7c4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000ffef7c4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffeda06978 __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 0x000000ffeda06978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffeda06978 void clang::finalize>, 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 0x000000ffeda06978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000ffef27fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000ffef23b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000ffef23b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000ffef23b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000ffef2cf9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaad72dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaad731b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaad733234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaad72a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe5ff88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe5ff89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaad72a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-path-notes.m.script: line 3: 3919417 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-path-notes.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-release-cpp-classes.cpp (1087 of 19712) ******************** TEST 'Clang :: Analysis/retain-release-cpp-classes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6fd2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6fd0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6fd33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe3f0648 (linux-vdso.so.1+0x648) #4 0x000000ffef68b664 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000ffef68b664 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffef68b664 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffef68b664 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffef68b664 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffef68b664 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000ffef68b664 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000ffef68b664 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 0x000000ffef68c08c 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 0x000000ffef691a18 clang::ento::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 0x000000ffef691c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x000000ffef691c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x000000ffef99f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x000000ffef99f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x000000ffef99f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x000000ffef99f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x000000ffef99f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x000000ffef9a0224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x000000ffef9a0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x000000ffef9a0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x000000ffef9a4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x000000ffef9a4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x000000ffef9a4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x000000ffef9a4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x000000ffef9a4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x000000ffedbe6978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x000000ffedbe6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x000000ffedbe6978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x000000ffedbe6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x000000ffef45fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x000000ffef41b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x000000ffef41b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x000000ffef41b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x000000ffef4af9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000000aaabaa1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000000aaabaa5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000000aaabaa7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000000aaaba9e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x000000ffe61d88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #43 0x000000ffe61d89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #44 0x000000aaaba9e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-cpp-classes.cpp.script: line 1: 3919075 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-region-store.m (1088 of 19712) ******************** TEST 'Clang :: Analysis/retain-release-region-store.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple loongarch64-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 0x000000ffe85f2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe85f0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe85f33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd550648 (linux-vdso.so.1+0x648) #4 0x000000fff10a5388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff10a5388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff10a5388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff10a5388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff10a5388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff10a5388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff10a5388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff10a5388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff0d1c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff0d1c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff0d1c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff0d1c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff0d1c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff0d1c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff0d1c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff0d1c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0d1fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0d1fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0d1fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0d1fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0d13430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0d13430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0d13430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff0d213b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0d213b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0d213b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0d13d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0d13d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0d13d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff0d2c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff0d2c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff0d2c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff0d331d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff0d331d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff0d331d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0c8e138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0c8e138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0c8e138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0c8e138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff11e4114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff11e4114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff11e4114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff0dd6de0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff0dd6de0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:0 #48 0x000000fff0dd6de0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #49 0x000000fff0dd6de0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:0 #50 0x000000fff0c76208 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #51 0x000000fff0ca006c clang::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 0x000000fff0ca006c 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:0 #53 0x000000fff0ca3978 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #54 0x000000fff0ca3978 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #55 0x000000fff0ca3978 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x000000fff0ca3978 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:0 #57 0x000000fff0cebecc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff0cebecc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff0cebecc 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 #60 0x000000fff0cae708 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #61 0x000000fff0cae708 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #62 0x000000fff0cae708 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #63 0x000000fff0cafe0c clang::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 0x000000fff0cb165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff0cb187c clang::ento::CoreEngine::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 0x000000fff0cb1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #67 0x000000fff0cb1c70 clang::ento::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 0x000000fff0fbf03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #69 0x000000fff0fbf03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #70 0x000000fff0fbf03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #71 0x000000fff0fbf03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #72 0x000000fff0fbf03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #73 0x000000fff0fc0224 llvm::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 0x000000fff0fc0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #75 0x000000fff0fc0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #76 0x000000fff0fc4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #77 0x000000fff0fc4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #78 0x000000fff0fc4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #79 0x000000fff0fc4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #80 0x000000fff0fc4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #81 0x000000ffef206978 __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 0x000000ffef206978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #83 0x000000ffef206978 void clang::finalize>, 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 0x000000ffef206978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #85 0x000000fff0a7fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #86 0x000000fff0a3b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #87 0x000000fff0a3b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #88 0x000000fff0a3b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #89 0x000000fff0acf9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #90 0x000000aaadfa5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #91 0x000000aaadfa9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #92 0x000000aaadfab234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #93 0x000000aaadfa2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #94 0x000000ffe77f88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #95 0x000000ffe77f89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #96 0x000000aaadfa20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-region-store.m.script: line 1: 3919483 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple loongarch64-opencloudos-linux-gnu -analyzer-checker=core,osx.cocoa.RetainCount -analyzer-max-loop 6 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-region-store.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-release.mm (1089 of 19712) ******************** TEST 'Clang :: Analysis/retain-release.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6ce2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6ce0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6ce33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe130648 (linux-vdso.so.1+0x648) #4 0x000000ffef5feca4 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000ffef5feca4 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffef5feca4 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffef5feca4 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffef5feca4 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffef5feca4 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 0x000000ffef5feca4 get<(anonymous namespace)::RefBindings> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000ffef5feca4 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 0x000000ffef3668e8 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x000000ffef3981b4 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x000000ffef3981b4 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x000000ffef3981b4 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #16 0x000000ffef3981b4 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #17 0x000000ffef3981b4 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #18 0x000000ffef3981b4 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #19 0x000000ffef3981b4 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #20 0x000000ffef39fd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x000000ffef39fd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x000000ffef39fd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x000000ffef39fd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x000000ffef39fd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x000000ffef39fd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x000000ffef39fd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x000000ffef39fd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x000000ffef39fd94 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 0x000000ffef3a165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef3a187c clang::ento::CoreEngine::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 0x000000ffef3a1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #32 0x000000ffef3a1c70 clang::ento::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 0x000000ffef6af03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x000000ffef6af03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x000000ffef6af03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #36 0x000000ffef6af03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #37 0x000000ffef6af03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #38 0x000000ffef6b0224 llvm::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 0x000000ffef6b0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #40 0x000000ffef6b0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #41 0x000000ffef6b4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x000000ffef6b4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x000000ffef6b4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #44 0x000000ffef6b4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #45 0x000000ffef6b4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #46 0x000000ffed8f6978 __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 0x000000ffed8f6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #48 0x000000ffed8f6978 void clang::finalize>, 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 0x000000ffed8f6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #50 0x000000ffef16fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #51 0x000000ffef12b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #52 0x000000ffef12b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #53 0x000000ffef12b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #54 0x000000ffef1bf9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #55 0x000000aaadf85c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #56 0x000000aaadf89b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #57 0x000000aaadf8b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #58 0x000000aaadf82034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #59 0x000000ffe5ee88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #60 0x000000ffe5ee89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #61 0x000000aaadf820a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release.mm.script: line 1: 3919893 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-safe.c (1090 of 19712) ******************** TEST 'Clang :: Analysis/retain-release-safe.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe95cebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe95ccc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe95cf3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffccc4648 (linux-vdso.so.1+0x648) #4 0x000000fff2081388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2081388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2081388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2081388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2081388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2081388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2081388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2081388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff1cf83a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff1cf83a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff1cf83a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff1cf83a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff1cf83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff1cf83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff1cf83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff1cf83a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1cfbdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1cfbdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1cfbdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1cfbdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1cef430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1cef430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1cef430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff1cfd3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff1cfd3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff1cfd3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1cefd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1cefd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1cefd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff1d083b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff1d083b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff1d083b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff1d0f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff1d0f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff1d0f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1c6a138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1c6a138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1c6a138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1c6a138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff21c0114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff21c0114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff21c0114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff1c7b190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff1c7b190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff1c7b190 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:0 #49 0x000000fff1c7b190 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:0 #50 0x000000fff1c7b190 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:0 #51 0x000000fff1c7b190 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:0 #52 0x000000fff1c7b190 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:0 #53 0x000000fff1c7b190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff1c7b190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff1c7b190 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:0 #56 0x000000fff1c7b7ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff1c8dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff1c8dc70 clang::ento::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 0x000000fff1f9b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff1f9b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff1f9b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff1f9b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff1f9b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff1f9c224 llvm::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 0x000000fff1f9c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff1f9c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff1fa0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff1fa0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff1fa0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff1fa0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff1fa0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000fff01e2978 __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 0x000000fff01e2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000fff01e2978 void clang::finalize>, 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 0x000000fff01e2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff1a5bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff1a17354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff1a17354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff1a17354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff1aab9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaac745c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaac749b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaac74b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaac742034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe87d48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe87d49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaac7420a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-safe.c.script: line 2: 3919862 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.RetainCount -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-safe.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-release.m (1091 of 19712) ******************** TEST 'Clang :: Analysis/retain-release.m' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -f /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release.m.tmp.objc.plist /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release.m.tmp.objcpp.plist : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release.m.tmp.objc.plist : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6de6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6de4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6de73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff72c648 (linux-vdso.so.1+0x648) #4 0x000000ffef899388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef899388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef899388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef899388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef899388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef899388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef899388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef899388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef5103a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef5103a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef5103a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef5103a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef5103a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef5103a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef5103a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef5103a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef513dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef513dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef513dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef513dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef507430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef507430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef507430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef5153b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef5153b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef5153b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef507d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef507d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef507d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef5203b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef5203b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef5203b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef5271d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef5271d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef5271d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef4820e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef4820e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef4820e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef4820e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000ffef497e4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffef497e4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffef497e4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000ffef497e4c 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:0 #47 0x000000ffef4a3b90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000ffef4a3b90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000ffef4a3b90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000ffef4a3b90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000ffef4a3b90 clang::ento::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 #52 0x000000ffef4a3e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000ffef4a565c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000ffef4a587c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000ffef4a5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000ffef4a5c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000ffef7b303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000ffef7b303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000ffef7b303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000ffef7b303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000ffef7b303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000ffef7b4224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000ffef7b4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000ffef7b4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000ffef7b8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000ffef7b8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000ffef7b8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000ffef7b8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000ffef7b8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000ffed9fa978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000ffed9fa978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000ffed9fa978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000ffed9fa978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000ffef273b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000ffef22f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000ffef22f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000ffef22f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000ffef2c39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaad3d1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaad3d5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaad3d7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaad3ce034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe5fec8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe5fec9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaad3ce0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release.m.script: line 6: 3919876 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release.m.tmp.objc.plist -- ******************** Testing: 0 FAIL: Clang :: Analysis/retaincountchecker-compoundregion.m (1096 of 19712) ******************** TEST 'Clang :: Analysis/retaincountchecker-compoundregion.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe697abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6978c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe697b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff23c648 (linux-vdso.so.1+0x648) #4 0x000000ffef27a360 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000ffef27a360 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffef27a360 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffef27a360 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffef27a360 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffef27a360 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 0x000000ffef27a360 get<(anonymous namespace)::RefBindings> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000ffef27a360 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 0x000000ffef27aab8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x000000ffef27aab8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x000000ffef27aab8 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 0x000000ffef00ba28 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x000000ffef00ba28 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x000000ffef00ba28 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:29 #18 0x000000ffef00ba28 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x000000ffef0b443c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x000000ffef0b443c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x000000ffef0b443c clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x000000ffef0b443c clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x000000ffef0bb1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x000000ffef0bb1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x000000ffef0bb1d4 clang::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 0x000000ffef0160e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000ffef0160e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000ffef0160e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x000000ffef0160e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #30 0x000000ffef56c114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef56c114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef56c114 clang::ento::ProgramState::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 0x000000ffef15ede0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #34 0x000000ffef15ede0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:0 #35 0x000000ffef15ede0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #36 0x000000ffef15ede0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:0 #37 0x000000ffeeffe208 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #38 0x000000ffef02806c clang::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 0x000000ffef02806c 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:0 #40 0x000000ffef02b978 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #41 0x000000ffef02b978 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #42 0x000000ffef02b978 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #43 0x000000ffef02b978 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:0 #44 0x000000ffef073ecc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x000000ffef073ecc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x000000ffef073ecc 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 0x000000ffef036708 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #48 0x000000ffef036708 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #49 0x000000ffef036708 clang::ento::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 0x000000ffef037e0c clang::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 0x000000ffef03965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef03987c clang::ento::CoreEngine::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 0x000000ffef039c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #54 0x000000ffef039c70 clang::ento::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 0x000000ffef34703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000ffef34703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000ffef34703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000ffef34703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000ffef34703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000ffef348224 llvm::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 0x000000ffef348224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000ffef348224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000ffef34c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000ffef34c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000ffef34c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000ffef34c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000ffef34c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffed58e978 __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 0x000000ffed58e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffed58e978 void clang::finalize>, 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 0x000000ffed58e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000ffeee07b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000ffeedc3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000ffeedc3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000ffeedc3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000ffeee579a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaacb9dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaacba1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaacba3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaacb9a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe5b808c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe5b809cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaacb9a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retaincountchecker-compoundregion.m.script: line 1: 3920088 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -fblocks -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retaincountchecker-compoundregion.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/return-ptr-range.cpp (1097 of 19712) ******************** TEST 'Clang :: Analysis/return-ptr-range.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9a92bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9a90c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9a933d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd400648 (linux-vdso.so.1+0x648) #4 0x000000fff2545388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2545388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2545388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2545388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2545388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2545388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2545388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2545388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff21bc3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff21bc3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff21bc3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff21bc3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff21bc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff21bc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff21bc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff21bc3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff21bfdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff21bfdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff21bfdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff21bfdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff21b3430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff21b3430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff21b3430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff21c13b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff21c13b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff21c13b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff21b3d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff21b3d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff21b3d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff21cc3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff21cc3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff21cc3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff21d31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff21d31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff21d31d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff212e138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff212e138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff212e138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff212e138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff2143e4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff2143e4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff2143e4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000fff2143e4c 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:0 #47 0x000000fff214fb90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000fff214fb90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000fff214fb90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000fff214fb90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000fff214fb90 clang::ento::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 #52 0x000000fff214fe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000fff215165c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000fff215187c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000fff2151c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000fff2151c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000fff245f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff245f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff245f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000fff245f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000fff245f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000fff2460224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000fff2460224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000fff2460224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000fff2464604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000fff2464604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000fff2464604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000fff2464604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000fff2464604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000fff06a6978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000fff06a6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000fff06a6978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000fff06a6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000fff1f1fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000fff1edb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000fff1edb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000fff1edb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000fff1f6f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaac1f9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaac1fdb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaac1ff234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaac1f6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe8c988c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe8c989cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaac1f60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/return-ptr-range.cpp.script: line 1: 3920207 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/return-stmt-merge.cpp (1099 of 19712) ******************** TEST 'Clang :: Analysis/return-stmt-merge.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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:464: note: 'next' match was here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.AnalysisOrder,debug.ExprInspection -analyzer-config debug.AnalysisOrder:PreCall=true,debug.AnalysisOrder:PostCall=true,debug.AnalysisOrder:LiveSymbols=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-stmt-merge.cpp next:33 !~~~~~~~~~~ error: match on wrong line 13: 1. parser at end of file 14: 2. While analyzing stack: 15: #0 Calling foo() at line 21 16: #1 Calling bar() 17: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-stmt-merge.cpp:17:5: Error evaluating statement . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/return-value-guaranteed.cpp (1101 of 19712) ******************** TEST 'Clang :: Analysis/return-value-guaranteed.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe85eabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe85e8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe85eb3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd750648 (linux-vdso.so.1+0x648) #4 0x000000fff0ca3664 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff0ca3664 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff0ca3664 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff0ca3664 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff0ca3664 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff0ca3664 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff0ca3664 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff0ca3664 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 0x000000fff0ca408c 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 0x000000fff0ca9a18 clang::ento::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 0x000000fff0ca9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x000000fff0ca9c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x000000fff0fb703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x000000fff0fb703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x000000fff0fb703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x000000fff0fb703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x000000fff0fb703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x000000fff0fb8224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x000000fff0fb8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x000000fff0fb8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x000000fff0fbc604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x000000fff0fbc604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x000000fff0fbc604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x000000fff0fbc604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x000000fff0fbc604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x000000ffef1fe978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x000000ffef1fe978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x000000ffef1fe978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x000000ffef1fe978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x000000fff0a77b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x000000fff0a33354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x000000fff0a33354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x000000fff0a33354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x000000fff0ac79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000000aaab20dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000000aaab211b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000000aaab213234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000000aaab20a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x000000ffe77f08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #43 0x000000ffe77f09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #44 0x000000aaab20a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/return-value-guaranteed.cpp.script: line 1: 3920636 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/returns_nonnull-attribute.cpp (1104 of 19712) ******************** TEST 'Clang :: Analysis/returns_nonnull-attribute.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea50ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea50cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea50f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcc98648 (linux-vdso.so.1+0x648) #4 0x000000fff2fc1388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2fc1388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2fc1388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2fc1388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2fc1388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2fc1388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2fc1388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2fc1388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff2c383a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff2c383a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff2c383a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff2c383a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff2c383a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff2c383a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff2c383a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff2c383a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff2c3bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff2c3bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff2c3bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff2c3bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff2c2f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff2c2f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff2c2f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff2c3d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff2c3d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff2c3d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff2c2fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff2c2fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff2c2fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff2c483b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff2c483b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff2c483b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff2c4f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff2c4f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff2c4f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff2baa138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff2baa138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff2baa138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff2baa138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff3100114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff3100114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff3100114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff2c92c40 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x000000fff2c92c40 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #48 0x000000fff2c92c40 checkFunctionPointerCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:390:0 #49 0x000000fff2c92c40 checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:546:0 #50 0x000000fff2c92c40 void clang::ento::check::PreCall::_checkCall<(anonymous namespace)::CallAndMessageChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:168:0 #51 0x000000fff2ba0df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #52 0x000000fff2ba0df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x000000fff2ba0df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #54 0x000000fff2ba0df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #55 0x000000fff2ba0df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #56 0x000000fff2bf23d8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #57 0x000000fff2bf23d8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #58 0x000000fff2bf23d8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #59 0x000000fff2bf23d8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #60 0x000000fff2bf23d8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #61 0x000000fff2bf23d8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #62 0x000000fff2bf23d8 clang::ento::ExprEngine::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 #63 0x000000fff2bf2e4c clang::ento::ExprEngine::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 #64 0x000000fff2bcad1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #65 0x000000fff2bcad1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #66 0x000000fff2bcbe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #67 0x000000fff2bcd65c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #68 0x000000fff2bcd87c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #69 0x000000fff2bcdc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #70 0x000000fff2bcdc70 clang::ento::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 0x000000fff2edb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #72 0x000000fff2edb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #73 0x000000fff2edb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #74 0x000000fff2edb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #75 0x000000fff2edb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #76 0x000000fff2edc224 llvm::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 0x000000fff2edc224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #78 0x000000fff2edc224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #79 0x000000fff2ee0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #80 0x000000fff2ee0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #81 0x000000fff2ee0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #82 0x000000fff2ee0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #83 0x000000fff2ee0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #84 0x000000fff1122978 __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 0x000000fff1122978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #86 0x000000fff1122978 void clang::finalize>, 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 0x000000fff1122978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #88 0x000000fff299bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #89 0x000000fff2957354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #90 0x000000fff2957354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #91 0x000000fff2957354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #92 0x000000fff29eb9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #93 0x000000aaaae39c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #94 0x000000aaaae3db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #95 0x000000aaaae3f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #96 0x000000aaaae36034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #97 0x000000ffe97148c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #98 0x000000ffe97149cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #99 0x000000aaaae360a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/returns_nonnull-attribute.cpp.script: line 1: 3920844 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/runtime-regression.c (1105 of 19712) ******************** TEST 'Clang :: Analysis/runtime-regression.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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 0x000000ffe82febb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe82fcc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe82ff3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc118648 (linux-vdso.so.1+0x648) #4 0x000000fff0db1388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0db1388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0db1388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0db1388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0db1388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0db1388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0db1388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0db1388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff0a283a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff0a283a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff0a283a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff0a283a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff0a283a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff0a283a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff0a283a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff0a283a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0a2bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0a2bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0a2bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0a2bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0a2a65c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0a2a65c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0a2a65c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000fff0a2d444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0a2d444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0a2d444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000fff0a1fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0a1fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0a1fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff0a383b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff0a383b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff0a383b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff0a3f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff0a3f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff0a3f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff099a138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff099a138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff099a138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff099a138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff0ae3f24 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #44 0x000000fff0ae3f24 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #45 0x000000fff0ae3f24 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #46 0x000000fff0ae3f24 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #47 0x000000fff0ae3f24 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #48 0x000000fff0ae3f24 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp:99:0 #49 0x000000fff0ae3f24 void clang::ento::check::PreStmt::_checkStmt<(anonymous namespace)::DivZeroChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:85:0 #50 0x000000fff0981ea8 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #51 0x000000fff0981ea8 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:26 #52 0x000000fff09f5eec llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #53 0x000000fff09f5eec llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #54 0x000000fff09f5eec llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #55 0x000000fff09f5eec llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #56 0x000000fff09f5eec llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #57 0x000000fff09f5eec clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #58 0x000000fff09f5eec 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 #59 0x000000fff09bbab8 clang::ento::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 #60 0x000000fff09bbe0c clang::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 0x000000fff09bd65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff09bd87c clang::ento::CoreEngine::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 0x000000fff09bdc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #64 0x000000fff09bdc70 clang::ento::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 0x000000fff0ccb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #66 0x000000fff0ccb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #67 0x000000fff0ccb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #68 0x000000fff0ccb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #69 0x000000fff0ccb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #70 0x000000fff0ccc224 llvm::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 0x000000fff0ccc224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #72 0x000000fff0ccc224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #73 0x000000fff0cd0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #74 0x000000fff0cd0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #75 0x000000fff0cd0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #76 0x000000fff0cd0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #77 0x000000fff0cd0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #78 0x000000ffeef12978 __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 0x000000ffeef12978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #80 0x000000ffeef12978 void clang::finalize>, 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 0x000000ffeef12978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #82 0x000000fff078bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #83 0x000000fff0747354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #84 0x000000fff0747354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #85 0x000000fff0747354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #86 0x000000fff07db9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #87 0x000000aaae225c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #88 0x000000aaae229b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #89 0x000000aaae22b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #90 0x000000aaae222034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #91 0x000000ffe75048c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #92 0x000000ffe75049cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #93 0x000000aaae2220a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/runtime-regression.c.script: line 1: 3920855 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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 (1108 of 19712) ******************** TEST 'Clang :: Analysis/rvo.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8166bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8164c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe81673d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffa48648 (linux-vdso.so.1+0x648) #4 0x000000fff07f0f7c retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000fff07f0f7c retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff07f0f7c retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff07f0f7c IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff07f0f7c ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff07f0f7c MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff07f0f7c get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000fff07f0f7c 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 0x000000fff07fb5ac llvm::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 0x000000fff07fb5ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #14 0x000000fff07fb5ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x000000fff07fb5ac clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:429:50 #16 0x000000fff07fb5ac 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:45 #17 0x000000fff07fcd9c clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:7 #18 0x000000fff07fcd9c clang::ento::AnyCXXConstructorCall::getInitialStackFrameContents(clang::StackFrameContext const*, llvm::SmallVectorImpl>&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:915:31 #19 0x000000fff08afb90 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #20 0x000000fff08afb90 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #21 0x000000fff085be7c clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #22 0x000000fff085be7c clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #23 0x000000fff085c058 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #24 0x000000fff085c058 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #25 0x000000fff085c058 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #26 0x000000fff0868020 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff0868020 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff0868020 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #29 0x000000fff0868b88 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #30 0x000000fff0868b88 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #31 0x000000fff0868b88 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x000000fff0868b88 clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #33 0x000000fff0801670 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:706:0 #34 0x000000fff0866da0 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #35 0x000000fff0866da0 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #36 0x000000fff0866da0 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #37 0x000000fff0866da0 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #38 0x000000fff0866da0 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #39 0x000000fff0866da0 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #40 0x000000fff0866da0 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #41 0x000000fff0822cdc clang::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 0x000000fff0822cdc clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #43 0x000000fff0823e0c clang::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 0x000000fff082565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff082587c clang::ento::CoreEngine::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 0x000000fff0825c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #47 0x000000fff0825c70 clang::ento::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 0x000000fff0b3303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #49 0x000000fff0b3303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #50 0x000000fff0b3303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #51 0x000000fff0b3303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #52 0x000000fff0b3303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #53 0x000000fff0b34224 llvm::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 0x000000fff0b34224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #55 0x000000fff0b34224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #56 0x000000fff0b38604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x000000fff0b38604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x000000fff0b38604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #59 0x000000fff0b38604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #60 0x000000fff0b38604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #61 0x000000ffeed7a978 __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 0x000000ffeed7a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #63 0x000000ffeed7a978 void clang::finalize>, 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 0x000000ffeed7a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #65 0x000000fff05f3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #66 0x000000fff05af354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #67 0x000000fff05af354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #68 0x000000fff05af354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #69 0x000000fff06439a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #70 0x000000aaae8b1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #71 0x000000aaae8b5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #72 0x000000aaae8b7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #73 0x000000aaae8ae034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #74 0x000000ffe736c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #75 0x000000ffe736c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #76 0x000000aaae8ae0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/rvo.cpp.script: line 1: 3921228 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker core,cplusplus -std=c++14 -analyzer-checker debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rvo.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/self-assign.cpp (1111 of 19712) ******************** TEST 'Clang :: Analysis/self-assign.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8f2ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8f2cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8f2f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff484648 (linux-vdso.so.1+0x648) #4 0x000000fff15b8f7c retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000fff15b8f7c retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff15b8f7c retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff15b8f7c IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff15b8f7c ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff15b8f7c MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff15b8f7c get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000fff15b8f7c 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 0x000000fff15c35ac llvm::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 0x000000fff15c35ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #14 0x000000fff15c35ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x000000fff15c35ac clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:429:50 #16 0x000000fff15c35ac 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:45 #17 0x000000fff15c4d9c clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:7 #18 0x000000fff15c4d9c clang::ento::AnyCXXConstructorCall::getInitialStackFrameContents(clang::StackFrameContext const*, llvm::SmallVectorImpl>&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:915:31 #19 0x000000fff1677b90 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #20 0x000000fff1677b90 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #21 0x000000fff1623e7c clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #22 0x000000fff1623e7c clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #23 0x000000fff1624058 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #24 0x000000fff1624058 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #25 0x000000fff1624058 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #26 0x000000fff1630020 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff1630020 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff1630020 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #29 0x000000fff1630b88 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #30 0x000000fff1630b88 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #31 0x000000fff1630b88 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x000000fff1630b88 clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #33 0x000000fff15c9670 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:706:0 #34 0x000000fff162eda0 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #35 0x000000fff162eda0 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #36 0x000000fff162eda0 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #37 0x000000fff162eda0 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #38 0x000000fff162eda0 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #39 0x000000fff162eda0 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #40 0x000000fff162eda0 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #41 0x000000fff15eacdc clang::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 0x000000fff15eacdc clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #43 0x000000fff15ebe0c clang::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 0x000000fff15ed65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff15ed87c clang::ento::CoreEngine::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 0x000000fff15edc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #47 0x000000fff15edc70 clang::ento::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 0x000000fff18fb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #49 0x000000fff18fb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #50 0x000000fff18fb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #51 0x000000fff18fb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #52 0x000000fff18fb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #53 0x000000fff18fc224 llvm::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 0x000000fff18fc224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #55 0x000000fff18fc224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #56 0x000000fff1900604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x000000fff1900604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x000000fff1900604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #59 0x000000fff1900604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #60 0x000000fff1900604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #61 0x000000ffefb42978 __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 0x000000ffefb42978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #63 0x000000ffefb42978 void clang::finalize>, 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 0x000000ffefb42978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #65 0x000000fff13bbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #66 0x000000fff1377354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #67 0x000000fff1377354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #68 0x000000fff1377354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #69 0x000000fff140b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #70 0x000000aaad5f9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #71 0x000000aaad5fdb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #72 0x000000aaad5ff234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #73 0x000000aaad5f6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #74 0x000000ffe81348c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #75 0x000000ffe81349cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #76 0x000000aaad5f60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/self-assign.cpp.script: line 1: 3922089 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/shallow-mode.m (1112 of 19712) ******************** TEST 'Clang :: Analysis/shallow-mode.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea4d2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea4d0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea4d33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff470648 (linux-vdso.so.1+0x648) #4 0x000000fff2f85388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2f85388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2f85388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2f85388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2f85388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2f85388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2f85388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2f85388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff2bfc3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff2bfc3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff2bfc3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff2bfc3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff2bfc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff2bfc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff2bfc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff2bfc3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff2bffdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff2bffdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff2bffdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff2bffdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff2bf3430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff2bf3430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff2bf3430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff2c013b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff2c013b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff2c013b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff2bf3d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff2bf3d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff2bf3d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff2c0c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff2c0c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff2c0c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff2c131d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff2c131d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff2c131d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff2b6e138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff2b6e138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff2b6e138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff2b6e138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff2b6e688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff2b6e688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff2b6e688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff2b36b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff2b36b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff2b36b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff2b826c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff2b826c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff2b826c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000fff2b92010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff2b92010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff2b92010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff2e9f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff2e9f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff2e9f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff2e9f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff2e9f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff2ea0224 llvm::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 0x000000fff2ea0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff2ea0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff2ea4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff2ea4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff2ea4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff2ea4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff2ea4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000fff10e6978 __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 0x000000fff10e6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000fff10e6978 void clang::finalize>, 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 0x000000fff10e6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff295fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff291b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff291b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff291b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff29af9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaad279c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaad27db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaad27f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaad276034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe96d88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe96d89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaad2760a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/shallow-mode.m.script: line 1: 3922092 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-init.m (1113 of 19712) ******************** TEST 'Clang :: Analysis/self-init.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9016bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9014c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe90173d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff54c648 (linux-vdso.so.1+0x648) #4 0x000000fff1ac9388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1ac9388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1ac9388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1ac9388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1ac9388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1ac9388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1ac9388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1ac9388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff17403a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff17403a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff17403a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff17403a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff17403a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff17403a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff17403a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff17403a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1743dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1743dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1743dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1743dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1737430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1737430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1737430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff17453b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff17453b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff17453b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1737d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1737d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1737d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff17503b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff17503b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff17503b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff17571d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff17571d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff17571d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff16b2138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff16b2138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff16b2138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff16b2138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff16b2688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff16b2688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff16b2688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff167ab4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff167ab4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff167ab4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff16c66c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff16c66c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff16c66c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000fff16d6010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff16d6010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff16d6010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff19e303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff19e303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff19e303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff19e303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff19e303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff19e4224 llvm::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 0x000000fff19e4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff19e4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff19e8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff19e8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff19e8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff19e8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff19e8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffefc2a978 __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 0x000000ffefc2a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffefc2a978 void clang::finalize>, 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 0x000000ffefc2a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff14a3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff145f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff145f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff145f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff14f39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaaca11c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaaca15b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaaca17234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaaca0e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe821c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe821c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaaca0e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/self-init.m.script: line 2: 3922095 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-all.cpp (1114 of 19712) ******************** TEST 'Clang :: Analysis/silence-checkers-and-packages-core-all.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8476bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8474c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe84773d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd52c648 (linux-vdso.so.1+0x648) #4 0x000000fff0f29388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0f29388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0f29388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0f29388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0f29388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0f29388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0f29388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0f29388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff0ba03a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff0ba03a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff0ba03a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff0ba03a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff0ba03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff0ba03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff0ba03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff0ba03a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0ba3dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0ba3dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0ba3dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0ba3dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0b97430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0b97430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0b97430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff0ba53b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0ba53b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0ba53b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0b97d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0b97d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0b97d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff0bb03b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff0bb03b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff0bb03b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff0bb71d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff0bb71d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff0bb71d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0b12138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0b12138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0b12138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0b12138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1068114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff1068114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff1068114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff0b23190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff0b23190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff0b23190 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:0 #49 0x000000fff0b23190 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:0 #50 0x000000fff0b23190 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:0 #51 0x000000fff0b23190 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:0 #52 0x000000fff0b23190 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:0 #53 0x000000fff0b23190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff0b23190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff0b23190 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:0 #56 0x000000fff0b237ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff0b35c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff0b35c70 clang::ento::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 0x000000fff0e4303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff0e4303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff0e4303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff0e4303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff0e4303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff0e44224 llvm::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 0x000000fff0e44224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff0e44224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff0e48604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff0e48604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff0e48604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff0e48604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff0e48604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffef08a978 __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 0x000000ffef08a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffef08a978 void clang::finalize>, 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 0x000000ffef08a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff0903b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff08bf354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff08bf354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff08bf354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff09539a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaade39c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaade3db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaade3f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaade36034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe767c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe767c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaade360a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/silence-checkers-and-packages-core-all.cpp.script: line 4: 3922281 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/scan-build/silence-core-checkers.test (1115 of 19712) ******************** TEST 'Clang :: Analysis/scan-build/silence-core-checkers.test' FAILED ******************** Script: -- : 'RUN: at line 4'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir && mkdir /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang-17 -o /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir && mkdir /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang-17 -o /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir && mkdir /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang-17 -o /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir && mkdir /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang-17 -o /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir" $ "mkdir" "/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang-17" "-o" "/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir" "/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang-17 -cc1 -triple loongarch64-opencloudos-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name null_dereference_and_division_by_zero.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -target-cpu loongarch64 -target-feature +64bit -target-feature +f -target-feature +d -target-feature +ual -target-abi lp64d -debugger-tuning=gdb -fcoverage-compilation-dir=/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build -resource-dir /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/lib/gcc/loongarch64-OpenCloudOS-linux/12/../../../../loongarch64-OpenCloudOS-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir=/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build -ferror-limit 19 -fgnuc-version=4.2.1 -analyzer-output=html -faddrsig -o /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir/2024-08-16-201509-3921851-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 0x000000ffe67aabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe67a8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe67ab3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd0d4648 (linux-vdso.so.1+0x648) #4 0x000000ffef25d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef25d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef25d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef25d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef25d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef25d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef25d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef25d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffeeed43a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffeeed43a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffeeed43a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffeeed43a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffeeed43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffeeed43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffeeed43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffeeed43a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffeeed7dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffeeed7dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffeeed7dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffeeed7dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffeeed665c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffeeed665c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffeeed665c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000ffeeed9444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffeeed9444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffeeed9444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000ffeeecbd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffeeecbd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffeeecbd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffeeee43b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffeeee43b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffeeee43b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffeeeeb1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffeeeeb1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffeeeeb1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffeee46138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffeee46138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffeee46138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffeee46138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffef39c114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000ffef39c114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000ffef39c114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000ffeee57190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000ffeee57190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000ffeee57190 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:0 #49 0x000000ffeee57190 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:0 #50 0x000000ffeee57190 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:0 #51 0x000000ffeee57190 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:0 #52 0x000000ffeee57190 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:0 #53 0x000000ffeee57190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000ffeee57190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000ffeee57190 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:0 #56 0x000000ffeee577ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000ffeee69c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000ffeee69c70 clang::ento::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 0x000000ffef17703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000ffef17703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000ffef17703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000ffef17703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000ffef17703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000ffef178224 llvm::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 0x000000ffef178224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000ffef178224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000ffef17c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000ffef17c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000ffef17c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000ffef17c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000ffef17c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffed3be978 __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 0x000000ffed3be978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffed3be978 void clang::finalize>, 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 0x000000ffed3be978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000ffeec37b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000ffeebf3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000ffeebf3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000ffeebf3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000ffeec879a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaabea9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaabeadb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaabeaf234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaabea6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe59b08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe59b09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaabea60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang-17+0xe0a0) $ "/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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir/2024-08-16-201509-3921851-1/failures'. check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: scan-build: Please consider submitting a bug report using these files: check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: scan-build: http://clang-analyzer.llvm.org/filing_bugs.html check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>>>>> error: command failed with exit status: 1 -- ******************** Testing: 0 FAIL: Clang :: Analysis/silence-checkers.cpp (1116 of 19712) ******************** TEST 'Clang :: Analysis/silence-checkers.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9aeebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9aecc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9aef3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd54c648 (linux-vdso.so.1+0x648) #4 0x000000fff25857f4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff25857f4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff25857f4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff25857f4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff25857f4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff25857f4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff25857f4 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff25857f4 (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 0x000000fff234dfc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x000000fff234dfc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x000000fff234dfc8 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 0x000000fff217fa28 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x000000fff217fa28 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x000000fff217fa28 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:29 #18 0x000000fff217fa28 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x000000fff222843c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x000000fff222843c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x000000fff222843c clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x000000fff222843c clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x000000fff222f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x000000fff222f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x000000fff222f1d4 clang::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 0x000000fff218a230 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff218a230 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff218a230 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x000000fff218a230 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:0 #30 0x000000fff26e0114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff26e0114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff26e0114 clang::ento::ProgramState::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 0x000000fff2370554 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x000000fff2370554 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x000000fff2370554 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x000000fff2370554 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x000000fff2370554 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x000000fff2370554 (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 0x000000fff2370a4c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #40 0x000000fff2370a4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #41 0x000000fff2370a4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #42 0x000000fff2370a4c (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 #43 0x000000fff237d610 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #44 0x000000fff237d610 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 #45 0x000000fff2180df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #46 0x000000fff2180df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x000000fff2180df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #48 0x000000fff2180df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #49 0x000000fff2180df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #50 0x000000fff21d2500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #51 0x000000fff21d2500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #52 0x000000fff21d2500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #53 0x000000fff21d2500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #54 0x000000fff21d2e4c clang::ento::ExprEngine::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 0x000000fff21aad1c clang::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 0x000000fff21aad1c clang::ento::ExprEngine::Visit(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 0x000000fff21abe0c clang::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 0x000000fff21ad65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff21ad87c clang::ento::CoreEngine::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 0x000000fff21adc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #61 0x000000fff21adc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #62 0x000000fff24bb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #63 0x000000fff24bb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #64 0x000000fff24bb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #65 0x000000fff24bb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #66 0x000000fff24bb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #67 0x000000fff24bc224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #68 0x000000fff24bc224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #69 0x000000fff24bc224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #70 0x000000fff24c0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x000000fff24c0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x000000fff24c0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #73 0x000000fff24c0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #74 0x000000fff24c0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #75 0x000000fff0702978 __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 0x000000fff0702978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #77 0x000000fff0702978 void clang::finalize>, 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 0x000000fff0702978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #79 0x000000fff1f7bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #80 0x000000fff1f37354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #81 0x000000fff1f37354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #82 0x000000fff1f37354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #83 0x000000fff1fcb9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #84 0x000000aaab50dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #85 0x000000aaab511b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #86 0x000000aaab513234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #87 0x000000aaab50a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #88 0x000000ffe8cf48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #89 0x000000ffe8cf49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #90 0x000000aaab50a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/silence-checkers.cpp.script: line 3: 3922492 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/silence-checkers-and-packages-core-div-by-zero.cpp (1117 of 19712) ******************** TEST 'Clang :: Analysis/silence-checkers-and-packages-core-div-by-zero.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9de2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9de0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9de33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc9ac648 (linux-vdso.so.1+0x648) #4 0x000000fff2895388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2895388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2895388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2895388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2895388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2895388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2895388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2895388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff250c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff250c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff250c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff250c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff250c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff250c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff250c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff250c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff250fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff250fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff250fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff250fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff2503430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff2503430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff2503430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff25113b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff25113b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff25113b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff2503d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff2503d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff2503d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff251c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff251c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff251c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff25231d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff25231d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff25231d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff247e138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff247e138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff247e138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff247e138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff29d4114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff29d4114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff29d4114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff248f190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff248f190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff248f190 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:0 #49 0x000000fff248f190 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:0 #50 0x000000fff248f190 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:0 #51 0x000000fff248f190 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:0 #52 0x000000fff248f190 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:0 #53 0x000000fff248f190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff248f190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff248f190 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:0 #56 0x000000fff248f7ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff24a1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff24a1c70 clang::ento::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 0x000000fff27af03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff27af03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff27af03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff27af03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff27af03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff27b0224 llvm::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 0x000000fff27b0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff27b0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff27b4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff27b4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff27b4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff27b4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff27b4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000fff09f6978 __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 0x000000fff09f6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000fff09f6978 void clang::finalize>, 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 0x000000fff09f6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff226fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff222b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff222b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff222b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff22bf9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaad781c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaad785b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaad787234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaad77e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe8fe88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe8fe89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaad77e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/silence-checkers-and-packages-core-div-by-zero.cpp.script: line 1: 3922442 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/simple-stream-checks.c (1118 of 19712) ******************** TEST 'Clang :: Analysis/simple-stream-checks.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8006bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8004c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe80073d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc0e4648 (linux-vdso.so.1+0x648) #4 0x000000fff091c218 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff091c218 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff091c218 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff091c218 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff091c218 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff091c218 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff091c218 get<(anonymous namespace)::StreamMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff091c218 (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 0x000000fff068a8e8 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x000000fff06bc1b4 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x000000fff06bc1b4 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x000000fff06bc1b4 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #16 0x000000fff06bc1b4 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #17 0x000000fff06bc1b4 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #18 0x000000fff06bc1b4 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #19 0x000000fff06bc1b4 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #20 0x000000fff06c3d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x000000fff06c3d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x000000fff06c3d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x000000fff06c3d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x000000fff06c3d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x000000fff06c3d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x000000fff06c3d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x000000fff06c3d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x000000fff06c3d94 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 0x000000fff06c565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff06c587c clang::ento::CoreEngine::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 0x000000fff06c5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #32 0x000000fff06c5c70 clang::ento::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 0x000000fff09d303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x000000fff09d303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x000000fff09d303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #36 0x000000fff09d303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #37 0x000000fff09d303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #38 0x000000fff09d4224 llvm::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 0x000000fff09d4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #40 0x000000fff09d4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #41 0x000000fff09d8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x000000fff09d8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x000000fff09d8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #44 0x000000fff09d8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #45 0x000000fff09d8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #46 0x000000ffeec1a978 __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 0x000000ffeec1a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #48 0x000000ffeec1a978 void clang::finalize>, 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 0x000000ffeec1a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #50 0x000000fff0493b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #51 0x000000fff044f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #52 0x000000fff044f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #53 0x000000fff044f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #54 0x000000fff04e39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #55 0x000000aaae109c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #56 0x000000aaae10db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #57 0x000000aaae10f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #58 0x000000aaae106034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #59 0x000000ffe720c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #60 0x000000ffe720c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #61 0x000000aaae1060a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/simple-stream-checks.c.script: line 1: 3922500 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.SimpleStream -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/simple-stream-checks.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/smart-ptr-text-output.cpp (1119 of 19712) ******************** TEST 'Clang :: Analysis/smart-ptr-text-output.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe82c6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe82c4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe82c73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffca30648 (linux-vdso.so.1+0x648) #4 0x000000fff0e79448 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0e79448 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0e79448 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0e79448 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0e79448 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0e79448 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 0x000000fff0e79448 get<(anonymous namespace)::TrackedRegionMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0e79448 (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 0x000000fff0bc474c 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:307:3 #13 0x000000fff09575a0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #14 0x000000fff09575a0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x000000fff09575a0 clang::ento::CheckerFn, clang::ento::SymbolReaper&)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:12 #16 0x000000fff09575a0 clang::ento::CheckerManager::runCheckersForLiveSymbols(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:547:23 #17 0x000000fff097c0b0 llvm::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 0x000000fff097c0b0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #19 0x000000fff097c0b0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x000000fff097c0b0 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #21 0x000000fff0983d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #22 0x000000fff0983d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #23 0x000000fff0983d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #24 0x000000fff0983d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #25 0x000000fff0983d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #26 0x000000fff0983d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #27 0x000000fff0983d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #28 0x000000fff0983d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #29 0x000000fff0983d94 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 #30 0x000000fff098565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff098587c clang::ento::CoreEngine::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 0x000000fff0985c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #33 0x000000fff0985c70 clang::ento::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 0x000000fff0c9303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #35 0x000000fff0c9303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #36 0x000000fff0c9303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #37 0x000000fff0c9303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #38 0x000000fff0c9303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #39 0x000000fff0c94224 llvm::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 0x000000fff0c94224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x000000fff0c94224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #42 0x000000fff0c98604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x000000fff0c98604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x000000fff0c98604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x000000fff0c98604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x000000fff0c98604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x000000ffeeeda978 __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 0x000000ffeeeda978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #49 0x000000ffeeeda978 void clang::finalize>, 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 0x000000ffeeeda978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #51 0x000000fff0753b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #52 0x000000fff070f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #53 0x000000fff070f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #54 0x000000fff070f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #55 0x000000fff07a39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #56 0x000000aaab099c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #57 0x000000aaab09db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #58 0x000000aaab09f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #59 0x000000aaab096034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #60 0x000000ffe74cc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #61 0x000000ffe74cc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #62 0x000000aaab0960a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/smart-ptr-text-output.cpp.script: line 2: 3922718 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (1120 of 19712) ******************** TEST 'Clang :: Analysis/solver-sym-simplification-concreteint.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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 0x000000ffea1c6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea1c4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea1c73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff268648 (linux-vdso.so.1+0x648) #4 0x000000fff2c79388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2c79388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2c79388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2c79388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2c79388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2c79388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2c79388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2c79388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff28f0800 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff28f0800 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff28f0800 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x000000fff28f0800 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x000000fff28f0800 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff28f0800 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff28f0800 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff28f0800 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff28f3dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff28f3dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff28f3dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff28f3dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff28e7430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff28e7430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff28e7430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff28f53b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff28f53b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff28f53b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff28e7d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff28e7d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff28e7d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff29003b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff29003b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff29003b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff29071d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff29071d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff29071d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff2862138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff2862138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff2862138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff2862138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff2db8114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff2db8114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff2db8114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff2873190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff2873190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff2873190 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:0 #49 0x000000fff2873190 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:0 #50 0x000000fff2873190 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:0 #51 0x000000fff2873190 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:0 #52 0x000000fff2873190 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:0 #53 0x000000fff2873190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff2873190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff2873190 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:0 #56 0x000000fff28737ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff2885c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff2885c70 clang::ento::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 0x000000fff2b9303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff2b9303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff2b9303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff2b9303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff2b9303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff2b94224 llvm::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 0x000000fff2b94224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff2b94224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff2b98604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff2b98604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff2b98604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff2b98604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff2b98604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000fff0dda978 __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 0x000000fff0dda978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000fff0dda978 void clang::finalize>, 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 0x000000fff0dda978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff2653b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff260f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff260f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff260f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff26a39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaadfe5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaadfe9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaadfeb234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaadfe2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe93cc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe93cc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaadfe20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/solver-sym-simplification-concreteint.c.script: line 1: 3923029 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-concreteint.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/solver-sym-simplification-adjustment.c (1121 of 19712) ******************** TEST 'Clang :: Analysis/solver-sym-simplification-adjustment.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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 0x000000ffea69ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea69cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea69f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff3ec648 (linux-vdso.so.1+0x648) #4 0x000000fff2d7a984 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff2d7a984 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff2d7a984 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff2d7a984 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff2d7a984 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff2d7a984 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff2d7a984 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff2d7a984 (anonymous namespace)::EquivalenceClass::mergeImpl(clang::ento::RangeSet::Factory&, llvm::IntrusiveRefCntPtr, llvm::ImmutableSet>, (anonymous namespace)::EquivalenceClass, llvm::ImmutableSet>) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2361:63 #12 0x000000fff2da980c llvm::IntrusiveRefCntPtrInfo>>::release(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:351:0 #13 0x000000fff2da980c llvm::IntrusiveRefCntPtr>>::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x000000fff2da980c llvm::IntrusiveRefCntPtr>>::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x000000fff2da980c llvm::ImmutableSet>::~ImmutableSet() /usr/include/llvm/ADT/ImmutableSet.h:957:0 #16 0x000000fff2da980c (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 0x000000fff2dc899c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #18 0x000000fff2dc899c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #19 0x000000fff2dc899c merge /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2309:48 #20 0x000000fff2dc899c trackEquality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2160:65 #21 0x000000fff2dc899c assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2238:28 #22 0x000000fff2dc899c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #23 0x000000fff2dc899c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #24 0x000000fff2dc899c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #25 0x000000fff2dc899c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #26 0x000000fff2dc899c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #27 0x000000fff2dc899c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #28 0x000000fff2dcbaec llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #29 0x000000fff2dcbaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #30 0x000000fff2dcbaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x000000fff2dcbaec (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:31 #32 0x000000fff2dca65c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x000000fff2dca65c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x000000fff2dca65c 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 0x000000fff2dbfd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x000000fff2dbfd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x000000fff2dbfd18 clang::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 0x000000fff2dd83b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #39 0x000000fff2dd83b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #40 0x000000fff2dd83b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #41 0x000000fff2ddf1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #42 0x000000fff2ddf1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #43 0x000000fff2ddf1d4 clang::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 0x000000fff2d3a0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x000000fff2d3a0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x000000fff2d3a0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #47 0x000000fff2d3a0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #48 0x000000fff3290114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #49 0x000000fff3290114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #50 0x000000fff3290114 clang::ento::ProgramState::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 0x000000fff2d4b190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #52 0x000000fff2d4b190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #53 0x000000fff2d4b190 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:0 #54 0x000000fff2d4b190 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:0 #55 0x000000fff2d4b190 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:0 #56 0x000000fff2d4b190 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:0 #57 0x000000fff2d4b190 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:0 #58 0x000000fff2d4b190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #59 0x000000fff2d4b190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #60 0x000000fff2d4b190 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:0 #61 0x000000fff2d4b7ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #62 0x000000fff2d5dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #63 0x000000fff2d5dc70 clang::ento::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 0x000000fff306b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #65 0x000000fff306b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #66 0x000000fff306b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #67 0x000000fff306b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #68 0x000000fff306b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #69 0x000000fff306c224 llvm::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 0x000000fff306c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x000000fff306c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #72 0x000000fff3070604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x000000fff3070604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x000000fff3070604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x000000fff3070604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x000000fff3070604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x000000fff12b2978 __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 0x000000fff12b2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x000000fff12b2978 void clang::finalize>, 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 0x000000fff12b2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x000000fff2b2bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #82 0x000000fff2ae7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #83 0x000000fff2ae7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #84 0x000000fff2ae7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #85 0x000000fff2b7b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #86 0x000000aaae7f1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x000000aaae7f5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x000000aaae7f7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x000000aaae7ee034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x000000ffe98a48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #91 0x000000ffe98a49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #92 0x000000aaae7ee0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/solver-sym-simplification-adjustment.c.script: line 1: 3922983 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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 (1122 of 19712) ******************** TEST 'Clang :: Analysis/solver-sym-simplification-no-crash2.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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 0x000000ffe9cdabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9cd8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9cdb3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff84c648 (linux-vdso.so.1+0x648) #4 0x000000fff278d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff278d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff278d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff278d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff278d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff278d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff278d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff278d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff24043a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff24043a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff24043a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff24043a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff24043a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff24043a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff24043a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff24043a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff2407dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff2407dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff2407dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff2407dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff240665c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff240665c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff240665c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000fff2409444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff2409444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff2409444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000fff23fbd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff23fbd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff23fbd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff24143b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff24143b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff24143b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff241b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff241b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff241b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff2376138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff2376138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff2376138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff2376138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff24bff24 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #44 0x000000fff24bff24 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #45 0x000000fff24bff24 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #46 0x000000fff24bff24 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #47 0x000000fff24bff24 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #48 0x000000fff24bff24 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp:99:0 #49 0x000000fff24bff24 void clang::ento::check::PreStmt::_checkStmt<(anonymous namespace)::DivZeroChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:85:0 #50 0x000000fff235dea8 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #51 0x000000fff235dea8 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:26 #52 0x000000fff23d1eec llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #53 0x000000fff23d1eec llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #54 0x000000fff23d1eec llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #55 0x000000fff23d1eec llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #56 0x000000fff23d1eec llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #57 0x000000fff23d1eec clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #58 0x000000fff23d1eec 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 #59 0x000000fff2397ab8 clang::ento::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 #60 0x000000fff2397e0c clang::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 0x000000fff239965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff239987c clang::ento::CoreEngine::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 0x000000fff2399c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #64 0x000000fff2399c70 clang::ento::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 0x000000fff26a703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #66 0x000000fff26a703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #67 0x000000fff26a703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #68 0x000000fff26a703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #69 0x000000fff26a703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #70 0x000000fff26a8224 llvm::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 0x000000fff26a8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #72 0x000000fff26a8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #73 0x000000fff26ac604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #74 0x000000fff26ac604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #75 0x000000fff26ac604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #76 0x000000fff26ac604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #77 0x000000fff26ac604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #78 0x000000fff08ee978 __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 0x000000fff08ee978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #80 0x000000fff08ee978 void clang::finalize>, 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 0x000000fff08ee978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #82 0x000000fff2167b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #83 0x000000fff2123354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #84 0x000000fff2123354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #85 0x000000fff2123354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #86 0x000000fff21b79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #87 0x000000aaac085c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #88 0x000000aaac089b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #89 0x000000aaac08b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #90 0x000000aaac082034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #91 0x000000ffe8ee08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #92 0x000000ffe8ee09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #93 0x000000aaac0820a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/solver-sym-simplification-no-crash2.c.script: line 1: 3923219 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-no-crash2.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/smart-ptr.cpp (1123 of 19712) ******************** TEST 'Clang :: Analysis/smart-ptr.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7c8abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7c88c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7c8b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd898648 (linux-vdso.so.1+0x648) #4 0x000000fff073d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff073d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff073d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff073d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff073d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff073d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff073d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff073d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff03b43a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff03b43a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff03b43a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff03b43a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff03b43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff03b43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff03b43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff03b43a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff03b7dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff03b7dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff03b7dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff03b7dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff03ab430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff03ab430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff03ab430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff03b93b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff03b93b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff03b93b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff03abd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff03abd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff03abd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff03c43b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff03c43b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff03c43b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff03cb1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff03cb1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff03cb1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0326138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0326138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0326138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0326138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff087c114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff087c114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff087c114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff040ec40 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x000000fff040ec40 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #48 0x000000fff040ec40 checkFunctionPointerCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:390:0 #49 0x000000fff040ec40 checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:546:0 #50 0x000000fff040ec40 void clang::ento::check::PreCall::_checkCall<(anonymous namespace)::CallAndMessageChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:168:0 #51 0x000000fff031cdf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #52 0x000000fff031cdf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x000000fff031cdf0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #54 0x000000fff031cdf0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #55 0x000000fff031cdf0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #56 0x000000fff036e3d8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #57 0x000000fff036e3d8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #58 0x000000fff036e3d8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #59 0x000000fff036e3d8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #60 0x000000fff036e3d8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #61 0x000000fff036e3d8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #62 0x000000fff036e3d8 clang::ento::ExprEngine::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 #63 0x000000fff036ee4c clang::ento::ExprEngine::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 #64 0x000000fff0346d1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #65 0x000000fff0346d1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #66 0x000000fff0347e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #67 0x000000fff034965c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #68 0x000000fff034987c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #69 0x000000fff0349c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #70 0x000000fff0349c70 clang::ento::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 0x000000fff065703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #72 0x000000fff065703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #73 0x000000fff065703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #74 0x000000fff065703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #75 0x000000fff065703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #76 0x000000fff0658224 llvm::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 0x000000fff0658224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #78 0x000000fff0658224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #79 0x000000fff065c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #80 0x000000fff065c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #81 0x000000fff065c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #82 0x000000fff065c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #83 0x000000fff065c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #84 0x000000ffee89e978 __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 0x000000ffee89e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #86 0x000000ffee89e978 void clang::finalize>, 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 0x000000ffee89e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #88 0x000000fff0117b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #89 0x000000fff00d3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #90 0x000000fff00d3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #91 0x000000fff00d3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #92 0x000000fff01679a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #93 0x000000aaab375c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #94 0x000000aaab379b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #95 0x000000aaab37b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #96 0x000000aaab372034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #97 0x000000ffe6e908c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #98 0x000000ffe6e909cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #99 0x000000aaab3720a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/smart-ptr.cpp.script: line 2: 3922936 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-checker cplusplus.Move,alpha.cplusplus.SmartPtr -analyzer-config cplusplus.SmartPtrModeling:ModelSmartPtrDereference=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/smart-ptr.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/solver-sym-simplification-no-crash.c (1124 of 19712) ******************** TEST 'Clang :: Analysis/solver-sym-simplification-no-crash.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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 0x000000ffe9d0ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9d0cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9d0f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc344648 (linux-vdso.so.1+0x648) #4 0x000000fff23e5510 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000fff23e5510 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff23e5510 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff23e5510 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff23e5510 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff23e5510 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff23e5510 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000fff23e5510 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x000000fff23e5510 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x000000fff23e5608 (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 0x000000fff24526e4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #15 0x000000fff24526e4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #16 0x000000fff24526e4 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #17 0x000000fff24526e4 (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 #18 0x000000fff2452170 VisitSymSymExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1324:0 #19 0x000000fff2452170 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 #20 0x000000fff28bf6f4 llvm::DenseMap, llvm::detail::DenseMapPair>::~DenseMap() /usr/include/llvm/ADT/DenseMap.h:782:0 #21 0x000000fff28bf6f4 ~Simplifier /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1211:0 #22 0x000000fff28bf6f4 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1371:0 #23 0x000000fff2430030 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #24 0x000000fff2430030 (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 #25 0x000000fff24504d8 (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 #26 0x000000fff2448e94 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff2448e94 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff2448e94 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 #29 0x000000fff2406678 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:0 #30 0x000000fff2406678 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 #31 0x000000fff23cbab8 clang::ento::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 #32 0x000000fff23cbe0c clang::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 0x000000fff23cd65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff23cd87c clang::ento::CoreEngine::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 0x000000fff23cdc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #36 0x000000fff23cdc70 clang::ento::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 0x000000fff26db03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #38 0x000000fff26db03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #39 0x000000fff26db03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #40 0x000000fff26db03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #41 0x000000fff26db03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #42 0x000000fff26dc224 llvm::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 0x000000fff26dc224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #44 0x000000fff26dc224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #45 0x000000fff26e0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x000000fff26e0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x000000fff26e0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #48 0x000000fff26e0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #49 0x000000fff26e0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #50 0x000000fff0922978 __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 0x000000fff0922978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #52 0x000000fff0922978 void clang::finalize>, 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 0x000000fff0922978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #54 0x000000fff219bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #55 0x000000fff2157354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #56 0x000000fff2157354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #57 0x000000fff2157354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #58 0x000000fff21eb9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #59 0x000000aaab581c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #60 0x000000aaab585b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #61 0x000000aaab587234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #62 0x000000aaab57e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #63 0x000000ffe8f148c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #64 0x000000ffe8f149cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #65 0x000000aaab57e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/solver-sym-simplification-no-crash.c.script: line 1: 3923176 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-no-crash.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/solver-sym-simplification-ptr-bool.cl (1125 of 19712) ******************** TEST 'Clang :: Analysis/solver-sym-simplification-ptr-bool.cl' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe859abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8598c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe859b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd8a0648 (linux-vdso.so.1+0x648) #4 0x000000fff104d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff104d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff104d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff104d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff104d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff104d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff104d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff104d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff0cc43a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff0cc43a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff0cc43a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff0cc43a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff0cc43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff0cc43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff0cc43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff0cc43a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0cc7dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0cc7dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0cc7dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0cc7dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0cbb430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0cbb430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0cbb430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff0cc93b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0cc93b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0cc93b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0cbbd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0cbbd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0cbbd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff0cd43b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff0cd43b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff0cd43b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff0cdb1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff0cdb1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff0cdb1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0c36138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0c36138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0c36138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0c36138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff118c114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff118c114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff118c114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff0c47190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff0c47190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff0c47190 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:0 #49 0x000000fff0c47190 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:0 #50 0x000000fff0c47190 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:0 #51 0x000000fff0c47190 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:0 #52 0x000000fff0c47190 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:0 #53 0x000000fff0c47190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff0c47190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff0c47190 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:0 #56 0x000000fff0c477ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff0c59c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff0c59c70 clang::ento::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 0x000000fff0f6703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff0f6703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff0f6703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff0f6703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff0f6703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff0f68224 llvm::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 0x000000fff0f68224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff0f68224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff0f6c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff0f6c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff0f6c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff0f6c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff0f6c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffef1ae978 __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 0x000000ffef1ae978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffef1ae978 void clang::finalize>, 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 0x000000ffef1ae978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff0a27b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff09e3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff09e3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff09e3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff0a779a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaab0f1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaab0f5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaab0f7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaab0ee034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe77a08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe77a09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaab0ee0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/solver-sym-simplification-ptr-bool.cl.script: line 1: 3923439 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple amdgcn-unknown-unknown -analyze -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-ptr-bool.cl -- ******************** Testing: 0 FAIL: Clang :: Analysis/solver-sym-simplification-with-proper-range-type.c (1126 of 19712) ******************** TEST 'Clang :: Analysis/solver-sym-simplification-with-proper-range-type.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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 0x000000ffe7162bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7160c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe71633d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc130648 (linux-vdso.so.1+0x648) #4 0x000000ffefc15388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffefc15388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffefc15388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffefc15388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffefc15388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffefc15388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffefc15388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffefc15388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef88c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef88c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef88c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef88c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef88c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef88c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef88c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef88c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef88fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef88fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef88fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef88fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef883430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef883430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef883430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef8913b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef8913b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef8913b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef883d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef883d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef883d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef89c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef89c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef89c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef8a31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef8a31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef8a31d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef7fe0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef7fe0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef7fe0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef7fe0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000ffef813e4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffef813e4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffef813e4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000ffef813e4c 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:0 #47 0x000000ffef81fb90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000ffef81fb90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000ffef81fb90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000ffef81fb90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000ffef81fb90 clang::ento::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 #52 0x000000ffef81fe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000ffef82165c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000ffef82187c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000ffef821c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000ffef821c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000ffefb2f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000ffefb2f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000ffefb2f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000ffefb2f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000ffefb2f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000ffefb30224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000ffefb30224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000ffefb30224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000ffefb34604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000ffefb34604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000ffefb34604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000ffefb34604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000ffefb34604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000ffedd76978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000ffedd76978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000ffedd76978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000ffedd76978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000ffef5efb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000ffef5ab354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000ffef5ab354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000ffef5ab354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000ffef63f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaac6c5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaac6c9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaac6cb234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaac6c2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe63688c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe63689cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaac6c20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/solver-sym-simplification-with-proper-range-type.c.script: line 1: 3923697 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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-capture-leak-arc.mm (1127 of 19712) ******************** TEST 'Clang :: Analysis/stack-capture-leak-arc.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6ef2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6ef0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6ef33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd8c8648 (linux-vdso.so.1+0x648) #4 0x000000ffef6409e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef6409e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef6409e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef6409e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000ffef6409e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000ffef6409e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000ffef5a8278 llvm::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 0x000000ffef5a8278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000ffef5a8278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000ffef5a8278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000ffef5d5e10 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #15 0x000000ffef5d5e10 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 #16 0x000000ffef5abb44 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #17 0x000000ffef5abb44 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #18 0x000000ffef5abb44 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #19 0x000000ffef5abb44 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2951:0 #20 0x000000ffef5ac08c 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 0x000000ffef5b1a18 clang::ento::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 0x000000ffef5b1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #23 0x000000ffef5b1c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #24 0x000000ffef8bf03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #25 0x000000ffef8bf03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #26 0x000000ffef8bf03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #27 0x000000ffef8bf03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #28 0x000000ffef8bf03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #29 0x000000ffef8c0224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #30 0x000000ffef8c0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #31 0x000000ffef8c0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #32 0x000000ffef8c4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #33 0x000000ffef8c4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #34 0x000000ffef8c4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #35 0x000000ffef8c4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #36 0x000000ffef8c4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #37 0x000000ffedb06978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #38 0x000000ffedb06978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #39 0x000000ffedb06978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #40 0x000000ffedb06978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #41 0x000000ffef37fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #42 0x000000ffef33b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #43 0x000000ffef33b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #44 0x000000ffef33b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #45 0x000000ffef3cf9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #46 0x000000aaaba89c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #47 0x000000aaaba8db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #48 0x000000aaaba8f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #49 0x000000aaaba86034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #50 0x000000ffe60f88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #51 0x000000ffe60f89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #52 0x000000aaaba860a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stack-capture-leak-arc.mm.script: line 1: 3924123 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,alpha.core.StackAddressAsyncEscape -fblocks -fobjc-arc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-capture-leak-arc.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/stack-addr-ps.cpp (1128 of 19712) ******************** TEST 'Clang :: Analysis/stack-addr-ps.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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 0x000000ffe6cf6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6cf4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6cf73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffa6c648 (linux-vdso.so.1+0x648) #4 0x000000ffef3af664 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000ffef3af664 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffef3af664 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffef3af664 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffef3af664 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffef3af664 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000ffef3af664 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000ffef3af664 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 0x000000ffef3b008c 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 0x000000ffef3b5a18 clang::ento::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 0x000000ffef3b5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x000000ffef3b5c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x000000ffef6c303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x000000ffef6c303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x000000ffef6c303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x000000ffef6c303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x000000ffef6c303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x000000ffef6c4224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x000000ffef6c4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x000000ffef6c4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x000000ffef6c8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x000000ffef6c8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x000000ffef6c8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x000000ffef6c8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x000000ffef6c8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x000000ffed90a978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x000000ffed90a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x000000ffed90a978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x000000ffed90a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x000000ffef183b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x000000ffef13f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x000000ffef13f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x000000ffef13f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x000000ffef1d39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000000aaab4f5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000000aaab4f9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000000aaab4fb234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000000aaab4f2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x000000ffe5efc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #43 0x000000ffe5efc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #44 0x000000aaab4f20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stack-addr-ps.cpp.script: line 1: 3924070 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-addr-ps.cpp -Wno-undefined-bool-conversion -- ******************** Testing: 0 FAIL: Clang :: Analysis/stack-addr-ps.c (1129 of 19712) ******************** TEST 'Clang :: Analysis/stack-addr-ps.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-addr-ps.c 1. parser at end of file 2. While analyzing stack: #0 Calling anonymous code 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-addr-ps.c:67:50: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-addr-ps.c:67:50: Error evaluating statement #0 0x000000ffe760abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7608c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe760b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffed34648 (linux-vdso.so.1+0x648) #4 0x000000fff00bd388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff00bd388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff00bd388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff00bd388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff00bd388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff00bd388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff00bd388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff00bd388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffefd34800 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffefd34800 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffefd34800 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x000000ffefd34800 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x000000ffefd34800 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffefd34800 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffefd34800 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffefd34800 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffefd37dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffefd37dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffefd37dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffefd37dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffefd3665c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffefd3665c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffefd3665c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000ffefd2bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffefd2bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffefd2bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #30 0x000000ffefd443b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #31 0x000000ffefd443b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #32 0x000000ffefd443b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #33 0x000000ffefd4b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x000000ffefd4b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x000000ffefd4b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #36 0x000000ffefca6138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffefca6138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffefca6138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #39 0x000000ffefca6138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #40 0x000000ffefcbbe4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #41 0x000000ffefcbbe4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #42 0x000000ffefcbbe4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #43 0x000000ffefcbbe4c 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:0 #44 0x000000ffefcc7b90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #45 0x000000ffefcc7b90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #46 0x000000ffefcc7b90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #47 0x000000ffefcc7b90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #48 0x000000ffefcc7b90 clang::ento::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 #49 0x000000ffefcc7e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #50 0x000000ffefcc965c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #51 0x000000ffefcc987c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #52 0x000000ffefcc9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #53 0x000000ffefcc9c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #54 0x000000ffeffd703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #55 0x000000ffeffd703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x000000ffeffd703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #57 0x000000ffeffd703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #58 0x000000ffeffd703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #59 0x000000ffeffd8224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #60 0x000000ffeffd8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #61 0x000000ffeffd8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #62 0x000000ffeffdc604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x000000ffeffdc604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x000000ffeffdc604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #65 0x000000ffeffdc604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #66 0x000000ffeffdc604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #67 0x000000ffee21e978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #68 0x000000ffee21e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #69 0x000000ffee21e978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #70 0x000000ffee21e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #71 0x000000ffefa97b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #72 0x000000ffefa53354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #73 0x000000ffefa53354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #74 0x000000ffefa53354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #75 0x000000ffefae79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #76 0x000000aaae935c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #77 0x000000aaae939b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #78 0x000000aaae93b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #79 0x000000aaae932034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #80 0x000000ffe68108c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #81 0x000000ffe68109cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #82 0x000000aaae9320a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stack-addr-ps.c.script: line 1: 3923803 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-addr-ps.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/stack-frame-context-revision.cpp (1130 of 19712) ******************** TEST 'Clang :: Analysis/stack-frame-context-revision.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea142bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea140c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea1433d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd7b8648 (linux-vdso.so.1+0x648) #4 0x000000fff2bf5388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2bf5388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2bf5388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2bf5388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2bf5388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2bf5388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2bf5388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2bf5388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff286c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff286c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff286c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff286c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff286c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff286c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff286c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff286c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff286fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff286fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff286fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff286fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff2863430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff2863430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff2863430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff28713b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff28713b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff28713b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff2863d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff2863d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff2863d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff287c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff287c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff287c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff28831d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff28831d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff28831d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff27de138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff27de138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff27de138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff27de138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff2d34114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff2d34114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff2d34114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff27ef190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff27ef190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff27ef190 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:0 #49 0x000000fff27ef190 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:0 #50 0x000000fff27ef190 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:0 #51 0x000000fff27ef190 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:0 #52 0x000000fff27ef190 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:0 #53 0x000000fff27ef190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff27ef190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff27ef190 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:0 #56 0x000000fff27ef7ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff2801c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff2801c70 clang::ento::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 0x000000fff2b0f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff2b0f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff2b0f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff2b0f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff2b0f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff2b10224 llvm::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 0x000000fff2b10224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff2b10224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff2b14604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff2b14604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff2b14604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff2b14604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff2b14604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000fff0d56978 __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 0x000000fff0d56978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000fff0d56978 void clang::finalize>, 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 0x000000fff0d56978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff25cfb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff258b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff258b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff258b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff261f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaacc8dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaacc91b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaacc93234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaacc8a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe93488c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe93489cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaacc8a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stack-frame-context-revision.cpp.script: line 1: 3924508 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/stack-capture-leak-no-arc.mm (1131 of 19712) ******************** TEST 'Clang :: Analysis/stack-capture-leak-no-arc.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6c72bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6c70c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6c733d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffa04648 (linux-vdso.so.1+0x648) #4 0x000000ffef725388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef725388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef725388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef725388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef725388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef725388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef725388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef725388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef39c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef39c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef39c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef39c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef39c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef39c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef39c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef39c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef39fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef39fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef39fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef39fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef393430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef393430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef393430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef3a13b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef3a13b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef3a13b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef393d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef393d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef393d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef3ac3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef3ac3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef3ac3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef3b31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef3b31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef3b31d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef30e138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef30e138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef30e138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef30e138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffef864114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000ffef864114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000ffef864114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000ffef3f6c40 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x000000ffef3f6c40 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #48 0x000000ffef3f6c40 checkFunctionPointerCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:390:0 #49 0x000000ffef3f6c40 checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:546:0 #50 0x000000ffef3f6c40 void clang::ento::check::PreCall::_checkCall<(anonymous namespace)::CallAndMessageChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:168:0 #51 0x000000ffef304df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #52 0x000000ffef304df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x000000ffef304df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #54 0x000000ffef304df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #55 0x000000ffef304df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #56 0x000000ffef3563d8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #57 0x000000ffef3563d8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #58 0x000000ffef3563d8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #59 0x000000ffef3563d8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #60 0x000000ffef3563d8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #61 0x000000ffef3563d8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #62 0x000000ffef3563d8 clang::ento::ExprEngine::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 #63 0x000000ffef356e4c clang::ento::ExprEngine::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 #64 0x000000ffef32ed1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #65 0x000000ffef32ed1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #66 0x000000ffef32fe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #67 0x000000ffef33165c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #68 0x000000ffef33187c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #69 0x000000ffef331c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #70 0x000000ffef331c70 clang::ento::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 0x000000ffef63f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #72 0x000000ffef63f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #73 0x000000ffef63f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #74 0x000000ffef63f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #75 0x000000ffef63f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #76 0x000000ffef640224 llvm::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 0x000000ffef640224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #78 0x000000ffef640224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #79 0x000000ffef644604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #80 0x000000ffef644604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #81 0x000000ffef644604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #82 0x000000ffef644604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #83 0x000000ffef644604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #84 0x000000ffed886978 __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 0x000000ffed886978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #86 0x000000ffed886978 void clang::finalize>, 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 0x000000ffed886978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #88 0x000000ffef0ffb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #89 0x000000ffef0bb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #90 0x000000ffef0bb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #91 0x000000ffef0bb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #92 0x000000ffef14f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #93 0x000000aaace61c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #94 0x000000aaace65b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #95 0x000000aaace67234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #96 0x000000aaace5e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #97 0x000000ffe5e788c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #98 0x000000ffe5e789cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #99 0x000000aaace5e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stack-capture-leak-no-arc.mm.script: line 1: 3924160 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/stackaddrleak.c (1134 of 19712) ******************** TEST 'Clang :: Analysis/stackaddrleak.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe78aebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe78acc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe78af3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe3fc648 (linux-vdso.so.1+0x648) #4 0x000000ffeff5b908 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffeff5b908 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffeff5b908 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffeff5b908 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffeff5b908 llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:0 #9 0x000000ffeff5b908 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 0x000000ffeff5b908 contains<(anonymous namespace)::InitializedGlobalsSet> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:470:0 #11 0x000000ffeff5b908 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:0 #12 0x000000ffeff5bce4 clang::ento::CoreEngine::HandleStaticInit(clang::DeclStmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:484:0 #13 0x000000ffeff6da58 clang::ento::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 0x000000ffeff6dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x000000ffeff6dc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x000000fff027b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x000000fff027b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x000000fff027b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x000000fff027b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x000000fff027b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x000000fff027c224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x000000fff027c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x000000fff027c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x000000fff0280604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x000000fff0280604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x000000fff0280604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x000000fff0280604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x000000fff0280604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x000000ffee4c2978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x000000ffee4c2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x000000ffee4c2978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x000000ffee4c2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x000000ffefd3bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x000000ffefcf7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x000000ffefcf7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x000000ffefcf7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x000000ffefd8b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000000aaab475c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000000aaab479b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000000aaab47b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000000aaab472034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x000000ffe6ab48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #43 0x000000ffe6ab49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #44 0x000000aaab4720a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stackaddrleak.c.script: line 2: 3925051 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/static_local.m (1135 of 19712) ******************** TEST 'Clang :: Analysis/static_local.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe763ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe763cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe763f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff048648 (linux-vdso.so.1+0x648) #4 0x000000fff00f1388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff00f1388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff00f1388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff00f1388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff00f1388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff00f1388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff00f1388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff00f1388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffefd683a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffefd683a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffefd683a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffefd683a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffefd683a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffefd683a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffefd683a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffefd683a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffefd6bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffefd6bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffefd6bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffefd6bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffefd5f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffefd5f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffefd5f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffefd6d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffefd6d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffefd6d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffefd5fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffefd5fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffefd5fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffefd783b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffefd783b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffefd783b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffefd7f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffefd7f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffefd7f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffefcda138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffefcda138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffefcda138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffefcda138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffefcda688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffefcda688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffefcda688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000ffefca2b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000ffefca2b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000ffefca2b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000ffefcee6c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000ffefcee6c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000ffefcee6c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000ffefcfe010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000ffefcfe010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000ffefcfe010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff000b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff000b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff000b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff000b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff000b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff000c224 llvm::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 0x000000fff000c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff000c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff0010604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff0010604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff0010604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff0010604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff0010604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffee252978 __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 0x000000ffee252978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffee252978 void clang::finalize>, 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 0x000000ffee252978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000ffefacbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000ffefa87354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000ffefa87354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000ffefa87354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000ffefb1b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaad255c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaad259b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaad25b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaad252034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe68448c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe68449cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaad2520a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/static_local.m.script: line 1: 3925079 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/static_local.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/std-c-library-functions-arg-constraints-note-tags.cpp (1136 of 19712) ******************** TEST 'Clang :: Analysis/std-c-library-functions-arg-constraints-note-tags.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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 0x000000ffe905abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9058c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe905b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc464648 (linux-vdso.so.1+0x648) #4 0x000000fff1731510 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000fff1731510 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff1731510 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff1731510 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff1731510 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff1731510 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff1731510 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000fff1731510 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x000000fff1731510 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x000000fff1731608 (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 0x000000fff1794824 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #15 0x000000fff1794824 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #16 0x000000fff1794824 (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:0 #17 0x000000fff1c0b6f4 llvm::DenseMap, llvm::detail::DenseMapPair>::~DenseMap() /usr/include/llvm/ADT/DenseMap.h:782:0 #18 0x000000fff1c0b6f4 ~Simplifier /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1211:0 #19 0x000000fff1c0b6f4 (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 #20 0x000000fff177c030 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #21 0x000000fff177c030 (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 #22 0x000000fff177b664 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #23 0x000000fff177b664 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #24 0x000000fff177b664 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #25 0x000000fff177b768 clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #26 0x000000fff177b8a4 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 #27 0x000000fff177bf54 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff177bf54 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff177bf54 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #30 0x000000fff16f6808 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x000000fff16f6808 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x000000fff16f6808 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:0 #33 0x000000fff16f6808 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #34 0x000000fff16f6bd0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #35 0x000000fff16f6bd0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #36 0x000000fff16f6bd0 clang::ento::ConstraintManager::assumeInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:121:0 #37 0x000000fff199bc90 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1050:0 #38 0x000000fff199bc90 __invoke_impl&, const llvm::APSInt&, const llvm::APSInt&> /usr/include/c++/12/bits/invoke.h:61:0 #39 0x000000fff199bc90 __invoke_r&, const llvm::APSInt&, const llvm::APSInt&> /usr/include/c++/12/bits/invoke.h:114:0 #40 0x000000fff199bc90 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 #41 0x000000fff1982778 std::_Function_base::~_Function_base() /usr/include/c++/12/bits/std_function.h:243:11 #42 0x000000fff1982778 std::function::~function() /usr/include/c++/12/bits/std_function.h:334:0 #43 0x000000fff1982778 (anonymous namespace)::StdLibraryFunctionsChecker::RangeConstraint::apply(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&, (anonymous namespace)::StdLibraryFunctionsChecker::Summary const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1055:0 #44 0x000000fff199b380 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #45 0x000000fff199b380 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #46 0x000000fff199b380 (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 #47 0x000000fff16ecdf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #48 0x000000fff16ecdf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #49 0x000000fff16ecdf0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #50 0x000000fff16ecdf0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #51 0x000000fff16ecdf0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #52 0x000000fff173e500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #53 0x000000fff173e500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #54 0x000000fff173e500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #55 0x000000fff173e500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #56 0x000000fff173ee4c clang::ento::ExprEngine::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 0x000000fff1716d1c clang::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 0x000000fff1716d1c clang::ento::ExprEngine::Visit(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 0x000000fff1717e0c clang::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 0x000000fff171965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff171987c clang::ento::CoreEngine::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 0x000000fff1719c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #63 0x000000fff1719c70 clang::ento::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 0x000000fff1a2703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #65 0x000000fff1a2703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #66 0x000000fff1a2703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #67 0x000000fff1a2703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #68 0x000000fff1a2703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #69 0x000000fff1a28224 llvm::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 0x000000fff1a28224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x000000fff1a28224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #72 0x000000fff1a2c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x000000fff1a2c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x000000fff1a2c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x000000fff1a2c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x000000fff1a2c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x000000ffefc6e978 __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 0x000000ffefc6e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x000000ffefc6e978 void clang::finalize>, 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 0x000000ffefc6e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x000000fff14e7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #82 0x000000fff14a3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #83 0x000000fff14a3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #84 0x000000fff14a3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #85 0x000000fff15379a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #86 0x000000aaac471c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x000000aaac475b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x000000aaac477234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x000000aaac46e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x000000ffe82608c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #91 0x000000ffe82609cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #92 0x000000aaac46e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions-arg-constraints-note-tags.cpp.script: line 1: 3925174 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-constraints-note-tags.cpp -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=debug.StdCLibraryFunctionsTester -analyzer-config alpha.unix.StdCLibraryFunctions:DisplayLoadedSummaries=true -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple i686-unknown-linux -analyzer-output=text -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/std-c-library-functions-arg-constraints-notes.cpp (1137 of 19712) ******************** TEST 'Clang :: Analysis/std-c-library-functions-arg-constraints-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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 0x000000ffe74a6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe74a4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe74a73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff0ec648 (linux-vdso.so.1+0x648) #4 0x000000ffeff59388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffeff59388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffeff59388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffeff59388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffeff59388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffeff59388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffeff59388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffeff59388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffefbd03a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffefbd03a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffefbd03a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffefbd03a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffefbd03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffefbd03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffefbd03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffefbd03a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffefbd5068 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffefbd5068 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffefbd5068 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffefbd5068 (anonymous namespace)::RangeConstraintManager::assumeSymWithinInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3224:34 #24 0x000000ffefbc7a38 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffefbc7a38 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffefbc7a38 clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:129:64 #27 0x000000ffefbc7f54 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffefbc7f54 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffefbc7f54 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #30 0x000000ffefb42808 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x000000ffefb42808 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x000000ffefb42808 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:0 #33 0x000000ffefb42808 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #34 0x000000ffefb607b8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #35 0x000000ffefb607b8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #36 0x000000ffefb607b8 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:0 #37 0x000000ffefb607b8 clang::ento::ExprEngine::processSwitch(clang::ento::SwitchNodeBuilder&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3004:0 #38 0x000000ffefb60c18 clang::ento::CoreEngine::HandleBlockExit(clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:422:0 #39 0x000000ffefb65c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #40 0x000000ffefb65c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #41 0x000000ffefe7303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #42 0x000000ffefe7303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #43 0x000000ffefe7303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #44 0x000000ffefe7303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #45 0x000000ffefe7303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #46 0x000000ffefe74224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #47 0x000000ffefe74224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #48 0x000000ffefe74224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #49 0x000000ffefe78604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #50 0x000000ffefe78604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #51 0x000000ffefe78604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #52 0x000000ffefe78604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #53 0x000000ffefe78604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #54 0x000000ffee0ba978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #55 0x000000ffee0ba978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #56 0x000000ffee0ba978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #57 0x000000ffee0ba978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #58 0x000000ffef933b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #59 0x000000ffef8ef354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #60 0x000000ffef8ef354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #61 0x000000ffef8ef354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #62 0x000000ffef9839a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #63 0x000000aaabb5dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #64 0x000000aaabb61b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #65 0x000000aaabb63234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #66 0x000000aaabb5a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #67 0x000000ffe66ac8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #68 0x000000ffe66ac9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #69 0x000000aaabb5a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions-arg-constraints-notes.cpp.script: line 1: 3925383 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-constraints-notes.cpp -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=debug.StdCLibraryFunctionsTester -analyzer-config alpha.unix.StdCLibraryFunctions:DisplayLoadedSummaries=true -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple i686-unknown-linux -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/std-c-library-functions-arg-constraints.c (1138 of 19712) ******************** TEST 'Clang :: Analysis/std-c-library-functions-arg-constraints.c' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-constraints.c:333:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-constraints.c:333:3: Error evaluating statement #0 0x000000ffe8992bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8990c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe89933d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc81c648 (linux-vdso.so.1+0x648) #4 0x000000fff1069510 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000fff1069510 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff1069510 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff1069510 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff1069510 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff1069510 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff1069510 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000fff1069510 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x000000fff1069510 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x000000fff1069608 (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 0x000000fff10cc824 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #15 0x000000fff10cc824 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #16 0x000000fff10cc824 (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:0 #17 0x000000fff15436f4 llvm::DenseMap, llvm::detail::DenseMapPair>::~DenseMap() /usr/include/llvm/ADT/DenseMap.h:782:0 #18 0x000000fff15436f4 ~Simplifier /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1211:0 #19 0x000000fff15436f4 (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 #20 0x000000fff10b4030 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #21 0x000000fff10b4030 (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 #22 0x000000fff10b41ec (anonymous namespace)::SimpleSValBuilder::getKnownValue(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1190:23 #23 0x000000fff1290944 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x000000fff1290944 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x000000fff1290944 (anonymous namespace)::StdLibraryFunctionsChecker::printArgValueInfo(unsigned int, llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&, llvm::raw_ostream&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:930:66 #26 0x000000fff1290cb4 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #27 0x000000fff1290cb4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #28 0x000000fff1290cb4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff1290cb4 (anonymous namespace)::StdLibraryFunctionsChecker::BufferSizeConstraint::describe((anonymous namespace)::StdLibraryFunctionsChecker::ValueConstraint::DescriptionKind, clang::ento::CallEvent const&, llvm::IntrusiveRefCntPtr, (anonymous namespace)::StdLibraryFunctionsChecker::Summary const&, llvm::raw_ostream&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1290:22 #30 0x000000fff12d27ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x000000fff12d27ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x000000fff12d27ac (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:1350:0 #33 0x000000fff1024df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #34 0x000000fff1024df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #35 0x000000fff1024df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #36 0x000000fff1024df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #37 0x000000fff1024df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #38 0x000000fff10763d8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #39 0x000000fff10763d8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #40 0x000000fff10763d8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #41 0x000000fff10763d8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #42 0x000000fff10763d8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #43 0x000000fff10763d8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #44 0x000000fff10763d8 clang::ento::ExprEngine::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 #45 0x000000fff1076e4c clang::ento::ExprEngine::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 #46 0x000000fff104ed1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #47 0x000000fff104ed1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #48 0x000000fff104fe0c clang::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 0x000000fff105165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff105187c clang::ento::CoreEngine::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 0x000000fff1051c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #52 0x000000fff1051c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #53 0x000000fff135f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x000000fff135f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x000000fff135f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #56 0x000000fff135f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #57 0x000000fff135f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #58 0x000000fff1360224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #59 0x000000fff1360224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #60 0x000000fff1360224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #61 0x000000fff1364604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x000000fff1364604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x000000fff1364604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #64 0x000000fff1364604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #65 0x000000fff1364604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #66 0x000000ffef5a6978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #67 0x000000ffef5a6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #68 0x000000ffef5a6978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #69 0x000000ffef5a6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #70 0x000000fff0e1fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #71 0x000000fff0ddb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #72 0x000000fff0ddb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #73 0x000000fff0ddb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #74 0x000000fff0e6f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #75 0x000000aaaacd1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #76 0x000000aaaacd5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #77 0x000000aaaacd7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #78 0x000000aaaacce034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #79 0x000000ffe7b988c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #80 0x000000ffe7b989cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #81 0x000000aaaacce0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions-arg-constraints.c.script: line 2: 3925553 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-constraints.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-checker=debug.StdCLibraryFunctionsTester -analyzer-checker=debug.ExprInspection -triple x86_64-unknown-linux-gnu -verify=report -- ******************** Testing: 0 FAIL: Clang :: Analysis/std-c-library-functions-arg-cstring-dependency.c (1139 of 19712) ******************** TEST 'Clang :: Analysis/std-c-library-functions-arg-cstring-dependency.c' FAILED ******************** Script: -- : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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 0x000000ffe865ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe865cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe865f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc504648 (linux-vdso.so.1+0x648) #4 0x000000fff1111388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1111388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1111388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1111388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1111388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1111388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1111388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1111388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff0d883a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff0d883a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff0d883a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff0d883a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff0d883a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff0d883a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff0d883a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff0d883a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0d8bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0d8bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0d8bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0d8bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0d7f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0d7f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0d7f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff0d8d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0d8d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0d8d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0d7fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0d7fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0d7fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff0d983b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff0d983b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff0d983b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff0d9f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff0d9f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff0d9f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0cfa0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0cfa0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0cfa0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0cfa0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff125641c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff125641c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff125641c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff125641c (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:61 #47 0x000000fff12564f4 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #48 0x000000fff12564f4 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1324:25 #49 0x000000fff12564f4 (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:56 #50 0x000000fff0dde1b8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #51 0x000000fff0dde1b8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #52 0x000000fff0dde1b8 (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 #53 0x000000fff0dc7de8 std::_Function_base::~_Function_base() /usr/include/c++/12/bits/std_function.h:243:11 #54 0x000000fff0dc7de8 ~function /usr/include/c++/12/bits/std_function.h:334:11 #55 0x000000fff0dc7de8 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2516:1 #56 0x000000fff0dc7de8 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 #57 0x000000fff0cf9588 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 0x000000fff0d42440 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #59 0x000000fff0d42440 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #60 0x000000fff0d42440 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #61 0x000000fff0d42440 clang::ento::ExprEngine::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 0x000000fff0d42e4c clang::ento::ExprEngine::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 0x000000fff0d1ad1c clang::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 0x000000fff0d1ad1c clang::ento::ExprEngine::Visit(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 0x000000fff0d1be0c clang::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 0x000000fff0d1d65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff0d1d87c clang::ento::CoreEngine::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 0x000000fff0d1dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #69 0x000000fff0d1dc70 clang::ento::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 0x000000fff102b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #71 0x000000fff102b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #72 0x000000fff102b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #73 0x000000fff102b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #74 0x000000fff102b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #75 0x000000fff102c224 llvm::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 0x000000fff102c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x000000fff102c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #78 0x000000fff1030604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x000000fff1030604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x000000fff1030604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x000000fff1030604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x000000fff1030604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x000000ffef272978 __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 0x000000ffef272978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x000000ffef272978 void clang::finalize>, 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 0x000000ffef272978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x000000fff0aebb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #88 0x000000fff0aa7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #89 0x000000fff0aa7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #90 0x000000fff0aa7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #91 0x000000fff0b3b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #92 0x000000aaad7bdc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x000000aaad7c1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x000000aaad7c3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x000000aaad7ba034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x000000ffe78648c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #97 0x000000ffe78649cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #98 0x000000aaad7ba0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions-arg-cstring-dependency.c.script: line 1: 3925764 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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-inlined.c (1140 of 19712) ******************** TEST 'Clang :: Analysis/std-c-library-functions-inlined.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8dfebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8dfcc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8dff3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffea3c648 (linux-vdso.so.1+0x648) #4 0x000000fff14d5510 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000fff14d5510 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff14d5510 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff14d5510 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff14d5510 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff14d5510 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff14d5510 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000fff14d5510 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x000000fff14d5510 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x000000fff14d5608 (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 0x000000fff1538824 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #15 0x000000fff1538824 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #16 0x000000fff1538824 (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:0 #17 0x000000fff19af6f4 llvm::DenseMap, llvm::detail::DenseMapPair>::~DenseMap() /usr/include/llvm/ADT/DenseMap.h:782:0 #18 0x000000fff19af6f4 ~Simplifier /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1211:0 #19 0x000000fff19af6f4 (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 #20 0x000000fff1520030 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #21 0x000000fff1520030 (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 #22 0x000000fff151f664 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #23 0x000000fff151f664 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #24 0x000000fff151f664 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #25 0x000000fff151f768 clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #26 0x000000fff151f8a4 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 #27 0x000000fff151ff54 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff151ff54 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff151ff54 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #30 0x000000fff149a808 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x000000fff149a808 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x000000fff149a808 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:0 #33 0x000000fff149a808 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #34 0x000000fff149abd0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #35 0x000000fff149abd0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #36 0x000000fff149abd0 clang::ento::ConstraintManager::assumeInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:121:0 #37 0x000000fff173fc90 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1050:0 #38 0x000000fff173fc90 __invoke_impl&, const llvm::APSInt&, const llvm::APSInt&> /usr/include/c++/12/bits/invoke.h:61:0 #39 0x000000fff173fc90 __invoke_r&, const llvm::APSInt&, const llvm::APSInt&> /usr/include/c++/12/bits/invoke.h:114:0 #40 0x000000fff173fc90 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 #41 0x000000fff1726778 std::_Function_base::~_Function_base() /usr/include/c++/12/bits/std_function.h:243:11 #42 0x000000fff1726778 std::function::~function() /usr/include/c++/12/bits/std_function.h:334:0 #43 0x000000fff1726778 (anonymous namespace)::StdLibraryFunctionsChecker::RangeConstraint::apply(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&, (anonymous namespace)::StdLibraryFunctionsChecker::Summary const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1055:0 #44 0x000000fff173f380 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #45 0x000000fff173f380 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #46 0x000000fff173f380 (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 #47 0x000000fff1490df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #48 0x000000fff1490df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #49 0x000000fff1490df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #50 0x000000fff1490df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #51 0x000000fff1490df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #52 0x000000fff14e2500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #53 0x000000fff14e2500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #54 0x000000fff14e2500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #55 0x000000fff14e2500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #56 0x000000fff14e2e4c clang::ento::ExprEngine::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 0x000000fff14bad1c clang::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 0x000000fff14bad1c clang::ento::ExprEngine::Visit(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 0x000000fff14bbe0c clang::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 0x000000fff14bd65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff14bd87c clang::ento::CoreEngine::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 0x000000fff14bdc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #63 0x000000fff14bdc70 clang::ento::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 0x000000fff17cb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #65 0x000000fff17cb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #66 0x000000fff17cb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #67 0x000000fff17cb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #68 0x000000fff17cb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #69 0x000000fff17cc224 llvm::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 0x000000fff17cc224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x000000fff17cc224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #72 0x000000fff17d0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x000000fff17d0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x000000fff17d0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x000000fff17d0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x000000fff17d0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x000000ffefa12978 __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 0x000000ffefa12978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x000000ffefa12978 void clang::finalize>, 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 0x000000ffefa12978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x000000fff128bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #82 0x000000fff1247354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #83 0x000000fff1247354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #84 0x000000fff1247354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #85 0x000000fff12db9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #86 0x000000aaab0f5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x000000aaab0f9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x000000aaab0fb234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x000000aaab0f2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x000000ffe80048c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #91 0x000000ffe80049cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #92 0x000000aaab0f20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions-inlined.c.script: line 5: 3926171 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.unix.StdCLibraryFunctions -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-inlined.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/std-c-library-functions-path-notes.c (1141 of 19712) ******************** TEST 'Clang :: Analysis/std-c-library-functions-path-notes.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6986bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6984c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe69873d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcff8648 (linux-vdso.so.1+0x648) #4 0x000000ffef439388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef439388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef439388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef439388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef439388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef439388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef439388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef439388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef0b03a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef0b03a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef0b03a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef0b03a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef0b03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef0b03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef0b03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef0b03a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef0b3dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef0b3dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef0b3dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef0b3dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef0a7430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef0a7430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef0a7430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef0b53b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef0b53b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef0b53b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef0a7d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef0a7d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef0a7d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef0c03b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef0c03b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef0c03b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef0c71d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef0c71d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef0c71d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef022138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef022138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef022138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef022138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffef022688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffef022688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffef022688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000ffef2a5ae0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #47 0x000000ffef2a5ae0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #48 0x000000ffef2a5ae0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:60 #49 0x000000ffef2a5ae0 (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 #50 0x000000ffef2c6578 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #51 0x000000ffef2c6578 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #52 0x000000ffef2c6578 (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 #53 0x000000ffef018df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #54 0x000000ffef018df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #55 0x000000ffef018df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #56 0x000000ffef018df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #57 0x000000ffef018df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #58 0x000000ffef06a3d8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #59 0x000000ffef06a3d8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #60 0x000000ffef06a3d8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #61 0x000000ffef06a3d8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #62 0x000000ffef06a3d8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #63 0x000000ffef06a3d8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #64 0x000000ffef06a3d8 clang::ento::ExprEngine::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 #65 0x000000ffef06ae4c clang::ento::ExprEngine::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 0x000000ffef042d1c clang::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 0x000000ffef042d1c clang::ento::ExprEngine::Visit(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 0x000000ffef043e0c clang::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 0x000000ffef04565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef04587c clang::ento::CoreEngine::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 0x000000ffef045c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #72 0x000000ffef045c70 clang::ento::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 0x000000ffef35303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #74 0x000000ffef35303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #75 0x000000ffef35303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #76 0x000000ffef35303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #77 0x000000ffef35303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #78 0x000000ffef354224 llvm::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 0x000000ffef354224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #80 0x000000ffef354224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #81 0x000000ffef358604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #82 0x000000ffef358604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #83 0x000000ffef358604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #84 0x000000ffef358604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #85 0x000000ffef358604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #86 0x000000ffed59a978 __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 0x000000ffed59a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #88 0x000000ffed59a978 void clang::finalize>, 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 0x000000ffed59a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #90 0x000000ffeee13b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #91 0x000000ffeedcf354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #92 0x000000ffeedcf354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #93 0x000000ffeedcf354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #94 0x000000ffeee639a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #95 0x000000aaab2e1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #96 0x000000aaab2e5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #97 0x000000aaab2e7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #98 0x000000aaab2de034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #99 0x000000ffe5b8c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #100 0x000000ffe5b8c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #101 0x000000aaab2de0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions-path-notes.c.script: line 1: 3926247 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-eof.c (1142 of 19712) ******************** TEST 'Clang :: Analysis/std-c-library-functions-eof.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6f8ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6f8cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6f8f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd4a8648 (linux-vdso.so.1+0x648) #4 0x000000ffefa41388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffefa41388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffefa41388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffefa41388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffefa41388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffefa41388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffefa41388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffefa41388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef6b83a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef6b83a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef6b83a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef6b83a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef6b83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef6b83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef6b83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef6b83a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef6bd068 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef6bd068 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef6bd068 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef6bd068 (anonymous namespace)::RangeConstraintManager::assumeSymWithinInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3224:34 #24 0x000000ffef6afa38 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef6afa38 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef6afa38 clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:129:64 #27 0x000000ffef6aff54 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef6aff54 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef6aff54 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #30 0x000000ffef62a808 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x000000ffef62a808 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x000000ffef62a808 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:0 #33 0x000000ffef62a808 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #34 0x000000ffef62abd0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #35 0x000000ffef62abd0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #36 0x000000ffef62abd0 clang::ento::ConstraintManager::assumeInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:121:0 #37 0x000000ffef8cfc90 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1050:0 #38 0x000000ffef8cfc90 __invoke_impl&, const llvm::APSInt&, const llvm::APSInt&> /usr/include/c++/12/bits/invoke.h:61:0 #39 0x000000ffef8cfc90 __invoke_r&, const llvm::APSInt&, const llvm::APSInt&> /usr/include/c++/12/bits/invoke.h:114:0 #40 0x000000ffef8cfc90 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 #41 0x000000ffef8b60c0 (anonymous namespace)::StdLibraryFunctionsChecker::RangeConstraint::applyOnOutOfRange(clang::ento::BasicValueFactory&, clang::QualType, std::function const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1022:0 #42 0x000000ffef8b6778 std::_Function_base::~_Function_base() /usr/include/c++/12/bits/std_function.h:243:11 #43 0x000000ffef8b6778 std::function::~function() /usr/include/c++/12/bits/std_function.h:334:0 #44 0x000000ffef8b6778 (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 #45 0x000000ffef8cf380 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #46 0x000000ffef8cf380 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #47 0x000000ffef8cf380 (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 #48 0x000000ffef620df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #49 0x000000ffef620df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #50 0x000000ffef620df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #51 0x000000ffef620df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #52 0x000000ffef620df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #53 0x000000ffef672500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #54 0x000000ffef672500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #55 0x000000ffef672500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #56 0x000000ffef672500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #57 0x000000ffef672e4c clang::ento::ExprEngine::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 #58 0x000000ffef64ad1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #59 0x000000ffef64ad1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #60 0x000000ffef64be0c clang::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 0x000000ffef64d65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef64d87c clang::ento::CoreEngine::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 0x000000ffef64dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #64 0x000000ffef64dc70 clang::ento::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 0x000000ffef95b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #66 0x000000ffef95b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #67 0x000000ffef95b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #68 0x000000ffef95b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #69 0x000000ffef95b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #70 0x000000ffef95c224 llvm::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 0x000000ffef95c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #72 0x000000ffef95c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #73 0x000000ffef960604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #74 0x000000ffef960604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #75 0x000000ffef960604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #76 0x000000ffef960604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #77 0x000000ffef960604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #78 0x000000ffedba2978 __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 0x000000ffedba2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #80 0x000000ffedba2978 void clang::finalize>, 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 0x000000ffedba2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #82 0x000000ffef41bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #83 0x000000ffef3d7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #84 0x000000ffef3d7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #85 0x000000ffef3d7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #86 0x000000ffef46b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #87 0x000000aaabdb9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #88 0x000000aaabdbdb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #89 0x000000aaabdbf234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #90 0x000000aaabdb6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #91 0x000000ffe61948c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #92 0x000000ffe61949cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #93 0x000000aaabdb60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions-eof.c.script: line 5: 3925842 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-vs-stream-checker.c (1143 of 19712) ******************** TEST 'Clang :: Analysis/std-c-library-functions-vs-stream-checker.c' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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 0x000000ffe9532bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9530c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe95333d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd4c0648 (linux-vdso.so.1+0x648) #4 0x000000fff1fe5388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1fe5388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1fe5388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1fe5388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1fe5388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1fe5388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1fe5388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1fe5388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff1c5c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff1c5c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff1c5c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff1c5c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff1c5c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff1c5c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff1c5c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff1c5c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1c5fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1c5fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1c5fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1c5fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1c53430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1c53430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1c53430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff1c613b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff1c613b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff1c613b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1c53d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1c53d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1c53d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff1c6c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff1c6c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff1c6c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff1c731d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff1c731d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff1c731d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1bce138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1bce138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1bce138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1bce138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1e74e08 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff1e74e08 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff1e74e08 (anonymous namespace)::StreamChecker::evalFopen((anonymous namespace)::FnDescription const*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:545:0 #46 0x000000fff1e85e5c clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #47 0x000000fff1e85e5c evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:525:23 #48 0x000000fff1e85e5c bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::StreamChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #49 0x000000fff1bcd588 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #50 0x000000fff1c16440 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #51 0x000000fff1c16440 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #52 0x000000fff1c16440 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #53 0x000000fff1c16440 clang::ento::ExprEngine::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 #54 0x000000fff1c16e4c clang::ento::ExprEngine::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 0x000000fff1beed1c clang::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 0x000000fff1beed1c clang::ento::ExprEngine::Visit(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 0x000000fff1befe0c clang::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 0x000000fff1bf165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff1bf187c clang::ento::CoreEngine::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 0x000000fff1bf1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #61 0x000000fff1bf1c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #62 0x000000fff1eff03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #63 0x000000fff1eff03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #64 0x000000fff1eff03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #65 0x000000fff1eff03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #66 0x000000fff1eff03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #67 0x000000fff1f00224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #68 0x000000fff1f00224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #69 0x000000fff1f00224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #70 0x000000fff1f04604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x000000fff1f04604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x000000fff1f04604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #73 0x000000fff1f04604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #74 0x000000fff1f04604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #75 0x000000fff0146978 __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 0x000000fff0146978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #77 0x000000fff0146978 void clang::finalize>, 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 0x000000fff0146978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #79 0x000000fff19bfb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #80 0x000000fff197b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #81 0x000000fff197b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #82 0x000000fff197b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #83 0x000000fff1a0f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #84 0x000000aaadd51c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #85 0x000000aaadd55b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #86 0x000000aaadd57234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #87 0x000000aaadd4e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #88 0x000000ffe87388c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #89 0x000000ffe87389cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #90 0x000000aaadd4e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions-vs-stream-checker.c.script: line 3: 3926458 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-vs-stream-checker.c -analyzer-checker=core,alpha.unix.Stream -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple x86_64-unknown-linux -verify=stream -- ******************** Testing: 0 FAIL: Clang :: Analysis/std-c-library-functions.cpp (1144 of 19712) ******************** TEST 'Clang :: Analysis/std-c-library-functions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe772abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7728c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe772b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc93c648 (linux-vdso.so.1+0x648) #4 0x000000fff01dd388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff01dd388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff01dd388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff01dd388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff01dd388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff01dd388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff01dd388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff01dd388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffefe543a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffefe543a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffefe543a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffefe543a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffefe543a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffefe543a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffefe543a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffefe543a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffefe57aec llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffefe57aec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffefe57aec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffefe57aec (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:31 #24 0x000000ffefe5665c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffefe5665c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffefe5665c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000ffefe59444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffefe59444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffefe59444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000ffefe4bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffefe4bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffefe4bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffefe643b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffefe643b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffefe643b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffefe6b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffefe6b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffefe6b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffefdc60e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffefdc60e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffefdc60e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffefdc60e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff031de24 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff031de24 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff031de24 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff031de24 getArgumentValueString(clang::CallExpr const*, clang::ento::CheckerContext&) (.part.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:150:20 #47 0x000000ffefed7864 getArgumentValueString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:135:3 #48 0x000000ffefed7864 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #49 0x000000ffefed7864 (anonymous namespace)::ExprInspectionChecker::analyzerEval(clang::CallExpr const*, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:215:0 #50 0x000000ffeff1f7b0 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:0 #51 0x000000ffeff1f7b0 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 #52 0x000000ffefdc5588 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #53 0x000000ffefe0e440 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #54 0x000000ffefe0e440 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #55 0x000000ffefe0e440 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #56 0x000000ffefe0e440 clang::ento::ExprEngine::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 #57 0x000000ffefe0ee4c clang::ento::ExprEngine::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 #58 0x000000ffefde6d1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #59 0x000000ffefde6d1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #60 0x000000ffefde7e0c clang::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 0x000000ffefde965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffefde987c clang::ento::CoreEngine::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 0x000000ffefde9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #64 0x000000ffefde9c70 clang::ento::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 0x000000fff00f703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #66 0x000000fff00f703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #67 0x000000fff00f703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #68 0x000000fff00f703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #69 0x000000fff00f703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #70 0x000000fff00f8224 llvm::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 0x000000fff00f8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #72 0x000000fff00f8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #73 0x000000fff00fc604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #74 0x000000fff00fc604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #75 0x000000fff00fc604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #76 0x000000fff00fc604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #77 0x000000fff00fc604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #78 0x000000ffee33e978 __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 0x000000ffee33e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #80 0x000000ffee33e978 void clang::finalize>, 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 0x000000ffee33e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #82 0x000000ffefbb7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #83 0x000000ffefb73354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #84 0x000000ffefb73354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #85 0x000000ffefb73354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #86 0x000000ffefc079a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #87 0x000000aaae6c9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #88 0x000000aaae6cdb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #89 0x000000aaae6cf234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #90 0x000000aaae6c6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #91 0x000000ffe69308c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #92 0x000000ffe69309cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #93 0x000000aaae6c60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions.cpp.script: line 1: 3926952 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux -analyzer-checker=alpha.unix.StdCLibraryFunctions,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/std-c-library-functions.c (1145 of 19712) ******************** TEST 'Clang :: Analysis/std-c-library-functions.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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 0x000000ffe8f96bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8f94c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8f973d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffff0648 (linux-vdso.so.1+0x648) #4 0x000000fff1a49388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1a49388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1a49388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1a49388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1a49388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1a49388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1a49388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1a49388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff16c03a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff16c03a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff16c03a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff16c03a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff16c03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff16c03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff16c03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff16c03a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff16c3dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff16c3dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff16c3dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff16c3dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff16b7430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff16b7430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff16b7430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff16c53b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff16c53b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff16c53b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff16b7d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff16b7d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff16b7d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff16d03b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff16d03b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff16d03b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff16d71d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff16d71d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff16d71d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1632138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1632138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1632138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1632138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1632688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff1632688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff1632688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff18b5ae0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #47 0x000000fff18b5ae0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #48 0x000000fff18b5ae0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:60 #49 0x000000fff18b5ae0 (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 #50 0x000000fff18d7380 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #51 0x000000fff18d7380 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #52 0x000000fff18d7380 (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 #53 0x000000fff1628df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #54 0x000000fff1628df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #55 0x000000fff1628df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #56 0x000000fff1628df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #57 0x000000fff1628df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #58 0x000000fff167a500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #59 0x000000fff167a500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #60 0x000000fff167a500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #61 0x000000fff167a500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #62 0x000000fff167ae4c clang::ento::ExprEngine::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 0x000000fff1652d1c clang::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 0x000000fff1652d1c clang::ento::ExprEngine::Visit(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 0x000000fff1653e0c clang::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 0x000000fff165565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff165587c clang::ento::CoreEngine::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 0x000000fff1655c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #69 0x000000fff1655c70 clang::ento::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 0x000000fff196303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #71 0x000000fff196303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #72 0x000000fff196303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #73 0x000000fff196303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #74 0x000000fff196303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #75 0x000000fff1964224 llvm::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 0x000000fff1964224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x000000fff1964224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #78 0x000000fff1968604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x000000fff1968604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x000000fff1968604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x000000fff1968604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x000000fff1968604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x000000ffefbaa978 __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 0x000000ffefbaa978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x000000ffefbaa978 void clang::finalize>, 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 0x000000ffefbaa978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x000000fff1423b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #88 0x000000fff13df354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #89 0x000000fff13df354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #90 0x000000fff13df354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #91 0x000000fff14739a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #92 0x000000aaad07dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x000000aaad081b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x000000aaad083234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x000000aaad07a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x000000ffe819c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #97 0x000000ffe819c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #98 0x000000aaad07a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions.c.script: line 5: 3926821 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/stream-errno-note.c (1146 of 19712) ******************** TEST 'Clang :: Analysis/stream-errno-note.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8e9abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8e98c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8e9b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd460648 (linux-vdso.so.1+0x648) #4 0x000000fff15e330c clang::ento::MemRegion::getKind() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:172:0 #5 0x000000fff15e330c 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 0x000000fff15e330c llvm::isa_impl::doit(clang::ento::MemRegion const&) /usr/include/llvm/Support/Casting.h:64:0 #7 0x000000fff15e330c llvm::isa_impl_cl::doit(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:110:0 #8 0x000000fff15e330c llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:137:0 #9 0x000000fff15e330c llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:129:0 #10 0x000000fff15e330c llvm::CastIsPossible::isPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:257:0 #11 0x000000fff15e330c llvm::CastInfo::doCastIfPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:493:0 #12 0x000000fff15e330c decltype(auto) llvm::dyn_cast(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:663:0 #13 0x000000fff15e330c (anonymous namespace)::RegionStoreManager::bind((anonymous namespace)::RegionBindingsRef const&, clang::ento::Loc, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:2368:0 #14 0x000000fff158e63c asImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:258:0 #15 0x000000fff158e63c asStore /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:225:0 #16 0x000000fff158e63c Bind /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:443:0 #17 0x000000fff158e63c 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:119:0 #18 0x000000fff168841c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #19 0x000000fff168841c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #20 0x000000fff168841c 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 #21 0x000000fff168a2f8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #22 0x000000fff168a2f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #23 0x000000fff168a2f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #24 0x000000fff168a2f8 checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:177:0 #25 0x000000fff168a2f8 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 0x000000fff151ecc8 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #27 0x000000fff151ecc8 clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:441:26 #28 0x000000fff1559f88 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:126:0 #29 0x000000fff186703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x000000fff186703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x000000fff186703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #32 0x000000fff186703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #33 0x000000fff186703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #34 0x000000fff1868224 llvm::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 0x000000fff1868224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x000000fff1868224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #37 0x000000fff186c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x000000fff186c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x000000fff186c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x000000fff186c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x000000fff186c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x000000ffefaae978 __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 0x000000ffefaae978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x000000ffefaae978 void clang::finalize>, 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 0x000000ffefaae978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x000000fff1327b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #47 0x000000fff12e3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #48 0x000000fff12e3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #49 0x000000fff12e3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #50 0x000000fff13779a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #51 0x000000aaab3b1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x000000aaab3b5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x000000aaab3b7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x000000aaab3ae034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x000000ffe80a08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #56 0x000000ffe80a09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #57 0x000000aaab3ae0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stream-errno-note.c.script: line 1: 3927599 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-checker=alpha.unix.Stream -analyzer-checker=alpha.unix.Errno -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-output text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-errno-note.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/std-c-library-posix-crash.c (1147 of 19712) ******************** TEST 'Clang :: Analysis/std-c-library-posix-crash.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea046bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea044c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea0473d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe0b4648 (linux-vdso.so.1+0x648) #4 0x000000fff2af9388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2af9388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2af9388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2af9388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2af9388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2af9388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2af9388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2af9388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff27703a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff27703a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff27703a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff27703a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff27703a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff27703a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff27703a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff27703a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff2775068 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff2775068 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff2775068 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff2775068 (anonymous namespace)::RangeConstraintManager::assumeSymWithinInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3224:34 #24 0x000000fff2767a38 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff2767a38 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff2767a38 clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:129:64 #27 0x000000fff2767f54 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff2767f54 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff2767f54 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #30 0x000000fff26e2808 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x000000fff26e2808 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x000000fff26e2808 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:0 #33 0x000000fff26e2808 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #34 0x000000fff26e2bd0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #35 0x000000fff26e2bd0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #36 0x000000fff26e2bd0 clang::ento::ConstraintManager::assumeInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:121:0 #37 0x000000fff2987c90 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1050:0 #38 0x000000fff2987c90 __invoke_impl&, const llvm::APSInt&, const llvm::APSInt&> /usr/include/c++/12/bits/invoke.h:61:0 #39 0x000000fff2987c90 __invoke_r&, const llvm::APSInt&, const llvm::APSInt&> /usr/include/c++/12/bits/invoke.h:114:0 #40 0x000000fff2987c90 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 #41 0x000000fff296e134 (anonymous namespace)::StdLibraryFunctionsChecker::RangeConstraint::applyOnOutOfRange(clang::ento::BasicValueFactory&, clang::QualType, std::function const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1029:0 #42 0x000000fff296e778 std::_Function_base::~_Function_base() /usr/include/c++/12/bits/std_function.h:243:11 #43 0x000000fff296e778 std::function::~function() /usr/include/c++/12/bits/std_function.h:334:0 #44 0x000000fff296e778 (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 #45 0x000000fff2986578 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #46 0x000000fff2986578 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #47 0x000000fff2986578 (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 #48 0x000000fff26d8df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #49 0x000000fff26d8df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #50 0x000000fff26d8df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #51 0x000000fff26d8df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #52 0x000000fff26d8df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #53 0x000000fff272a3d8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #54 0x000000fff272a3d8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #55 0x000000fff272a3d8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #56 0x000000fff272a3d8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #57 0x000000fff272a3d8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #58 0x000000fff272a3d8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #59 0x000000fff272a3d8 clang::ento::ExprEngine::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 #60 0x000000fff272ae4c clang::ento::ExprEngine::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 0x000000fff2702d1c clang::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 0x000000fff2702d1c clang::ento::ExprEngine::Visit(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 0x000000fff2703e0c clang::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 0x000000fff270565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff270587c clang::ento::CoreEngine::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 0x000000fff2705c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #67 0x000000fff2705c70 clang::ento::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 0x000000fff2a1303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #69 0x000000fff2a1303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #70 0x000000fff2a1303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #71 0x000000fff2a1303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #72 0x000000fff2a1303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #73 0x000000fff2a14224 llvm::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 0x000000fff2a14224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #75 0x000000fff2a14224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #76 0x000000fff2a18604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #77 0x000000fff2a18604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #78 0x000000fff2a18604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #79 0x000000fff2a18604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #80 0x000000fff2a18604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #81 0x000000fff0c5a978 __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 0x000000fff0c5a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #83 0x000000fff0c5a978 void clang::finalize>, 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 0x000000fff0c5a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #85 0x000000fff24d3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #86 0x000000fff248f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #87 0x000000fff248f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #88 0x000000fff248f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #89 0x000000fff25239a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #90 0x000000aaaea21c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #91 0x000000aaaea25b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #92 0x000000aaaea27234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #93 0x000000aaaea1e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #94 0x000000ffe924c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #95 0x000000ffe924c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #96 0x000000aaaea1e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-posix-crash.c.script: line 1: 3927025 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-posix-crash.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/stream-errno.c (1148 of 19712) ******************** TEST 'Clang :: Analysis/stream-errno.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9336bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9334c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe93373d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd99c648 (linux-vdso.so.1+0x648) #4 0x000000fff1a7f30c clang::ento::MemRegion::getKind() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:172:0 #5 0x000000fff1a7f30c 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 0x000000fff1a7f30c llvm::isa_impl::doit(clang::ento::MemRegion const&) /usr/include/llvm/Support/Casting.h:64:0 #7 0x000000fff1a7f30c llvm::isa_impl_cl::doit(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:110:0 #8 0x000000fff1a7f30c llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:137:0 #9 0x000000fff1a7f30c llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:129:0 #10 0x000000fff1a7f30c llvm::CastIsPossible::isPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:257:0 #11 0x000000fff1a7f30c llvm::CastInfo::doCastIfPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:493:0 #12 0x000000fff1a7f30c decltype(auto) llvm::dyn_cast(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:663:0 #13 0x000000fff1a7f30c (anonymous namespace)::RegionStoreManager::bind((anonymous namespace)::RegionBindingsRef const&, clang::ento::Loc, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:2368:0 #14 0x000000fff1a2a63c asImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:258:0 #15 0x000000fff1a2a63c asStore /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:225:0 #16 0x000000fff1a2a63c Bind /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:443:0 #17 0x000000fff1a2a63c 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:119:0 #18 0x000000fff1b2441c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #19 0x000000fff1b2441c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #20 0x000000fff1b2441c 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 #21 0x000000fff1b262f8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #22 0x000000fff1b262f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #23 0x000000fff1b262f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #24 0x000000fff1b262f8 checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:177:0 #25 0x000000fff1b262f8 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 0x000000fff19bacc8 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #27 0x000000fff19bacc8 clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:441:26 #28 0x000000fff19f5f88 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:126:0 #29 0x000000fff1d0303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x000000fff1d0303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x000000fff1d0303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #32 0x000000fff1d0303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #33 0x000000fff1d0303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #34 0x000000fff1d04224 llvm::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 0x000000fff1d04224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x000000fff1d04224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #37 0x000000fff1d08604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x000000fff1d08604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x000000fff1d08604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x000000fff1d08604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x000000fff1d08604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x000000ffeff4a978 __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 0x000000ffeff4a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x000000ffeff4a978 void clang::finalize>, 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 0x000000ffeff4a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x000000fff17c3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #47 0x000000fff177f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #48 0x000000fff177f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #49 0x000000fff177f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #50 0x000000fff18139a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #51 0x000000aaae4e1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x000000aaae4e5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x000000aaae4e7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x000000aaae4de034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x000000ffe853c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #56 0x000000ffe853c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #57 0x000000aaae4de0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stream-errno.c.script: line 1: 3927630 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/stl-algorithm-modeling-aggressive-std-find-modeling.cpp (1149 of 19712) ******************** TEST 'Clang :: Analysis/stl-algorithm-modeling-aggressive-std-find-modeling.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe897abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8978c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe897b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffcd4648 (linux-vdso.so.1+0x648) #4 0x000000fff1051510 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000fff1051510 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff1051510 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff1051510 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff1051510 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff1051510 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff1051510 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000fff1051510 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x000000fff1051510 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x000000fff1051608 (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 0x000000fff10be6e4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #15 0x000000fff10be6e4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #16 0x000000fff10be6e4 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #17 0x000000fff10be6e4 (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 #18 0x000000fff10bde7c clang::ento::BinarySymExprImpl::getLHS() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:443:0 #19 0x000000fff10bde7c VisitSymIntExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1271:0 #20 0x000000fff10bde7c 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 #21 0x000000fff152b6f4 llvm::DenseMap, llvm::detail::DenseMapPair>::~DenseMap() /usr/include/llvm/ADT/DenseMap.h:782:0 #22 0x000000fff152b6f4 ~Simplifier /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1211:0 #23 0x000000fff152b6f4 (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 #24 0x000000fff109c030 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #25 0x000000fff109c030 (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 #26 0x000000fff109b664 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x000000fff109b664 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x000000fff109b664 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #29 0x000000fff109b768 clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #30 0x000000fff10a9310 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 #31 0x000000fff109bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #32 0x000000fff109bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #33 0x000000fff109bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #34 0x000000fff10b43b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #35 0x000000fff10b43b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #36 0x000000fff10b43b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #37 0x000000fff10bb1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #38 0x000000fff10bb1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #39 0x000000fff10bb1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #40 0x000000fff10160e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #41 0x000000fff10160e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #42 0x000000fff10160e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #43 0x000000fff10160e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #44 0x000000fff1016688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x000000fff1016688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x000000fff1016688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #47 0x000000fff0fdeb4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #48 0x000000fff0fdeb4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #49 0x000000fff0fdeb4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #50 0x000000fff11bdb98 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #51 0x000000fff11bdb98 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #52 0x000000fff11bdb98 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 #53 0x000000fff112eab8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #54 0x000000fff112eab8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #55 0x000000fff112eab8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #56 0x000000fff112eab8 createContainerBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:850:27 #57 0x000000fff112eab8 handleBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:258:33 #58 0x000000fff112eab8 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:193:20 #59 0x000000fff112eab8 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::ContainerModeling>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:46 #60 0x000000fff100cdf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #61 0x000000fff100cdf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x000000fff100cdf0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #63 0x000000fff100cdf0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #64 0x000000fff100cdf0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #65 0x000000fff105e500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #66 0x000000fff105e500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #67 0x000000fff105e500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #68 0x000000fff105e500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #69 0x000000fff105ee4c clang::ento::ExprEngine::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 #70 0x000000fff1036d1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #71 0x000000fff1036d1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #72 0x000000fff1037e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #73 0x000000fff103965c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #74 0x000000fff103987c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #75 0x000000fff1039c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #76 0x000000fff1039c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #77 0x000000fff134703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #78 0x000000fff134703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #79 0x000000fff134703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #80 0x000000fff134703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #81 0x000000fff134703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #82 0x000000fff1348224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #83 0x000000fff1348224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #84 0x000000fff1348224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #85 0x000000fff134c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #86 0x000000fff134c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #87 0x000000fff134c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #88 0x000000fff134c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #89 0x000000fff134c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #90 0x000000ffef58e978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #91 0x000000ffef58e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #92 0x000000ffef58e978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #93 0x000000ffef58e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #94 0x000000fff0e07b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #95 0x000000fff0dc3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #96 0x000000fff0dc3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #97 0x000000fff0dc3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #98 0x000000fff0e579a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #99 0x000000aaad381c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #100 0x000000aaad385b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #101 0x000000aaad387234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #102 0x000000aaad37e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #103 0x000000ffe7b808c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #104 0x000000ffe7b809cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #105 0x000000aaad37e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stl-algorithm-modeling-aggressive-std-find-modeling.cpp.script: line 1: 3927540 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stl-algorithm-modeling-aggressive-std-find-modeling.cpp -analyzer-checker=core,cplusplus,alpha.cplusplus.STLAlgorithmModeling,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config alpha.cplusplus.STLAlgorithmModeling:AggressiveStdFindModeling=true -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/scan-build/exclude_directories.test (1150 of 19712) ******************** TEST 'Clang :: Analysis/scan-build/exclude_directories.test' FAILED ******************** Script: -- : 'RUN: at line 4'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir && mkdir /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang-17 -o /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir && mkdir /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang-17 -o /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir --exclude directory1 /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir && mkdir /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang-17 -o /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir" $ "mkdir" "/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang-17" "-o" "/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir" "/builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang-17 -cc1 -triple loongarch64-opencloudos-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name file1.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -target-cpu loongarch64 -target-feature +64bit -target-feature +f -target-feature +d -target-feature +ual -target-abi lp64d -debugger-tuning=gdb -fcoverage-compilation-dir=/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build -resource-dir /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/lib/gcc/loongarch64-OpenCloudOS-linux/12/../../../../loongarch64-OpenCloudOS-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir=/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build -ferror-limit 19 -fgnuc-version=4.2.1 -analyzer-output=html -faddrsig -o /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir/2024-08-16-201507-3921345-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 0x000000ffe965abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9658c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe965b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff538648 (linux-vdso.so.1+0x648) #4 0x000000fff210d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff210d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff210d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff210d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff210d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff210d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff210d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff210d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff1d843a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff1d843a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff1d843a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff1d843a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff1d843a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff1d843a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff1d843a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff1d843a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1d87dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1d87dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1d87dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1d87dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1d7b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1d7b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1d7b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff1d893b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff1d893b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff1d893b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1d7bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1d7bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1d7bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff1d943b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff1d943b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff1d943b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff1d9b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff1d9b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff1d9b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1cf60e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1cf60e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1cf60e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1cf60e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff1d0be4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff1d0be4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff1d0be4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000fff1d0be4c 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:0 #47 0x000000fff1d17b90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000fff1d17b90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000fff1d17b90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000fff1d17b90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000fff1d17b90 clang::ento::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 #52 0x000000fff1d17e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000fff1d1965c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000fff1d1987c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000fff1d19c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000fff1d19c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000fff202703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff202703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff202703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000fff202703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000fff202703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000fff2028224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000fff2028224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000fff2028224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000fff202c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000fff202c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000fff202c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000fff202c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000fff202c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000fff026e978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000fff026e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000fff026e978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000fff026e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000fff1ae7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000fff1aa3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000fff1aa3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000fff1aa3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000fff1b379a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaac4f5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaac4f9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaac4fb234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaac4f2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe88608c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe88609cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaac4f20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang-17+0xe0a0) PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang-17 -cc1 -triple loongarch64-opencloudos-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name file2.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -target-cpu loongarch64 -target-feature +64bit -target-feature +f -target-feature +d -target-feature +ual -target-abi lp64d -debugger-tuning=gdb -fcoverage-compilation-dir=/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build -resource-dir /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/lib/gcc/loongarch64-OpenCloudOS-linux/12/../../../../loongarch64-OpenCloudOS-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir=/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build -ferror-limit 19 -fgnuc-version=4.2.1 -analyzer-output=html -faddrsig -o /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir/2024-08-16-201507-3921345-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 0x000000ffe9aeabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9ae8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9aeb3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe4ac648 (linux-vdso.so.1+0x648) #4 0x000000fff259d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff259d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff259d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff259d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff259d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff259d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff259d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff259d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff22143a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff22143a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff22143a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff22143a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff22143a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff22143a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff22143a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff22143a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff2217dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff2217dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff2217dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff2217dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff220b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff220b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff220b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff22193b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff22193b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff22193b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff220bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff220bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff220bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff22243b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff22243b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff22243b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff222b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff222b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff222b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff21860e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff21860e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff21860e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff21860e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff219be4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff219be4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff219be4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000fff219be4c 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:0 #47 0x000000fff21a7b90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000fff21a7b90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000fff21a7b90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000fff21a7b90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000fff21a7b90 clang::ento::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 #52 0x000000fff21a7e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000fff21a965c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000fff21a987c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000fff21a9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000fff21a9c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000fff24b703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff24b703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff24b703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000fff24b703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000fff24b703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000fff24b8224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000fff24b8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000fff24b8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000fff24bc604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000fff24bc604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000fff24bc604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000fff24bc604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000fff24bc604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000fff06fe978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000fff06fe978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000fff06fe978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000fff06fe978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000fff1f77b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000fff1f33354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000fff1f33354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000fff1f33354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000fff1fc79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaae995c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaae999b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaae99b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaae992034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe8cf08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe8cf09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaae9920a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang-17+0xe0a0) $ "/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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir/2024-08-16-201507-3921345-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/std-string.cpp (1151 of 19712) ******************** TEST 'Clang :: Analysis/std-string.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7036bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7034c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe70373d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe468648 (linux-vdso.so.1+0x648) #4 0x000000ffefae9388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffefae9388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffefae9388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffefae9388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffefae9388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffefae9388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffefae9388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffefae9388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef7603a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef7603a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef7603a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef7603a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef7603a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef7603a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef7603a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef7603a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef763dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef763dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef763dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef763dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef757430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef757430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef757430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef7653b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef7653b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef7653b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef757d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef757d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef757d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef7703b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef7703b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef7703b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef7771d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef7771d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef7771d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef6d2138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef6d2138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef6d2138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef6d2138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffef98e06c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000ffef98e06c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000ffef98e06c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000ffef98e06c checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StringChecker.cpp:77:49 #47 0x000000ffef98e06c 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:45 #48 0x000000ffef6c8df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #49 0x000000ffef6c8df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #50 0x000000ffef6c8df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #51 0x000000ffef6c8df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #52 0x000000ffef6c8df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #53 0x000000ffef736ce8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #54 0x000000ffef736ce8 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #55 0x000000ffef736ce8 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #56 0x000000ffef736ce8 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #57 0x000000ffef736ce8 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #58 0x000000ffef736ce8 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #59 0x000000ffef736ce8 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #60 0x000000ffef736ce8 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #61 0x000000ffef736ce8 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 #62 0x000000ffef6f2cdc clang::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 0x000000ffef6f2cdc clang::ento::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 #64 0x000000ffef6f3e0c clang::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 0x000000ffef6f565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef6f587c clang::ento::CoreEngine::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 0x000000ffef6f5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #68 0x000000ffef6f5c70 clang::ento::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 0x000000ffefa0303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #70 0x000000ffefa0303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #71 0x000000ffefa0303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #72 0x000000ffefa0303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #73 0x000000ffefa0303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #74 0x000000ffefa04224 llvm::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 0x000000ffefa04224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #76 0x000000ffefa04224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #77 0x000000ffefa08604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #78 0x000000ffefa08604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #79 0x000000ffefa08604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #80 0x000000ffefa08604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #81 0x000000ffefa08604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #82 0x000000ffedc4a978 __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 0x000000ffedc4a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #84 0x000000ffedc4a978 void clang::finalize>, 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 0x000000ffedc4a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #86 0x000000ffef4c3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #87 0x000000ffef47f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #88 0x000000ffef47f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #89 0x000000ffef47f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #90 0x000000ffef5139a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #91 0x000000aaab679c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #92 0x000000aaab67db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #93 0x000000aaab67f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #94 0x000000aaab676034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #95 0x000000ffe623c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #96 0x000000ffe623c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #97 0x000000aaab6760a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-string.cpp.script: line 1: 3927529 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-string.cpp -verify -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-checker=cplusplus.StringChecker -analyzer-config eagerly-assume=false -analyzer-output=text -- ******************** Testing: 0 FAIL: Clang :: Analysis/stl-algorithm-modeling.cpp (1152 of 19712) ******************** TEST 'Clang :: Analysis/stl-algorithm-modeling.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6732bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6730c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe67333d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc468648 (linux-vdso.so.1+0x648) #4 0x000000ffeee09510 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000ffeee09510 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffeee09510 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffeee09510 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffeee09510 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffeee09510 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000ffeee09510 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000ffeee09510 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x000000ffeee09510 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x000000ffeee09608 (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 0x000000ffeee766e4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #15 0x000000ffeee766e4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #16 0x000000ffeee766e4 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #17 0x000000ffeee766e4 (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 #18 0x000000ffeee75e7c clang::ento::BinarySymExprImpl::getLHS() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:443:0 #19 0x000000ffeee75e7c VisitSymIntExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1271:0 #20 0x000000ffeee75e7c 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 #21 0x000000ffef2e36f4 llvm::DenseMap, llvm::detail::DenseMapPair>::~DenseMap() /usr/include/llvm/ADT/DenseMap.h:782:0 #22 0x000000ffef2e36f4 ~Simplifier /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1211:0 #23 0x000000ffef2e36f4 (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 #24 0x000000ffeee54030 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #25 0x000000ffeee54030 (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 #26 0x000000ffeee53664 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x000000ffeee53664 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x000000ffeee53664 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #29 0x000000ffeee53768 clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #30 0x000000ffeee61310 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 #31 0x000000ffeee53d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #32 0x000000ffeee53d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #33 0x000000ffeee53d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #34 0x000000ffeee6c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #35 0x000000ffeee6c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #36 0x000000ffeee6c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #37 0x000000ffeee731d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #38 0x000000ffeee731d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #39 0x000000ffeee731d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #40 0x000000ffeedce0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #41 0x000000ffeedce0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #42 0x000000ffeedce0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #43 0x000000ffeedce0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #44 0x000000ffeedce688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x000000ffeedce688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x000000ffeedce688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #47 0x000000ffeed96b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #48 0x000000ffeed96b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #49 0x000000ffeed96b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #50 0x000000ffeef75b98 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #51 0x000000ffeef75b98 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #52 0x000000ffeef75b98 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 #53 0x000000ffeeee6ab8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #54 0x000000ffeeee6ab8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #55 0x000000ffeeee6ab8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #56 0x000000ffeeee6ab8 createContainerBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:850:27 #57 0x000000ffeeee6ab8 handleBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:258:33 #58 0x000000ffeeee6ab8 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:193:20 #59 0x000000ffeeee6ab8 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::ContainerModeling>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:46 #60 0x000000ffeedc4df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #61 0x000000ffeedc4df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x000000ffeedc4df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #63 0x000000ffeedc4df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #64 0x000000ffeedc4df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #65 0x000000ffeee16500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #66 0x000000ffeee16500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #67 0x000000ffeee16500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #68 0x000000ffeee16500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #69 0x000000ffeee16e4c clang::ento::ExprEngine::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 #70 0x000000ffeedeed1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #71 0x000000ffeedeed1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #72 0x000000ffeedefe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #73 0x000000ffeedf165c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #74 0x000000ffeedf187c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #75 0x000000ffeedf1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #76 0x000000ffeedf1c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #77 0x000000ffef0ff03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #78 0x000000ffef0ff03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #79 0x000000ffef0ff03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #80 0x000000ffef0ff03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #81 0x000000ffef0ff03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #82 0x000000ffef100224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #83 0x000000ffef100224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #84 0x000000ffef100224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #85 0x000000ffef104604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #86 0x000000ffef104604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #87 0x000000ffef104604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #88 0x000000ffef104604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #89 0x000000ffef104604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #90 0x000000ffed346978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #91 0x000000ffed346978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #92 0x000000ffed346978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #93 0x000000ffed346978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #94 0x000000ffeebbfb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #95 0x000000ffeeb7b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #96 0x000000ffeeb7b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #97 0x000000ffeeb7b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #98 0x000000ffeec0f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #99 0x000000aaaad01c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #100 0x000000aaaad05b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #101 0x000000aaaad07234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #102 0x000000aaaacfe034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #103 0x000000ffe59388c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #104 0x000000ffe59389cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #105 0x000000aaaacfe0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stl-algorithm-modeling.cpp.script: line 1: 3927567 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stl-algorithm-modeling.cpp -analyzer-checker=core,cplusplus,alpha.cplusplus.STLAlgorithmModeling,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/stream-error.c (1153 of 19712) ******************** TEST 'Clang :: Analysis/stream-error.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9ed2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9ed0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9ed33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc6b4648 (linux-vdso.so.1+0x648) #4 0x000000fff2985388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2985388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2985388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2985388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2985388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2985388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2985388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2985388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff25fc3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff25fc3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff25fc3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff25fc3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff25fc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff25fc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff25fc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff25fc3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff25ffdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff25ffdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff25ffdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff25ffdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff25f3430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff25f3430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff25f3430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff26013b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff26013b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff26013b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff25f3d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff25f3d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff25f3d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff260c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff260c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff260c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff26131d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff26131d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff26131d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff256e138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff256e138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff256e138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff256e138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff2814e08 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff2814e08 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff2814e08 (anonymous namespace)::StreamChecker::evalFopen((anonymous namespace)::FnDescription const*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:545:0 #46 0x000000fff2825e5c clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #47 0x000000fff2825e5c evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:525:23 #48 0x000000fff2825e5c bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::StreamChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #49 0x000000fff256d588 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #50 0x000000fff25b6440 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #51 0x000000fff25b6440 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #52 0x000000fff25b6440 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #53 0x000000fff25b6440 clang::ento::ExprEngine::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 #54 0x000000fff25b6e4c clang::ento::ExprEngine::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 0x000000fff258ed1c clang::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 0x000000fff258ed1c clang::ento::ExprEngine::Visit(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 0x000000fff258fe0c clang::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 0x000000fff259165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff259187c clang::ento::CoreEngine::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 0x000000fff2591c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #61 0x000000fff2591c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #62 0x000000fff289f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #63 0x000000fff289f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #64 0x000000fff289f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #65 0x000000fff289f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #66 0x000000fff289f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #67 0x000000fff28a0224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #68 0x000000fff28a0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #69 0x000000fff28a0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #70 0x000000fff28a4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x000000fff28a4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x000000fff28a4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #73 0x000000fff28a4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #74 0x000000fff28a4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #75 0x000000fff0ae6978 __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 0x000000fff0ae6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #77 0x000000fff0ae6978 void clang::finalize>, 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 0x000000fff0ae6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #79 0x000000fff235fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #80 0x000000fff231b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #81 0x000000fff231b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #82 0x000000fff231b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #83 0x000000fff23af9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #84 0x000000aaad511c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #85 0x000000aaad515b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #86 0x000000aaad517234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #87 0x000000aaad50e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #88 0x000000ffe90d88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #89 0x000000ffe90d89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #90 0x000000aaad50e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stream-error.c.script: line 1: 3928055 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-error.c -analyzer-checker=core -analyzer-checker=alpha.unix.Stream -analyzer-checker=debug.StreamTester -analyzer-checker=debug.ExprInspection -- ******************** Testing: 0 FAIL: Clang :: Analysis/stream-noopen.c (1154 of 19712) ******************** TEST 'Clang :: Analysis/stream-noopen.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7596bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7594c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe75973d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc678648 (linux-vdso.so.1+0x648) #4 0x000000ffefcdf30c clang::ento::MemRegion::getKind() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:172:0 #5 0x000000ffefcdf30c 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 0x000000ffefcdf30c llvm::isa_impl::doit(clang::ento::MemRegion const&) /usr/include/llvm/Support/Casting.h:64:0 #7 0x000000ffefcdf30c llvm::isa_impl_cl::doit(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:110:0 #8 0x000000ffefcdf30c llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:137:0 #9 0x000000ffefcdf30c llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:129:0 #10 0x000000ffefcdf30c llvm::CastIsPossible::isPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:257:0 #11 0x000000ffefcdf30c llvm::CastInfo::doCastIfPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:493:0 #12 0x000000ffefcdf30c decltype(auto) llvm::dyn_cast(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:663:0 #13 0x000000ffefcdf30c (anonymous namespace)::RegionStoreManager::bind((anonymous namespace)::RegionBindingsRef const&, clang::ento::Loc, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:2368:0 #14 0x000000ffefc8a63c asImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:258:0 #15 0x000000ffefc8a63c asStore /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:225:0 #16 0x000000ffefc8a63c Bind /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:443:0 #17 0x000000ffefc8a63c 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:119:0 #18 0x000000ffefd8441c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #19 0x000000ffefd8441c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #20 0x000000ffefd8441c 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 #21 0x000000ffefd860dc llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #22 0x000000ffefd860dc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #23 0x000000ffefd860dc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #24 0x000000ffefd860dc checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:149:0 #25 0x000000ffefd860dc 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 0x000000ffefc1acc8 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #27 0x000000ffefc1acc8 clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:441:26 #28 0x000000ffefc55f88 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:126:0 #29 0x000000ffeff6303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x000000ffeff6303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x000000ffeff6303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #32 0x000000ffeff6303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #33 0x000000ffeff6303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #34 0x000000ffeff64224 llvm::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 0x000000ffeff64224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x000000ffeff64224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #37 0x000000ffeff68604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x000000ffeff68604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x000000ffeff68604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x000000ffeff68604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x000000ffeff68604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x000000ffee1aa978 __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 0x000000ffee1aa978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x000000ffee1aa978 void clang::finalize>, 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 0x000000ffee1aa978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x000000ffefa23b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #47 0x000000ffef9df354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #48 0x000000ffef9df354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #49 0x000000ffef9df354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #50 0x000000ffefa739a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #51 0x000000aaae301c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x000000aaae305b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x000000aaae307234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x000000aaae2fe034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x000000ffe679c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #56 0x000000ffe679c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #57 0x000000aaae2fe0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stream-noopen.c.script: line 2: 3928122 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-note.c (1158 of 19712) ******************** TEST 'Clang :: Analysis/stream-note.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6992bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6990c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe69933d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe2dc648 (linux-vdso.so.1+0x648) #4 0x000000ffef445388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef445388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef445388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef445388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef445388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef445388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef445388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef445388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef0bc3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef0bc3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef0bc3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef0bc3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef0bc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef0bc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef0bc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef0bc3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef0bfdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef0bfdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef0bfdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef0bfdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef0b3430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef0b3430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef0b3430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef0c13b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef0c13b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef0c13b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef0b3d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef0b3d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef0b3d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef0cc3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef0cc3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef0cc3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef0d31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef0d31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef0d31d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef02e138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef02e138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef02e138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef02e138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffef2d4e08 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffef2d4e08 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffef2d4e08 (anonymous namespace)::StreamChecker::evalFopen((anonymous namespace)::FnDescription const*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:545:0 #46 0x000000ffef2e5e5c clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #47 0x000000ffef2e5e5c evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:525:23 #48 0x000000ffef2e5e5c bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::StreamChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #49 0x000000ffef02d588 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #50 0x000000ffef076440 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #51 0x000000ffef076440 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #52 0x000000ffef076440 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #53 0x000000ffef076440 clang::ento::ExprEngine::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 #54 0x000000ffef076e4c clang::ento::ExprEngine::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 0x000000ffef04ed1c clang::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 0x000000ffef04ed1c clang::ento::ExprEngine::Visit(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 0x000000ffef04fe0c clang::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 0x000000ffef05165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef05187c clang::ento::CoreEngine::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 0x000000ffef051c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #61 0x000000ffef051c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #62 0x000000ffef35f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #63 0x000000ffef35f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #64 0x000000ffef35f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #65 0x000000ffef35f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #66 0x000000ffef35f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #67 0x000000ffef360224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #68 0x000000ffef360224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #69 0x000000ffef360224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #70 0x000000ffef364604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x000000ffef364604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x000000ffef364604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #73 0x000000ffef364604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #74 0x000000ffef364604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #75 0x000000ffed5a6978 __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 0x000000ffed5a6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #77 0x000000ffed5a6978 void clang::finalize>, 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 0x000000ffed5a6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #79 0x000000ffeee1fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #80 0x000000ffeeddb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #81 0x000000ffeeddb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #82 0x000000ffeeddb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #83 0x000000ffeee6f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #84 0x000000aaae0e1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #85 0x000000aaae0e5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #86 0x000000aaae0e7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #87 0x000000aaae0de034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #88 0x000000ffe5b988c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #89 0x000000ffe5b989cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #90 0x000000aaae0de0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stream-note.c.script: line 2: 3928128 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream -analyzer-output text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-note.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/stream-stdlibraryfunctionargs.c (1159 of 19712) ******************** TEST 'Clang :: Analysis/stream-stdlibraryfunctionargs.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8e1ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8e1cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8e1f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffdd8648 (linux-vdso.so.1+0x648) #4 0x000000fff18d1388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff18d1388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff18d1388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff18d1388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff18d1388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff18d1388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff18d1388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff18d1388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff15483a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff15483a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff15483a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff15483a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff15483a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff15483a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff15483a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff15483a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff154bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff154bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff154bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff154bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff153f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff153f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff153f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff154d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff154d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff154d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff153fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff153fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff153fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff15583b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff15583b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff15583b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff155f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff155f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff155f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff14ba138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff14ba138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff14ba138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff14ba138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1760e08 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff1760e08 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff1760e08 (anonymous namespace)::StreamChecker::evalFopen((anonymous namespace)::FnDescription const*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:545:0 #46 0x000000fff1771e5c clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #47 0x000000fff1771e5c evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:525:23 #48 0x000000fff1771e5c bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::StreamChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #49 0x000000fff14b9588 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #50 0x000000fff1502440 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #51 0x000000fff1502440 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #52 0x000000fff1502440 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #53 0x000000fff1502440 clang::ento::ExprEngine::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 #54 0x000000fff1502e4c clang::ento::ExprEngine::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 0x000000fff14dad1c clang::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 0x000000fff14dad1c clang::ento::ExprEngine::Visit(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 0x000000fff14dbe0c clang::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 0x000000fff14dd65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff14dd87c clang::ento::CoreEngine::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 0x000000fff14ddc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #61 0x000000fff14ddc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #62 0x000000fff17eb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #63 0x000000fff17eb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #64 0x000000fff17eb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #65 0x000000fff17eb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #66 0x000000fff17eb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #67 0x000000fff17ec224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #68 0x000000fff17ec224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #69 0x000000fff17ec224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #70 0x000000fff17f0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x000000fff17f0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x000000fff17f0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #73 0x000000fff17f0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #74 0x000000fff17f0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #75 0x000000ffefa32978 __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 0x000000ffefa32978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #77 0x000000ffefa32978 void clang::finalize>, 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 0x000000ffefa32978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #79 0x000000fff12abb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #80 0x000000fff1267354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #81 0x000000fff1267354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #82 0x000000fff1267354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #83 0x000000fff12fb9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #84 0x000000aaada89c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #85 0x000000aaada8db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #86 0x000000aaada8f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #87 0x000000aaada86034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #88 0x000000ffe80248c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #89 0x000000ffe80249cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #90 0x000000aaada860a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stream-stdlibraryfunctionargs.c.script: line 3: 3928350 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -verify=stream,any /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-stdlibraryfunctionargs.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/stream.c (1160 of 19712) ******************** TEST 'Clang :: Analysis/stream.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe853ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe853cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe853f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffde74648 (linux-vdso.so.1+0x648) #4 0x000000fff0ff1388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0ff1388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0ff1388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0ff1388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0ff1388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0ff1388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0ff1388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0ff1388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff0c683a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff0c683a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff0c683a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff0c683a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff0c683a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff0c683a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff0c683a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff0c683a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0c6bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0c6bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0c6bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0c6bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0c5f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0c5f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0c5f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff0c6d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0c6d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0c6d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0c5fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0c5fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0c5fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff0c783b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff0c783b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff0c783b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff0c7f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff0c7f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff0c7f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0bda138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0bda138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0bda138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0bda138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff0e80e08 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff0e80e08 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff0e80e08 (anonymous namespace)::StreamChecker::evalFopen((anonymous namespace)::FnDescription const*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:545:0 #46 0x000000fff0e91e5c clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #47 0x000000fff0e91e5c evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:525:23 #48 0x000000fff0e91e5c bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::StreamChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #49 0x000000fff0bd9588 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #50 0x000000fff0c22440 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #51 0x000000fff0c22440 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #52 0x000000fff0c22440 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #53 0x000000fff0c22440 clang::ento::ExprEngine::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 #54 0x000000fff0c22e4c clang::ento::ExprEngine::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 0x000000fff0bfad1c clang::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 0x000000fff0bfad1c clang::ento::ExprEngine::Visit(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 0x000000fff0bfbe0c clang::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 0x000000fff0bfd65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff0bfd87c clang::ento::CoreEngine::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 0x000000fff0bfdc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #61 0x000000fff0bfdc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #62 0x000000fff0f0b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #63 0x000000fff0f0b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #64 0x000000fff0f0b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #65 0x000000fff0f0b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #66 0x000000fff0f0b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #67 0x000000fff0f0c224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #68 0x000000fff0f0c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #69 0x000000fff0f0c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #70 0x000000fff0f10604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x000000fff0f10604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x000000fff0f10604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #73 0x000000fff0f10604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #74 0x000000fff0f10604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #75 0x000000ffef152978 __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 0x000000ffef152978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #77 0x000000ffef152978 void clang::finalize>, 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 0x000000ffef152978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #79 0x000000fff09cbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #80 0x000000fff0987354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #81 0x000000fff0987354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #82 0x000000fff0987354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #83 0x000000fff0a1b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #84 0x000000aaae941c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #85 0x000000aaae945b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #86 0x000000aaae947234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #87 0x000000aaae93e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #88 0x000000ffe77448c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #89 0x000000ffe77449cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #90 0x000000aaae93e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stream.c.script: line 1: 3928411 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/stream.cpp (1161 of 19712) ******************** TEST 'Clang :: Analysis/stream.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe811ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe811cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe811f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff018648 (linux-vdso.so.1+0x648) #4 0x000000fff0bd1388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0bd1388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0bd1388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0bd1388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0bd1388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0bd1388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0bd1388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0bd1388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff08483a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff08483a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff08483a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff08483a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff08483a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff08483a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff08483a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff08483a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff084bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff084bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff084bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff084bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff083f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff083f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff083f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff084d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff084d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff084d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff083fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff083fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff083fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff08583b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff08583b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff08583b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff085f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff085f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff085f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff07ba138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff07ba138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff07ba138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff07ba138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff0a60e08 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff0a60e08 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff0a60e08 (anonymous namespace)::StreamChecker::evalFopen((anonymous namespace)::FnDescription const*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:545:0 #46 0x000000fff0a71e5c clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #47 0x000000fff0a71e5c evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:525:23 #48 0x000000fff0a71e5c bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::StreamChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #49 0x000000fff07b9588 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #50 0x000000fff0802440 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #51 0x000000fff0802440 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #52 0x000000fff0802440 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #53 0x000000fff0802440 clang::ento::ExprEngine::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 #54 0x000000fff0802e4c clang::ento::ExprEngine::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 0x000000fff07dad1c clang::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 0x000000fff07dad1c clang::ento::ExprEngine::Visit(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 0x000000fff07dbe0c clang::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 0x000000fff07dd65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff07dd87c clang::ento::CoreEngine::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 0x000000fff07ddc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #61 0x000000fff07ddc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #62 0x000000fff0aeb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #63 0x000000fff0aeb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #64 0x000000fff0aeb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #65 0x000000fff0aeb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #66 0x000000fff0aeb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #67 0x000000fff0aec224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #68 0x000000fff0aec224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #69 0x000000fff0aec224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #70 0x000000fff0af0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x000000fff0af0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x000000fff0af0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #73 0x000000fff0af0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #74 0x000000fff0af0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #75 0x000000ffeed32978 __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 0x000000ffeed32978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #77 0x000000ffeed32978 void clang::finalize>, 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 0x000000ffeed32978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #79 0x000000fff05abb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #80 0x000000fff0567354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #81 0x000000fff0567354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #82 0x000000fff0567354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #83 0x000000fff05fb9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #84 0x000000aaae96dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #85 0x000000aaae971b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #86 0x000000aaae973234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #87 0x000000aaae96a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #88 0x000000ffe73248c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #89 0x000000ffe73249cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #90 0x000000aaae96a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stream.cpp.script: line 1: 3928495 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/string-with-signedness.c (1162 of 19712) ******************** TEST 'Clang :: Analysis/string-with-signedness.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7f7ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7f7cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7f7f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd060648 (linux-vdso.so.1+0x648) #4 0x000000fff06f9454 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000fff06f9454 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff06f9454 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff06f9454 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff06f9454 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff06f9454 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 0x000000fff06f9454 get<(anonymous namespace)::CStringLength> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000fff06f9454 getCStringLengthForRegion /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:853:53 #12 0x000000fff06f9454 (anonymous namespace)::CStringChecker::getCStringLength(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr&, clang::Expr const*, clang::ento::SVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:930:37 #13 0x000000fff06fc4c4 llvm::CastInfo::doCast(clang::ento::SVal const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h:568:66 #14 0x000000fff06fc4c4 llvm::CastInfo::doCastIfPossible(clang::ento::SVal const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h:573:18 #15 0x000000fff06fc4c4 decltype(auto) llvm::dyn_cast(clang::ento::SVal const&) /usr/include/llvm/Support/Casting.h:651:52 #16 0x000000fff06fc4c4 std::optional clang::ento::SVal::getAs() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h:105:29 #17 0x000000fff06fc4c4 (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:1720:68 #18 0x000000fff06e7de8 std::_Function_base::~_Function_base() /usr/include/c++/12/bits/std_function.h:243:11 #19 0x000000fff06e7de8 ~function /usr/include/c++/12/bits/std_function.h:334:11 #20 0x000000fff06e7de8 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2516:1 #21 0x000000fff06e7de8 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 #22 0x000000fff0619588 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 #23 0x000000fff0662440 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #24 0x000000fff0662440 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #25 0x000000fff0662440 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #26 0x000000fff0662440 clang::ento::ExprEngine::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 #27 0x000000fff0662e4c clang::ento::ExprEngine::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 #28 0x000000fff063ad1c clang::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 0x000000fff063ad1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #30 0x000000fff063be0c clang::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 0x000000fff063d65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff063d87c clang::ento::CoreEngine::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 0x000000fff063dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #34 0x000000fff063dc70 clang::ento::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 0x000000fff094b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #36 0x000000fff094b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #37 0x000000fff094b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #38 0x000000fff094b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #39 0x000000fff094b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #40 0x000000fff094c224 llvm::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 0x000000fff094c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #42 0x000000fff094c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #43 0x000000fff0950604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #44 0x000000fff0950604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #45 0x000000fff0950604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #46 0x000000fff0950604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #47 0x000000fff0950604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #48 0x000000ffeeb92978 __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 0x000000ffeeb92978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #50 0x000000ffeeb92978 void clang::finalize>, 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 0x000000ffeeb92978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #52 0x000000fff040bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #53 0x000000fff03c7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #54 0x000000fff03c7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #55 0x000000fff03c7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #56 0x000000fff045b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #57 0x000000aaab645c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #58 0x000000aaab649b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #59 0x000000aaab64b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #60 0x000000aaab642034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #61 0x000000ffe71848c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #62 0x000000ffe71849cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #63 0x000000aaab6420a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/string-with-signedness.c.script: line 1: 3928997 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/structured_bindings.cpp (1166 of 19712) ******************** TEST 'Clang :: Analysis/structured_bindings.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea3eabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea3e8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea3eb3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffcac648 (linux-vdso.so.1+0x648) #4 0x000000fff2a74f7c retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000fff2a74f7c retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff2a74f7c retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff2a74f7c IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff2a74f7c ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff2a74f7c MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff2a74f7c get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000fff2a74f7c 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 0x000000fff2acc97c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x000000fff2acc97c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x000000fff2acc97c 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 #15 0x000000fff2acd5dc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x000000fff2acd5dc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x000000fff2acd5dc 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 #18 0x000000fff2aeaee0 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 #19 0x000000fff2aa6cdc clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #20 0x000000fff2aa6cdc clang::ento::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 #21 0x000000fff2aa7e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #22 0x000000fff2aa965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff2aa987c clang::ento::CoreEngine::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 0x000000fff2aa9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x000000fff2aa9c70 clang::ento::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 0x000000fff2db703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff2db703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff2db703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x000000fff2db703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x000000fff2db703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x000000fff2db8224 llvm::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 0x000000fff2db8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x000000fff2db8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x000000fff2dbc604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x000000fff2dbc604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x000000fff2dbc604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x000000fff2dbc604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x000000fff2dbc604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x000000fff0ffe978 __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 0x000000fff0ffe978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x000000fff0ffe978 void clang::finalize>, 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 0x000000fff0ffe978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x000000fff2877b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x000000fff2833354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x000000fff2833354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x000000fff2833354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x000000fff28c79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000000aaac2adc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000000aaac2b1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000000aaac2b3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000000aaac2aa034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x000000ffe95f08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #53 0x000000ffe95f09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #54 0x000000aaac2aa0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/structured_bindings.cpp.script: line 1: 3929359 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/structured_bindings.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/string.c (1167 of 19712) ******************** TEST 'Clang :: Analysis/string.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe878abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8788c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe878b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffda74648 (linux-vdso.so.1+0x648) #4 0x000000fff133bac8 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff133bac8 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff133bac8 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff133bac8 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff133bac8 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff133bac8 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 0x000000fff133bac8 get<(anonymous namespace)::CStringLength> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff133bac8 (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 0x000000fff0eee3ac 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:307:3 #13 0x000000fff0e1b5a0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #14 0x000000fff0e1b5a0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x000000fff0e1b5a0 clang::ento::CheckerFn, clang::ento::SymbolReaper&)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:12 #16 0x000000fff0e1b5a0 clang::ento::CheckerManager::runCheckersForLiveSymbols(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:547:23 #17 0x000000fff0e400b0 llvm::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 0x000000fff0e400b0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #19 0x000000fff0e400b0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x000000fff0e400b0 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #21 0x000000fff0e47d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #22 0x000000fff0e47d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #23 0x000000fff0e47d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #24 0x000000fff0e47d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #25 0x000000fff0e47d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #26 0x000000fff0e47d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #27 0x000000fff0e47d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #28 0x000000fff0e47d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #29 0x000000fff0e47d94 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 #30 0x000000fff0e4965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff0e4987c clang::ento::CoreEngine::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 0x000000fff0e49c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #33 0x000000fff0e49c70 clang::ento::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 0x000000fff115703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #35 0x000000fff115703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #36 0x000000fff115703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #37 0x000000fff115703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #38 0x000000fff115703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #39 0x000000fff1158224 llvm::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 0x000000fff1158224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x000000fff1158224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #42 0x000000fff115c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x000000fff115c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x000000fff115c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x000000fff115c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x000000fff115c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x000000ffef39e978 __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 0x000000ffef39e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #49 0x000000ffef39e978 void clang::finalize>, 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 0x000000ffef39e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #51 0x000000fff0c17b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #52 0x000000fff0bd3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #53 0x000000fff0bd3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #54 0x000000fff0bd3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #55 0x000000fff0c679a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #56 0x000000aaad015c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #57 0x000000aaad019b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #58 0x000000aaad01b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #59 0x000000aaad012034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #60 0x000000ffe79908c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #61 0x000000ffe79909cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #62 0x000000aaad0120a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/string.c.script: line 5: 3929280 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/svalbuilder-float-cast.c (1168 of 19712) ******************** TEST 'Clang :: Analysis/svalbuilder-float-cast.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe987abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9878c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe987b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc0f4648 (linux-vdso.so.1+0x648) #4 0x000000fff206ba04 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff206ba04 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff206ba04 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff206ba04 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff206ba04 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff206ba04 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 0x000000fff206ba04 get<(anonymous namespace)::DenotedSymbols> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff206ba04 (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 0x000000fff1efe8e8 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x000000fff1f301b4 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x000000fff1f301b4 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x000000fff1f301b4 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #16 0x000000fff1f301b4 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #17 0x000000fff1f301b4 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #18 0x000000fff1f301b4 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #19 0x000000fff1f301b4 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #20 0x000000fff1f37d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x000000fff1f37d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x000000fff1f37d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x000000fff1f37d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x000000fff1f37d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x000000fff1f37d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x000000fff1f37d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x000000fff1f37d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x000000fff1f37d94 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 0x000000fff1f3965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff1f3987c clang::ento::CoreEngine::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 0x000000fff1f39c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #32 0x000000fff1f39c70 clang::ento::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 0x000000fff224703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x000000fff224703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x000000fff224703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #36 0x000000fff224703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #37 0x000000fff224703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #38 0x000000fff2248224 llvm::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 0x000000fff2248224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #40 0x000000fff2248224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #41 0x000000fff224c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x000000fff224c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x000000fff224c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #44 0x000000fff224c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #45 0x000000fff224c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #46 0x000000fff048e978 __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 0x000000fff048e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #48 0x000000fff048e978 void clang::finalize>, 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 0x000000fff048e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #50 0x000000fff1d07b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #51 0x000000fff1cc3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #52 0x000000fff1cc3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #53 0x000000fff1cc3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #54 0x000000fff1d579a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #55 0x000000aaabb15c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #56 0x000000aaabb19b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #57 0x000000aaabb1b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #58 0x000000aaabb12034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #59 0x000000ffe8a808c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #60 0x000000ffe8a809cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #61 0x000000aaabb120a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/svalbuilder-float-cast.c.script: line 2: 3929448 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/string.cpp (1169 of 19712) ******************** TEST 'Clang :: Analysis/string.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe94f2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe94f0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe94f33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc12c648 (linux-vdso.so.1+0x648) #4 0x000000fff1fa5388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1fa5388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1fa5388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1fa5388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1fa5388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1fa5388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1fa5388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1fa5388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff1c1c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff1c1c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff1c1c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff1c1c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff1c1c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff1c1c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff1c1c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff1c1c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1c1fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1c1fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1c1fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1c1fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1c13430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1c13430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1c13430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff1c213b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff1c213b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff1c213b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1c13d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1c13d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1c13d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff1c2c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff1c2c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff1c2c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff1c331d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff1c331d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff1c331d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1b8e138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1b8e138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1b8e138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1b8e138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1b8e688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff1b8e688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff1b8e688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff1b56b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff1b56b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff1b56b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff1ba2674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff1ba2674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff1ba2674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000fff1bb2010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff1bb2010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff1bb2010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff1ebf03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff1ebf03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff1ebf03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff1ebf03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff1ebf03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff1ec0224 llvm::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 0x000000fff1ec0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff1ec0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff1ec4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff1ec4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff1ec4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff1ec4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff1ec4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000fff0106978 __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 0x000000fff0106978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000fff0106978 void clang::finalize>, 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 0x000000fff0106978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff197fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff193b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff193b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff193b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff19cf9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaae875c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaae879b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaae87b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaae872034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe86f88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe86f89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaae8720a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/string.cpp.script: line 1: 3929334 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/svalbuilder-casts.cpp (1170 of 19712) ******************** TEST 'Clang :: Analysis/svalbuilder-casts.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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 0x000000ffe8692bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8690c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe86933d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc200648 (linux-vdso.so.1+0x648) #4 0x000000fff1145388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1145388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1145388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1145388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1145388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1145388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1145388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1145388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff0dbc3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff0dbc3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff0dbc3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff0dbc3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff0dbc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff0dbc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff0dbc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff0dbc3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0dbfdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0dbfdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0dbfdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0dbfdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0db3430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0db3430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0db3430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff0dc13b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0dc13b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0dc13b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0db3d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0db3d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0db3d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff0dcc3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff0dcc3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff0dcc3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff0dd31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff0dd31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff0dd31d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0d2e0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0d2e0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0d2e0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0d2e0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff1284114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff1284114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff1284114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff0d3f190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff0d3f190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff0d3f190 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:0 #49 0x000000fff0d3f190 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:0 #50 0x000000fff0d3f190 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:0 #51 0x000000fff0d3f190 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:0 #52 0x000000fff0d3f190 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:0 #53 0x000000fff0d3f190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff0d3f190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff0d3f190 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:0 #56 0x000000fff0d3f7ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff0d51c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff0d51c70 clang::ento::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 0x000000fff105f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff105f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff105f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff105f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff105f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff1060224 llvm::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 0x000000fff1060224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff1060224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff1064604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff1064604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff1064604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff1064604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff1064604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffef2a6978 __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 0x000000ffef2a6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffef2a6978 void clang::finalize>, 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 0x000000ffef2a6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff0b1fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff0adb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff0adb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff0adb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff0b6f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaae015c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaae019b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaae01b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaae012034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe78988c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe78989cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaae0120a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/svalbuilder-casts.cpp.script: line 1: 3929409 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-casts.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config support-symbolic-integer-casts=true -analyzer-config eagerly-assume=false -triple x86_64-unknown-linux-gnu -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/svalbuilder-logic.c (1171 of 19712) ******************** TEST 'Clang :: Analysis/svalbuilder-logic.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8b1ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8b1cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8b1f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcf44648 (linux-vdso.so.1+0x648) #4 0x000000fff15d1388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff15d1388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff15d1388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff15d1388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff15d1388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff15d1388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff15d1388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff15d1388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff12483a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff12483a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff12483a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff12483a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff12483a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff12483a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff12483a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff12483a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff124bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff124bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff124bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff124bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff123f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff123f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff123f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff124d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff124d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff124d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff123fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff123fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff123fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff12583b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff12583b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff12583b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff125f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff125f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff125f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff11ba0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff11ba0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff11ba0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff11ba0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff11cfe4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff11cfe4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff11cfe4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000fff11cfe4c 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:0 #47 0x000000fff11dbb90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000fff11dbb90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000fff11dbb90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000fff11dbb90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000fff11dbb90 clang::ento::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 #52 0x000000fff11dbe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000fff11dd65c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000fff11dd87c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000fff11ddc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000fff11ddc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000fff14eb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff14eb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff14eb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000fff14eb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000fff14eb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000fff14ec224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000fff14ec224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000fff14ec224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000fff14f0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000fff14f0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000fff14f0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000fff14f0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000fff14f0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000ffef732978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000ffef732978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000ffef732978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000ffef732978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000fff0fabb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000fff0f67354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000fff0f67354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000fff0f67354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000fff0ffb9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaabcd9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaabcddb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaabcdf234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaabcd6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe7d248c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe7d249cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaabcd60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/svalbuilder-logic.c.script: line 1: 3929822 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -Wno-pointer-to-int-cast -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-logic.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/svalbuilder-rearrange-comparisons.cpp (1172 of 19712) ******************** TEST 'Clang :: Analysis/svalbuilder-rearrange-comparisons.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea4d6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea4d4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea4d73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffdc58648 (linux-vdso.so.1+0x648) #4 0x000000fff2c249e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2c249e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2c249e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2c249e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000fff2c249e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000fff2c249e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000fff2b8c278 llvm::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 0x000000fff2b8c278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000fff2b8c278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000fff2b8c278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000fff2b93d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #15 0x000000fff2b93d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #16 0x000000fff2b93d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #17 0x000000fff2b93d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #18 0x000000fff2b93d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #19 0x000000fff2b93d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #20 0x000000fff2b93d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #21 0x000000fff2b93d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #22 0x000000fff2b93d94 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 #23 0x000000fff2b9565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff2b95780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #25 0x000000fff2b95a58 clang::ento::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 #26 0x000000fff2b95c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000fff2b95c70 clang::ento::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 0x000000fff2ea303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000fff2ea303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000fff2ea303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000fff2ea303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000fff2ea303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000fff2ea4224 llvm::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 0x000000fff2ea4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000fff2ea4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000fff2ea8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000fff2ea8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000fff2ea8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000fff2ea8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000fff2ea8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000fff10ea978 __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 0x000000fff10ea978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x000000fff10ea978 void clang::finalize>, 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 0x000000fff10ea978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x000000fff2963b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x000000fff291f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x000000fff291f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x000000fff291f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x000000fff29b39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #50 0x000000aaabb79c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x000000aaabb7db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x000000aaabb7f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x000000aaabb76034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x000000ffe96dc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #55 0x000000ffe96dc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #56 0x000000aaabb760a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/svalbuilder-rearrange-comparisons.cpp.script: line 2: 3929944 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection,core.builtin -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config support-symbolic-integer-casts=false -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-rearrange-comparisons.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/svalbuilder-simplify-in-evalbinop.cpp (1173 of 19712) ******************** TEST 'Clang :: Analysis/svalbuilder-simplify-in-evalbinop.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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 0x000000ffe6a66bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6a64c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6a673d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd6a4648 (linux-vdso.so.1+0x648) #4 0x000000ffef519388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef519388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef519388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef519388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef519388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef519388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef519388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef519388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef1903a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef1903a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef1903a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef1903a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef1903a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef1903a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef1903a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef1903a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef193dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef193dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef193dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef193dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef187430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef187430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef187430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef1953b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef1953b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef1953b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef187d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef187d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef187d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef1a03b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef1a03b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef1a03b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef1a71d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef1a71d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef1a71d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef102138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef102138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef102138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef102138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffef658114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000ffef658114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000ffef658114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000ffef113190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000ffef113190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000ffef113190 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:0 #49 0x000000ffef113190 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:0 #50 0x000000ffef113190 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:0 #51 0x000000ffef113190 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:0 #52 0x000000ffef113190 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:0 #53 0x000000ffef113190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000ffef113190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000ffef113190 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:0 #56 0x000000ffef1137ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000ffef125c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000ffef125c70 clang::ento::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 0x000000ffef43303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000ffef43303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000ffef43303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000ffef43303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000ffef43303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000ffef434224 llvm::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 0x000000ffef434224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000ffef434224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000ffef438604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000ffef438604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000ffef438604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000ffef438604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000ffef438604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffed67a978 __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 0x000000ffed67a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffed67a978 void clang::finalize>, 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 0x000000ffed67a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000ffeeef3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000ffeeeaf354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000ffeeeaf354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000ffeeeaf354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000ffeef439a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaac325c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaac329b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaac32b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaac322034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe5c6c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe5c6c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaac3220a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/svalbuilder-simplify-in-evalbinop.cpp.script: line 1: 3930048 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-in-evalbinop.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/svalbuilder-simplify-intsym.cpp (1175 of 19712) ******************** TEST 'Clang :: Analysis/svalbuilder-simplify-intsym.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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 0x000000ffe7fb6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7fb4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7fb73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd150648 (linux-vdso.so.1+0x648) #4 0x000000fff0a69388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0a69388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0a69388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0a69388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0a69388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0a69388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0a69388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0a69388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff06e03a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff06e03a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff06e03a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff06e03a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff06e03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff06e03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff06e03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff06e03a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff06e3dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff06e3dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff06e3dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff06e3dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff06e265c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff06e265c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff06e265c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000fff06e5444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff06e5444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff06e5444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000fff06d7d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff06d7d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff06d7d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff06f03b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff06f03b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff06f03b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff06f71d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff06f71d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff06f71d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0652138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0652138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0652138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0652138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff079bf24 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #44 0x000000fff079bf24 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #45 0x000000fff079bf24 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #46 0x000000fff079bf24 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #47 0x000000fff079bf24 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #48 0x000000fff079bf24 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp:99:0 #49 0x000000fff079bf24 void clang::ento::check::PreStmt::_checkStmt<(anonymous namespace)::DivZeroChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:85:0 #50 0x000000fff0639ea8 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #51 0x000000fff0639ea8 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:26 #52 0x000000fff06adeec llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #53 0x000000fff06adeec llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #54 0x000000fff06adeec llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #55 0x000000fff06adeec llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #56 0x000000fff06adeec llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #57 0x000000fff06adeec clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #58 0x000000fff06adeec 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 #59 0x000000fff0673ab8 clang::ento::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 #60 0x000000fff0673e0c clang::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 0x000000fff067565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff067587c clang::ento::CoreEngine::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 0x000000fff0675c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #64 0x000000fff0675c70 clang::ento::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 0x000000fff098303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #66 0x000000fff098303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #67 0x000000fff098303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #68 0x000000fff098303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #69 0x000000fff098303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #70 0x000000fff0984224 llvm::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 0x000000fff0984224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #72 0x000000fff0984224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #73 0x000000fff0988604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #74 0x000000fff0988604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #75 0x000000fff0988604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #76 0x000000fff0988604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #77 0x000000fff0988604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #78 0x000000ffeebca978 __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 0x000000ffeebca978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #80 0x000000ffeebca978 void clang::finalize>, 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 0x000000ffeebca978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #82 0x000000fff0443b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #83 0x000000fff03ff354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #84 0x000000fff03ff354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #85 0x000000fff03ff354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #86 0x000000fff04939a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #87 0x000000aaacc2dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #88 0x000000aaacc31b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #89 0x000000aaacc33234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #90 0x000000aaacc2a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #91 0x000000ffe71bc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #92 0x000000ffe71bc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #93 0x000000aaacc2a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/svalbuilder-simplify-intsym.cpp.script: line 1: 3930199 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/svalbuilder-simplify-compound-svals.cpp (1176 of 19712) ******************** TEST 'Clang :: Analysis/svalbuilder-simplify-compound-svals.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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 0x000000ffe672ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe672cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe672f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffd40648 (linux-vdso.so.1+0x648) #4 0x000000ffeee58a78 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000ffeee58a78 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffeee58a78 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffeee58a78 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffeee58a78 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffeee58a78 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000ffeee58a78 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000ffeee58a78 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2507:63 #12 0x000000ffeee58a78 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2494:46 #13 0x000000ffeee58a78 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2487:73 #14 0x000000ffeee58a78 trackDisequality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2155:72 #15 0x000000ffeee58a78 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2241:31 #16 0x000000ffeee58a78 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #17 0x000000ffeee58a78 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #18 0x000000ffeee58a78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #19 0x000000ffeee58a78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #20 0x000000ffeee58a78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #21 0x000000ffeee58a78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #22 0x000000ffeee5baec llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #23 0x000000ffeee5baec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #24 0x000000ffeee5baec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x000000ffeee5baec (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:31 #26 0x000000ffeee5a65c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x000000ffeee5a65c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x000000ffeee5a65c 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 0x000000ffeee4fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x000000ffeee4fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x000000ffeee4fd18 clang::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 0x000000ffeee683b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #33 0x000000ffeee683b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #34 0x000000ffeee683b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #35 0x000000ffeee6f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #36 0x000000ffeee6f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #37 0x000000ffeee6f1d4 clang::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 0x000000ffeedca0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #39 0x000000ffeedca0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #40 0x000000ffeedca0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #41 0x000000ffeedca0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #42 0x000000ffef320114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #43 0x000000ffef320114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #44 0x000000ffef320114 clang::ento::ProgramState::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 0x000000ffeeddb190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #46 0x000000ffeeddb190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #47 0x000000ffeeddb190 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:0 #48 0x000000ffeeddb190 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:0 #49 0x000000ffeeddb190 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:0 #50 0x000000ffeeddb190 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:0 #51 0x000000ffeeddb190 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:0 #52 0x000000ffeeddb190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #53 0x000000ffeeddb190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #54 0x000000ffeeddb190 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:0 #55 0x000000ffeeddb7ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #56 0x000000ffeededc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #57 0x000000ffeededc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x000000ffef0fb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #59 0x000000ffef0fb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #60 0x000000ffef0fb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #61 0x000000ffef0fb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #62 0x000000ffef0fb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #63 0x000000ffef0fc224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x000000ffef0fc224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x000000ffef0fc224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #66 0x000000ffef100604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x000000ffef100604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x000000ffef100604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x000000ffef100604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x000000ffef100604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x000000ffed342978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x000000ffed342978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x000000ffed342978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x000000ffed342978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x000000ffeebbbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #76 0x000000ffeeb77354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #77 0x000000ffeeb77354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #78 0x000000ffeeb77354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #79 0x000000ffeec0b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #80 0x000000aaae6d1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x000000aaae6d5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x000000aaae6d7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x000000aaae6ce034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x000000ffe59348c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #85 0x000000ffe59349cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #86 0x000000aaae6ce0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/svalbuilder-simplify-compound-svals.cpp.script: line 1: 3930018 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-compound-svals.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/svalbuilder-simplify-no-crash.c (1177 of 19712) ******************** TEST 'Clang :: Analysis/svalbuilder-simplify-no-crash.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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 0x000000ffe8a6ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8a6cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8a6f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc550648 (linux-vdso.so.1+0x648) #4 0x000000fff1521388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1521388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1521388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1521388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1521388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1521388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1521388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1521388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff11983a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff11983a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff11983a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff11983a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff11983a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff11983a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff11983a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff11983a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff119baec llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff119baec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff119baec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff119baec (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:31 #24 0x000000fff119a65c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff119a65c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff119a65c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000fff118fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff118fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff118fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #30 0x000000fff11a83b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #31 0x000000fff11a83b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #32 0x000000fff11a83b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #33 0x000000fff11af1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x000000fff11af1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x000000fff11af1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #36 0x000000fff110a0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff110a0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff110a0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #39 0x000000fff110a0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #40 0x000000fff1660114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x000000fff1660114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x000000fff1660114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #43 0x000000fff111b190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #44 0x000000fff111b190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #45 0x000000fff111b190 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:0 #46 0x000000fff111b190 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:0 #47 0x000000fff111b190 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:0 #48 0x000000fff111b190 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:0 #49 0x000000fff111b190 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:0 #50 0x000000fff111b190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #51 0x000000fff111b190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #52 0x000000fff111b190 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:0 #53 0x000000fff111b7ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #54 0x000000fff112dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x000000fff112dc70 clang::ento::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 0x000000fff143b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x000000fff143b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x000000fff143b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x000000fff143b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x000000fff143b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x000000fff143c224 llvm::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 0x000000fff143c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x000000fff143c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x000000fff1440604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x000000fff1440604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x000000fff1440604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x000000fff1440604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x000000fff1440604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x000000ffef682978 __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 0x000000ffef682978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x000000ffef682978 void clang::finalize>, 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 0x000000ffef682978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x000000fff0efbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x000000fff0eb7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x000000fff0eb7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x000000fff0eb7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x000000fff0f4b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x000000aaac0b1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x000000aaac0b5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x000000aaac0b7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x000000aaac0ae034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x000000ffe7c748c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #83 0x000000ffe7c749cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #84 0x000000aaac0ae0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/svalbuilder-simplify-no-crash.c.script: line 1: 3930442 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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 19712) ******************** TEST 'Clang :: Analysis/switch-case.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8abebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8abcc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8abf3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff608648 (linux-vdso.so.1+0x648) #4 0x000000fff120c9e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff120c9e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff120c9e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff120c9e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000fff120c9e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000fff120c9e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000fff1174278 llvm::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 0x000000fff1174278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000fff1174278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000fff1174278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000fff117bd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #15 0x000000fff117bd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #16 0x000000fff117bd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #17 0x000000fff117bd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #18 0x000000fff117bd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #19 0x000000fff117bd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #20 0x000000fff117bd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #21 0x000000fff117bd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #22 0x000000fff117bd94 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 #23 0x000000fff117d65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff117d780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #25 0x000000fff117da58 clang::ento::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 #26 0x000000fff117dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000fff117dc70 clang::ento::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 0x000000fff148b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000fff148b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000fff148b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000fff148b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000fff148b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000fff148c224 llvm::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 0x000000fff148c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000fff148c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000fff1490604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000fff1490604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000fff1490604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000fff1490604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000fff1490604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000ffef6d2978 __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 0x000000ffef6d2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x000000ffef6d2978 void clang::finalize>, 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 0x000000ffef6d2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x000000fff0f4bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x000000fff0f07354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x000000fff0f07354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x000000fff0f07354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x000000fff0f9b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #50 0x000000aaadd19c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x000000aaadd1db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x000000aaadd1f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x000000aaadd16034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x000000ffe7cc48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #55 0x000000ffe7cc49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #56 0x000000aaadd160a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/switch-case.c.script: line 1: 3930584 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 19712) ******************** TEST 'Clang :: Analysis/symbol-escape.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6932bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6930c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe69333d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe8f8648 (linux-vdso.so.1+0x648) #4 0x000000ffef3e5388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef3e5388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef3e5388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef3e5388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef3e5388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef3e5388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef3e5388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef3e5388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef05c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef05c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef05c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef05c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef05c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef05c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef05c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef05c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef05fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef05fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef05fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef05fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef053430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef053430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef053430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef0613b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef0613b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef0613b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef053d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef053d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef053d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef06c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef06c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef06c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef0731d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef0731d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef0731d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffeefce138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffeefce138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffeefce138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffeefce138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffeefce688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffeefce688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffeefce688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000ffef0359ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000ffef0359ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000ffef0359ac clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000ffef0359ac clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #50 0x000000ffeefe8d50 clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1318:0 #51 0x000000ffeeff16a8 clang::ento::ExprEngine::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 #52 0x000000ffeeff1780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #53 0x000000ffeeff1a58 clang::ento::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 #54 0x000000ffeeff1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x000000ffeeff1c70 clang::ento::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 0x000000ffef2ff03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x000000ffef2ff03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x000000ffef2ff03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x000000ffef2ff03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x000000ffef2ff03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x000000ffef300224 llvm::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 0x000000ffef300224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x000000ffef300224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x000000ffef304604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x000000ffef304604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x000000ffef304604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x000000ffef304604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x000000ffef304604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x000000ffed546978 __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 0x000000ffed546978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x000000ffed546978 void clang::finalize>, 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 0x000000ffed546978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x000000ffeedbfb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x000000ffeed7b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x000000ffeed7b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x000000ffeed7b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x000000ffeee0f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x000000aaab851c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x000000aaab855b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x000000aaab857234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x000000aaab84e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x000000ffe5b388c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #83 0x000000ffe5b389cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #84 0x000000aaab84e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-escape.cpp.script: line 1: 3930736 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-reaper-lambda.cpp (1180 of 19712) ******************** TEST 'Clang :: Analysis/symbol-reaper-lambda.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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 0x000000ffe6dc2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6dc0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6dc33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffdbcc648 (linux-vdso.so.1+0x648) #4 0x000000ffef47b664 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000ffef47b664 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffef47b664 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffef47b664 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffef47b664 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffef47b664 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000ffef47b664 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000ffef47b664 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 0x000000ffef47c08c 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 0x000000ffef481a18 clang::ento::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 0x000000ffef481c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x000000ffef481c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x000000ffef78f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x000000ffef78f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x000000ffef78f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x000000ffef78f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x000000ffef78f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x000000ffef790224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x000000ffef790224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x000000ffef790224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x000000ffef794604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x000000ffef794604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x000000ffef794604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x000000ffef794604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x000000ffef794604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x000000ffed9d6978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x000000ffed9d6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x000000ffed9d6978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x000000ffed9d6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x000000ffef24fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x000000ffef20b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x000000ffef20b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x000000ffef20b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x000000ffef29f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000000aaae6ddc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000000aaae6e1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000000aaae6e3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000000aaae6da034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x000000ffe5fc88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #43 0x000000ffe5fc89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #44 0x000000aaae6da0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-reaper-lambda.cpp.script: line 1: 3931017 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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/symbol-reaper.cpp (1182 of 19712) ******************** TEST 'Clang :: Analysis/symbol-reaper.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8eeabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8ee8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8eeb3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe8b4648 (linux-vdso.so.1+0x648) #4 0x000000fff199d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff199d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff199d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff199d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff199d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff199d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff199d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff199d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff16143a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff16143a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff16143a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff16143a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff16143a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff16143a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff16143a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff16143a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1617dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1617dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1617dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1617dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff160b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff160b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff160b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff16193b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff16193b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff16193b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff160bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff160bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff160bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff16243b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff16243b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff16243b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff162b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff162b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff162b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff15860e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff15860e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff15860e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff15860e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff159be4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff159be4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff159be4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000fff159be4c 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:0 #47 0x000000fff15a7b90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000fff15a7b90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000fff15a7b90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000fff15a7b90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000fff15a7b90 clang::ento::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 #52 0x000000fff15a7e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000fff15a965c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000fff15a987c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000fff15a9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000fff15a9c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000fff18b703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff18b703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff18b703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000fff18b703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000fff18b703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000fff18b8224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000fff18b8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000fff18b8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000fff18bc604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000fff18bc604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000fff18bc604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000fff18bc604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000fff18bc604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000ffefafe978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000ffefafe978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000ffefafe978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000ffefafe978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000fff1377b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000fff1333354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000fff1333354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000fff1333354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000fff13c79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaad6e1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaad6e5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaad6e7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaad6de034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe80f08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe80f09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaad6de0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-reaper.cpp.script: line 1: 3931377 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-reaper.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/symbol-reaper.c (1183 of 19712) ******************** TEST 'Clang :: Analysis/symbol-reaper.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6f06bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6f04c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6f073d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffca0648 (linux-vdso.so.1+0x648) #4 0x000000ffef6f7784 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef6f7784 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef6f7784 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef6f7784 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef6f7784 llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:0 #9 0x000000ffef6f7784 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 0x000000ffef6f7784 get<(anonymous namespace)::MarkedSymbols> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef6f7784 (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 0x000000ffef58a8e8 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x000000ffef5bc1b4 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x000000ffef5bc1b4 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x000000ffef5bc1b4 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #16 0x000000ffef5bc1b4 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #17 0x000000ffef5bc1b4 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #18 0x000000ffef5bc1b4 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #19 0x000000ffef5bc1b4 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #20 0x000000ffef5c3d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x000000ffef5c3d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x000000ffef5c3d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x000000ffef5c3d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x000000ffef5c3d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x000000ffef5c3d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x000000ffef5c3d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x000000ffef5c3d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x000000ffef5c3d94 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 0x000000ffef5c565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef5c587c clang::ento::CoreEngine::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 0x000000ffef5c5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #32 0x000000ffef5c5c70 clang::ento::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 0x000000ffef8d303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x000000ffef8d303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x000000ffef8d303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #36 0x000000ffef8d303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #37 0x000000ffef8d303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #38 0x000000ffef8d4224 llvm::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 0x000000ffef8d4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #40 0x000000ffef8d4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #41 0x000000ffef8d8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x000000ffef8d8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x000000ffef8d8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #44 0x000000ffef8d8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #45 0x000000ffef8d8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #46 0x000000ffedb1a978 __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 0x000000ffedb1a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #48 0x000000ffedb1a978 void clang::finalize>, 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 0x000000ffedb1a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #50 0x000000ffef393b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #51 0x000000ffef34f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #52 0x000000ffef34f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #53 0x000000ffef34f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #54 0x000000ffef3e39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #55 0x000000aaad125c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #56 0x000000aaad129b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #57 0x000000aaad12b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #58 0x000000aaad122034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #59 0x000000ffe610c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #60 0x000000ffe610c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #61 0x000000aaad1220a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-reaper.c.script: line 1: 3931310 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -Wno-pointer-to-int-cast -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-reaper.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/symbol-simplification-assertion.c (1185 of 19712) ******************** TEST 'Clang :: Analysis/symbol-simplification-assertion.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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 0x000000ffe92e2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe92e0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe92e33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc74c648 (linux-vdso.so.1+0x648) #4 0x000000fff1a0ca78 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff1a0ca78 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff1a0ca78 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff1a0ca78 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff1a0ca78 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff1a0ca78 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff1a0ca78 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff1a0ca78 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2507:63 #12 0x000000fff1a0ca78 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2494:46 #13 0x000000fff1a0ca78 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2487:73 #14 0x000000fff1a0ca78 trackDisequality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2155:72 #15 0x000000fff1a0ca78 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2241:31 #16 0x000000fff1a0ca78 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #17 0x000000fff1a0ca78 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #18 0x000000fff1a0ca78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #19 0x000000fff1a0ca78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #20 0x000000fff1a0ca78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #21 0x000000fff1a0ca78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #22 0x000000fff1a0faec llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #23 0x000000fff1a0faec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #24 0x000000fff1a0faec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x000000fff1a0faec (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:31 #26 0x000000fff1a0e65c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x000000fff1a0e65c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x000000fff1a0e65c 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 0x000000fff1a03d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x000000fff1a03d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x000000fff1a03d18 clang::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 0x000000fff1a1c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #33 0x000000fff1a1c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #34 0x000000fff1a1c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #35 0x000000fff1a231d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #36 0x000000fff1a231d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #37 0x000000fff1a231d4 clang::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 0x000000fff197e0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #39 0x000000fff197e0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #40 0x000000fff197e0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #41 0x000000fff197e0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #42 0x000000fff1993e4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x000000fff1993e4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x000000fff1993e4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #45 0x000000fff1993e4c 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:0 #46 0x000000fff199fb90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #47 0x000000fff199fb90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #48 0x000000fff199fb90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #49 0x000000fff199fb90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #50 0x000000fff199fb90 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #51 0x000000fff199fe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #52 0x000000fff19a165c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #53 0x000000fff19a187c clang::ento::CoreEngine::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 0x000000fff19a1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x000000fff19a1c70 clang::ento::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 0x000000fff1caf03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x000000fff1caf03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x000000fff1caf03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x000000fff1caf03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x000000fff1caf03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x000000fff1cb0224 llvm::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 0x000000fff1cb0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x000000fff1cb0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x000000fff1cb4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x000000fff1cb4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x000000fff1cb4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x000000fff1cb4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x000000fff1cb4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x000000ffefef6978 __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 0x000000ffefef6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x000000ffefef6978 void clang::finalize>, 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 0x000000ffefef6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x000000fff176fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x000000fff172b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x000000fff172b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x000000fff172b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x000000fff17bf9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x000000aaad9f1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x000000aaad9f5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x000000aaad9f7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x000000aaad9ee034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x000000ffe84e88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #83 0x000000ffe84e89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #84 0x000000aaad9ee0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-simplification-assertion.c.script: line 1: 3931462 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-assertion.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=true -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/symbol-simplification-disequality-info.cpp (1187 of 19712) ******************** TEST 'Clang :: Analysis/symbol-simplification-disequality-info.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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:375: note: possible intended match here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-disequality-info.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:15'1 ? possible intended match 4: 1. parser at end of file check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: 2. While analyzing stack: check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #0 Calling test(int, int, int, int) check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-disequality-info.cpp:12:7: Error evaluating statement check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-disequality-info.cpp:12:7: Error evaluating statement check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0. FAIL: Clang :: Analysis/symbol-simplification-fixpoint-iteration-unreachable-code.cpp (1188 of 19712) ******************** TEST 'Clang :: Analysis/symbol-simplification-fixpoint-iteration-unreachable-code.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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 0x000000ffe7a96bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7a94c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7a973d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffed54648 (linux-vdso.so.1+0x648) #4 0x000000fff0549388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0549388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0549388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0549388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0549388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0549388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0549388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0549388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff01c0800 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff01c0800 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff01c0800 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #15 0x000000fff01c0800 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #16 0x000000fff01c0800 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff01c0800 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff01c0800 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff01c0800 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff01c3aec llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff01c3aec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff01c3aec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff01c3aec (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:31 #24 0x000000fff01c265c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff01c265c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff01c265c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000fff01b7d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff01b7d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff01b7d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #30 0x000000fff01d03b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #31 0x000000fff01d03b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #32 0x000000fff01d03b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #33 0x000000fff01d71d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x000000fff01d71d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x000000fff01d71d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #36 0x000000fff01320e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff01320e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff01320e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #39 0x000000fff01320e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #40 0x000000fff0147e4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #41 0x000000fff0147e4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #42 0x000000fff0147e4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #43 0x000000fff0147e4c 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:0 #44 0x000000fff0153b90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #45 0x000000fff0153b90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #46 0x000000fff0153b90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #47 0x000000fff0153b90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #48 0x000000fff0153b90 clang::ento::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 #49 0x000000fff0153e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #50 0x000000fff015565c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #51 0x000000fff015587c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #52 0x000000fff0155c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #53 0x000000fff0155c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #54 0x000000fff046303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #55 0x000000fff046303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x000000fff046303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #57 0x000000fff046303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #58 0x000000fff046303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #59 0x000000fff0464224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #60 0x000000fff0464224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #61 0x000000fff0464224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #62 0x000000fff0468604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x000000fff0468604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x000000fff0468604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #65 0x000000fff0468604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #66 0x000000fff0468604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #67 0x000000ffee6aa978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #68 0x000000ffee6aa978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #69 0x000000ffee6aa978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #70 0x000000ffee6aa978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #71 0x000000ffeff23b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #72 0x000000ffefedf354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #73 0x000000ffefedf354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #74 0x000000ffefedf354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #75 0x000000ffeff739a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #76 0x000000aaaaacdc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #77 0x000000aaaaad1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #78 0x000000aaaaad3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #79 0x000000aaaaaca034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #80 0x000000ffe6c9c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #81 0x000000ffe6c9c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #82 0x000000aaaaaca0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-simplification-fixpoint-iteration-unreachable-code.cpp.script: line 1: 3931729 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-iteration-unreachable-code.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/symbol-simplification-bo-div.c (1190 of 19712) ******************** TEST 'Clang :: Analysis/symbol-simplification-bo-div.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8b3ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8b3cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8b3f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe290648 (linux-vdso.so.1+0x648) #4 0x000000fff15f1388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff15f1388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff15f1388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff15f1388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff15f1388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff15f1388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff15f1388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff15f1388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff12683a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff12683a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff12683a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff12683a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff12683a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff12683a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff12683a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff12683a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff126bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff126bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff126bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff126bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff126a65c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff126a65c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff126a65c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000fff126d444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff126d444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff126d444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000fff125fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff125fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff125fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff12783b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff12783b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff12783b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff127f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff127f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff127f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff11da138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff11da138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff11da138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff11da138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1323f24 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #44 0x000000fff1323f24 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #45 0x000000fff1323f24 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #46 0x000000fff1323f24 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #47 0x000000fff1323f24 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #48 0x000000fff1323f24 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp:99:0 #49 0x000000fff1323f24 void clang::ento::check::PreStmt::_checkStmt<(anonymous namespace)::DivZeroChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:85:0 #50 0x000000fff11c1ea8 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #51 0x000000fff11c1ea8 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:26 #52 0x000000fff1235eec llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #53 0x000000fff1235eec llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #54 0x000000fff1235eec llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #55 0x000000fff1235eec llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #56 0x000000fff1235eec llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #57 0x000000fff1235eec clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #58 0x000000fff1235eec 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 #59 0x000000fff11fbab8 clang::ento::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 #60 0x000000fff11fbe0c clang::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 0x000000fff11fd65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff11fd87c clang::ento::CoreEngine::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 0x000000fff11fdc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #64 0x000000fff11fdc70 clang::ento::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 0x000000fff150b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #66 0x000000fff150b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #67 0x000000fff150b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #68 0x000000fff150b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #69 0x000000fff150b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #70 0x000000fff150c224 llvm::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 0x000000fff150c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #72 0x000000fff150c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #73 0x000000fff1510604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #74 0x000000fff1510604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #75 0x000000fff1510604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #76 0x000000fff1510604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #77 0x000000fff1510604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #78 0x000000ffef752978 __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 0x000000ffef752978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #80 0x000000ffef752978 void clang::finalize>, 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 0x000000ffef752978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #82 0x000000fff0fcbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #83 0x000000fff0f87354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #84 0x000000fff0f87354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #85 0x000000fff0f87354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #86 0x000000fff101b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #87 0x000000aaae341c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #88 0x000000aaae345b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #89 0x000000aaae347234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #90 0x000000aaae33e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #91 0x000000ffe7d448c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #92 0x000000ffe7d449cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #93 0x000000aaae33e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-simplification-bo-div.c.script: line 1: 3931661 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-bo-div.c -triple x86_64-pc-linux-gnu -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/symbol-simplification-fixpoint-one-iteration.cpp (1191 of 19712) ******************** TEST 'Clang :: Analysis/symbol-simplification-fixpoint-one-iteration.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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:259: note: possible intended match here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-one-iteration.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:15'1 ? possible intended match 4: 1. parser at end of file check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: 2. While analyzing stack: check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #0 Calling test(int, int, int) check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-one-iteration.cpp:12:7: Error evaluating statement check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-one-iteration.cpp:12:7: Error evaluating statement check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0. FAIL: Clang :: Analysis/symbol-simplification-reassume.cpp (1194 of 19712) ******************** TEST 'Clang :: Analysis/symbol-simplification-reassume.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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 0x000000ffea0d6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea0d4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea0d73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd228648 (linux-vdso.so.1+0x648) #4 0x000000fff28249e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff28249e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff28249e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff28249e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000fff28249e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000fff28249e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000fff278c278 llvm::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 0x000000fff278c278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000fff278c278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000fff278c278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000fff2793d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #15 0x000000fff2793d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #16 0x000000fff2793d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #17 0x000000fff2793d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #18 0x000000fff2793d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #19 0x000000fff2793d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #20 0x000000fff2793d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #21 0x000000fff2793d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #22 0x000000fff2793d94 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 #23 0x000000fff279565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff2795780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #25 0x000000fff2795a58 clang::ento::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 #26 0x000000fff2795c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000fff2795c70 clang::ento::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 0x000000fff2aa303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000fff2aa303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000fff2aa303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000fff2aa303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000fff2aa303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000fff2aa4224 llvm::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 0x000000fff2aa4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000fff2aa4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000fff2aa8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000fff2aa8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000fff2aa8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000fff2aa8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000fff2aa8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000fff0cea978 __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 0x000000fff0cea978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x000000fff0cea978 void clang::finalize>, 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 0x000000fff0cea978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x000000fff2563b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x000000fff251f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x000000fff251f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x000000fff251f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x000000fff25b39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #50 0x000000aaab079c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x000000aaab07db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x000000aaab07f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x000000aaab076034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x000000ffe92dc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #55 0x000000ffe92dc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #56 0x000000aaab0760a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-simplification-reassume.cpp.script: line 1: 3932328 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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-nonloc-loc.cpp (1195 of 19712) ******************** TEST 'Clang :: Analysis/symbol-simplification-nonloc-loc.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea566bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea564c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea5673d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe184648 (linux-vdso.so.1+0x648) #4 0x000000fff3019388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff3019388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff3019388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff3019388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff3019388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff3019388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff3019388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff3019388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff2c903a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff2c903a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff2c903a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff2c903a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff2c903a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff2c903a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff2c903a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff2c903a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff2c93dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff2c93dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff2c93dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff2c93dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff2c87430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff2c87430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff2c87430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff2c953b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff2c953b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff2c953b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff2c87d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff2c87d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff2c87d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff2ca03b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff2ca03b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff2ca03b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff2ca71d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff2ca71d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff2ca71d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff2c02138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff2c02138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff2c02138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff2c02138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff3158114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff3158114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff3158114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff2c13190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff2c13190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff2c13190 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:0 #49 0x000000fff2c13190 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:0 #50 0x000000fff2c13190 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:0 #51 0x000000fff2c13190 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:0 #52 0x000000fff2c13190 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:0 #53 0x000000fff2c13190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff2c13190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff2c13190 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:0 #56 0x000000fff2c137ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff2c25c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff2c25c70 clang::ento::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 0x000000fff2f3303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff2f3303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff2f3303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff2f3303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff2f3303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff2f34224 llvm::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 0x000000fff2f34224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff2f34224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff2f38604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff2f38604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff2f38604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff2f38604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff2f38604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000fff117a978 __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 0x000000fff117a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000fff117a978 void clang::finalize>, 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 0x000000fff117a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff29f3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff29af354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff29af354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff29af354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff2a439a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaaab05c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaaab09b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaaab0b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaaab02034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe976c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe976c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaaab020a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-simplification-nonloc-loc.cpp.script: line 1: 3932304 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-nonloc-loc.cpp -triple x86_64-pc-linux-gnu -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/symbol-simplification-fixpoint-two-iterations.cpp (1198 of 19712) ******************** TEST 'Clang :: Analysis/symbol-simplification-fixpoint-two-iterations.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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:259: note: possible intended match here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-two-iterations.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:17'1 ? possible intended match 4: 1. parser at end of file check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: 2. While analyzing stack: check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #0 Calling test(int, int, int, int) check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-two-iterations.cpp:12:7: Error evaluating statement check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-two-iterations.cpp:12:7: Error evaluating statement check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0. FAIL: Clang :: Analysis/symbol-simplification-symplify-results-in-dead-symbol.cpp (1199 of 19712) ******************** TEST 'Clang :: Analysis/symbol-simplification-symplify-results-in-dead-symbol.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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 0x000000ffe798ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe798cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe798f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffa18648 (linux-vdso.so.1+0x648) #4 0x000000fff006a984 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff006a984 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff006a984 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff006a984 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff006a984 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff006a984 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff006a984 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff006a984 (anonymous namespace)::EquivalenceClass::mergeImpl(clang::ento::RangeSet::Factory&, llvm::IntrusiveRefCntPtr, llvm::ImmutableSet>, (anonymous namespace)::EquivalenceClass, llvm::ImmutableSet>) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2361:63 #12 0x000000fff009980c llvm::IntrusiveRefCntPtrInfo>>::release(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:351:0 #13 0x000000fff009980c llvm::IntrusiveRefCntPtr>>::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x000000fff009980c llvm::IntrusiveRefCntPtr>>::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x000000fff009980c llvm::ImmutableSet>::~ImmutableSet() /usr/include/llvm/ADT/ImmutableSet.h:957:0 #16 0x000000fff009980c (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 0x000000fff00b899c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #18 0x000000fff00b899c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #19 0x000000fff00b899c merge /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2309:48 #20 0x000000fff00b899c trackEquality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2160:65 #21 0x000000fff00b899c assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2238:28 #22 0x000000fff00b899c assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #23 0x000000fff00b899c assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:3 #24 0x000000fff00b899c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #25 0x000000fff00b899c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #26 0x000000fff00b899c assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #27 0x000000fff00b899c (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #28 0x000000fff00bbaec llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #29 0x000000fff00bbaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #30 0x000000fff00bbaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x000000fff00bbaec (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:31 #32 0x000000fff00ba65c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x000000fff00ba65c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x000000fff00ba65c 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 0x000000fff00afd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x000000fff00afd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x000000fff00afd18 clang::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 0x000000fff00c83b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #39 0x000000fff00c83b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #40 0x000000fff00c83b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #41 0x000000fff00cf1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #42 0x000000fff00cf1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #43 0x000000fff00cf1d4 clang::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 0x000000fff002a0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x000000fff002a0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x000000fff002a0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #47 0x000000fff002a0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #48 0x000000fff003fe4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #49 0x000000fff003fe4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #50 0x000000fff003fe4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #51 0x000000fff003fe4c 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:0 #52 0x000000fff004bb90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #53 0x000000fff004bb90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #54 0x000000fff004bb90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #55 0x000000fff004bb90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #56 0x000000fff004bb90 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #57 0x000000fff004be0c clang::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 0x000000fff004d65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff004d87c clang::ento::CoreEngine::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 0x000000fff004dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #61 0x000000fff004dc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #62 0x000000fff035b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #63 0x000000fff035b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #64 0x000000fff035b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #65 0x000000fff035b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #66 0x000000fff035b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #67 0x000000fff035c224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #68 0x000000fff035c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #69 0x000000fff035c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #70 0x000000fff0360604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x000000fff0360604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x000000fff0360604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #73 0x000000fff0360604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #74 0x000000fff0360604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #75 0x000000ffee5a2978 __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 0x000000ffee5a2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #77 0x000000ffee5a2978 void clang::finalize>, 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 0x000000ffee5a2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #79 0x000000ffefe1bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #80 0x000000ffefdd7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #81 0x000000ffefdd7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #82 0x000000ffefdd7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #83 0x000000ffefe6b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #84 0x000000aaad6ddc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #85 0x000000aaad6e1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #86 0x000000aaad6e3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #87 0x000000aaad6da034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #88 0x000000ffe6b948c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #89 0x000000ffe6b949cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #90 0x000000aaad6da0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-simplification-symplify-results-in-dead-symbol.cpp.script: line 1: 3932703 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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/taint-diagnostic-visitor.c (1200 of 19712) ******************** TEST 'Clang :: Analysis/taint-diagnostic-visitor.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7fd6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7fd4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7fd73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff70c648 (linux-vdso.so.1+0x648) #4 0x000000fff0a7f688 llvm::ImutAVLTree>>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0a7f688 llvm::IntrusiveRefCntPtrInfo>>>>::retain(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0a7f688 llvm::IntrusiveRefCntPtr>>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0a7f688 llvm::IntrusiveRefCntPtr>>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0a7f688 llvm::ImmutableMap>, llvm::ImutKeyValueInfo>>>::ImmutableMap(llvm::ImutAVLTree>>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0a7f688 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 0x000000fff0a7f688 get<(anonymous namespace)::TaintArgsOnPostVisit> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0a7f688 (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 0x000000fff0668df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #13 0x000000fff0668df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x000000fff0668df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #15 0x000000fff0668df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #16 0x000000fff0668df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #17 0x000000fff06ba500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #18 0x000000fff06ba500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #19 0x000000fff06ba500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #20 0x000000fff06ba500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #21 0x000000fff06bae4c clang::ento::ExprEngine::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 #22 0x000000fff0692d1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #23 0x000000fff0692d1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #24 0x000000fff0693e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #25 0x000000fff069565c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #26 0x000000fff069587c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #27 0x000000fff0695c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #28 0x000000fff0695c70 clang::ento::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 0x000000fff09a303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x000000fff09a303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x000000fff09a303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #32 0x000000fff09a303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #33 0x000000fff09a303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #34 0x000000fff09a4224 llvm::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 0x000000fff09a4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x000000fff09a4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #37 0x000000fff09a8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x000000fff09a8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x000000fff09a8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x000000fff09a8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x000000fff09a8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x000000ffeebea978 __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 0x000000ffeebea978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x000000ffeebea978 void clang::finalize>, 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 0x000000ffeebea978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x000000fff0463b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #47 0x000000fff041f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #48 0x000000fff041f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #49 0x000000fff041f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #50 0x000000fff04b39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #51 0x000000aaace99c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x000000aaace9db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x000000aaace9f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x000000aaace96034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x000000ffe71dc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #56 0x000000ffe71dc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #57 0x000000aaace960a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/taint-diagnostic-visitor.c.script: line 1: 3932833 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=alpha.security.taint,core,alpha.security.ArrayBoundV2 -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-diagnostic-visitor.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/taint-generic.cpp (1201 of 19712) ******************** TEST 'Clang :: Analysis/taint-generic.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7412bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7410c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe74133d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff7ac648 (linux-vdso.so.1+0x648) #4 0x000000ffefacb664 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000ffefacb664 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffefacb664 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffefacb664 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffefacb664 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffefacb664 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000ffefacb664 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000ffefacb664 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 0x000000ffefacc08c 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 0x000000ffefad1a18 clang::ento::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 0x000000ffefad1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x000000ffefad1c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x000000ffefddf03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x000000ffefddf03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x000000ffefddf03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x000000ffefddf03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x000000ffefddf03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x000000ffefde0224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x000000ffefde0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x000000ffefde0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x000000ffefde4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x000000ffefde4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x000000ffefde4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x000000ffefde4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x000000ffefde4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x000000ffee026978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x000000ffee026978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x000000ffee026978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x000000ffee026978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x000000ffef89fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x000000ffef85b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x000000ffef85b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x000000ffef85b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x000000ffef8ef9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000000aaab351c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000000aaab355b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000000aaab357234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000000aaab34e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x000000ffe66188c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #43 0x000000ffe66189cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #44 0x000000aaab34e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/taint-generic.cpp.script: line 1: 3933028 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.taint,core,alpha.security.ArrayBoundV2 -analyzer-config alpha.security.taint.TaintPropagation:Config=/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/taint-generic-config.yaml -Wno-format-security -verify -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/taint-generic.c (1202 of 19712) ******************** TEST 'Clang :: Analysis/taint-generic.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe72eebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe72ecc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe72ef3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff460648 (linux-vdso.so.1+0x648) #4 0x000000ffefd97688 llvm::ImutAVLTree>>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffefd97688 llvm::IntrusiveRefCntPtrInfo>>>>::retain(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffefd97688 llvm::IntrusiveRefCntPtr>>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffefd97688 llvm::IntrusiveRefCntPtr>>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffefd97688 llvm::ImmutableMap>, llvm::ImutKeyValueInfo>>>::ImmutableMap(llvm::ImutAVLTree>>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffefd97688 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 0x000000ffefd97688 get<(anonymous namespace)::TaintArgsOnPostVisit> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffefd97688 (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 0x000000ffef980df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #13 0x000000ffef980df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x000000ffef980df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #15 0x000000ffef980df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #16 0x000000ffef980df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #17 0x000000ffef9d2500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #18 0x000000ffef9d2500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #19 0x000000ffef9d2500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #20 0x000000ffef9d2500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #21 0x000000ffef9d2e4c clang::ento::ExprEngine::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 #22 0x000000ffef9aad1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #23 0x000000ffef9aad1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #24 0x000000ffef9abe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #25 0x000000ffef9ad65c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #26 0x000000ffef9ad87c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #27 0x000000ffef9adc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #28 0x000000ffef9adc70 clang::ento::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 0x000000ffefcbb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x000000ffefcbb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x000000ffefcbb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #32 0x000000ffefcbb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #33 0x000000ffefcbb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #34 0x000000ffefcbc224 llvm::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 0x000000ffefcbc224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x000000ffefcbc224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #37 0x000000ffefcc0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x000000ffefcc0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x000000ffefcc0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x000000ffefcc0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x000000ffefcc0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x000000ffedf02978 __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 0x000000ffedf02978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x000000ffedf02978 void clang::finalize>, 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 0x000000ffedf02978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x000000ffef77bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #47 0x000000ffef737354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #48 0x000000ffef737354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #49 0x000000ffef737354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #50 0x000000ffef7cb9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #51 0x000000aaab98dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x000000aaab991b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x000000aaab993234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x000000aaab98a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x000000ffe64f48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #56 0x000000ffe64f49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #57 0x000000aaab98a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/taint-generic.c.script: line 5: 3933013 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-format-security -Wno-pointer-to-int-cast -Wno-incompatible-library-redeclaration -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.c -analyzer-checker=alpha.security.taint -analyzer-checker=core -analyzer-checker=alpha.security.ArrayBoundV2 -analyzer-checker=debug.ExprInspection -analyzer-config alpha.security.taint.TaintPropagation:Config=/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/taint-generic-config.yaml -- ******************** Testing: 0. FAIL: Clang :: Analysis/taint-tester.c (1204 of 19712) ******************** TEST 'Clang :: Analysis/taint-tester.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe704abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7048c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe704b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe6d8648 (linux-vdso.so.1+0x648) #4 0x000000ffefafd388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffefafd388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffefafd388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffefafd388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffefafd388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffefafd388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffefafd388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffefafd388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef7743a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef7743a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef7743a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef7743a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef7743a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef7743a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef7743a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef7743a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef777dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef777dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef777dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef777dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef76b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef76b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef76b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef7793b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef7793b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef7793b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef76bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef76bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef76bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef7843b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef7843b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef7843b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef78b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef78b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef78b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef6e60e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef6e60e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef6e60e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef6e60e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000ffef6fbe4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffef6fbe4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffef6fbe4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000ffef6fbe4c 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:0 #47 0x000000ffef707b90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000ffef707b90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000ffef707b90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000ffef707b90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000ffef707b90 clang::ento::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 #52 0x000000ffef707e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000ffef70965c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000ffef70987c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000ffef709c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000ffef709c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000ffefa1703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000ffefa1703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000ffefa1703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000ffefa1703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000ffefa1703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000ffefa18224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000ffefa18224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000ffefa18224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000ffefa1c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000ffefa1c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000ffefa1c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000ffefa1c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000ffefa1c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000ffedc5e978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000ffedc5e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000ffedc5e978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000ffedc5e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000ffef4d7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000ffef493354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000ffef493354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000ffef493354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000ffef5279a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaade95c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaade99b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaade9b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaade92034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe62508c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe62509cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaade920a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/taint-tester.c.script: line 1: 3933318 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/taint-dumps.c (1205 of 19712) ******************** TEST 'Clang :: Analysis/taint-dumps.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe92bebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) check:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10: #1 0x000000ffe92bcc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) check:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11: #2 0x000000ffe92bf3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) check:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0. FAIL: Clang :: Analysis/taint-tester.cpp (1206 of 19712) ******************** TEST 'Clang :: Analysis/taint-tester.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8efebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8efcc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8eff3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd84c648 (linux-vdso.so.1+0x648) #4 0x000000fff15b7664 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff15b7664 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff15b7664 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff15b7664 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff15b7664 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff15b7664 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff15b7664 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff15b7664 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 0x000000fff15b808c 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 0x000000fff15bda18 clang::ento::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 0x000000fff15bdc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x000000fff15bdc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x000000fff18cb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x000000fff18cb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x000000fff18cb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x000000fff18cb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x000000fff18cb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x000000fff18cc224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x000000fff18cc224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x000000fff18cc224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x000000fff18d0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x000000fff18d0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x000000fff18d0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x000000fff18d0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x000000fff18d0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x000000ffefb12978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x000000ffefb12978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x000000ffefb12978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x000000ffefb12978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x000000fff138bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x000000fff1347354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x000000fff1347354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x000000fff1347354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x000000fff13db9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000000aaad8e1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000000aaad8e5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000000aaad8e7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000000aaad8de034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x000000ffe81048c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #43 0x000000ffe81049cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #44 0x000000aaad8de0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/taint-tester.cpp.script: line 1: 3933349 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/temp-obj-dtors-option.cpp (1207 of 19712) ******************** TEST 'Clang :: Analysis/temp-obj-dtors-option.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe94a6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe94a4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe94a73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff6ac648 (linux-vdso.so.1+0x648) #4 0x000000fff1b82244 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff1b82244 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff1b82244 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff1b82244 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x000000fff1b82244 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x000000fff1b82244 Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:27 #10 0x000000fff1b82244 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:89 #11 0x000000fff1b82244 llvm::IntrusiveRefCntPtr clang::ento::ProgramState::set<(anonymous namespace)::ObjectsUnderConstruction>(clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:63 #12 0x000000fff1b5a10c 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:600:0 #13 0x000000fff1b890f0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #14 0x000000fff1b890f0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #15 0x000000fff1b890f0 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:486:63 #16 0x000000fff1ba77a4 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x000000fff1ba77a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x000000fff1ba77a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x000000fff1ba77a4 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 #20 0x000000fff1ba77a4 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 #21 0x000000fff1b62cdc clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #22 0x000000fff1b62cdc clang::ento::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 #23 0x000000fff1b63e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #24 0x000000fff1b6565c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #25 0x000000fff1b6587c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #26 0x000000fff1b65c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000fff1b65c70 clang::ento::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 0x000000fff1e7303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000fff1e7303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000fff1e7303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000fff1e7303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000fff1e7303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000fff1e74224 llvm::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 0x000000fff1e74224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000fff1e74224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000fff1e78604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000fff1e78604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000fff1e78604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000fff1e78604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000fff1e78604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000fff00ba978 __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 0x000000fff00ba978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x000000fff00ba978 void clang::finalize>, 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 0x000000fff00ba978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x000000fff1933b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x000000fff18ef354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x000000fff18ef354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x000000fff18ef354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x000000fff19839a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #50 0x000000aaaaf65c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x000000aaaaf69b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x000000aaaaf6b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x000000aaaaf62034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x000000ffe86ac8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #55 0x000000ffe86ac9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #56 0x000000aaaaf620a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/temp-obj-dtors-option.cpp.script: line 2: 3933566 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-temp-dtor-inlining=false -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temp-obj-dtors-option.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/templates.cpp (1209 of 19712) ******************** TEST 'Clang :: Analysis/templates.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9deabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9de8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9deb3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc238648 (linux-vdso.so.1+0x648) #4 0x000000fff24a3664 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff24a3664 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff24a3664 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff24a3664 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff24a3664 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff24a3664 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff24a3664 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff24a3664 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 0x000000fff24a408c 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 0x000000fff24a9a18 clang::ento::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 0x000000fff24a9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x000000fff24a9c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x000000fff27b703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x000000fff27b703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x000000fff27b703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x000000fff27b703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x000000fff27b703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x000000fff27b8224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x000000fff27b8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x000000fff27b8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x000000fff27bc604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x000000fff27bc604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x000000fff27bc604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x000000fff27bc604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x000000fff27bc604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x000000fff09fe978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x000000fff09fe978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x000000fff09fe978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x000000fff09fe978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x000000fff2277b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x000000fff2233354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x000000fff2233354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x000000fff2233354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x000000fff22c79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000000aaab555c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000000aaab559b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000000aaab55b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000000aaab552034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x000000ffe8ff08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #43 0x000000ffe8ff09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #44 0x000000aaab5520a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/templates.cpp.script: line 2: 3933833 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -fblocks -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/templates.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/template-param-objects.cpp (1210 of 19712) ******************** TEST 'Clang :: Analysis/template-param-objects.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8beebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8becc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8bef3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe77c648 (linux-vdso.so.1+0x648) #4 0x000000fff1278f7c retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000fff1278f7c retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff1278f7c retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff1278f7c IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff1278f7c ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff1278f7c MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff1278f7c get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000fff1278f7c 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 0x000000fff12d097c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x000000fff12d097c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x000000fff12d097c 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 #15 0x000000fff12d15dc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x000000fff12d15dc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x000000fff12d15dc 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 #18 0x000000fff12eeee0 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 #19 0x000000fff12aacdc clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #20 0x000000fff12aacdc clang::ento::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 #21 0x000000fff12abe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #22 0x000000fff12ad65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff12ad87c clang::ento::CoreEngine::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 0x000000fff12adc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x000000fff12adc70 clang::ento::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 0x000000fff15bb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff15bb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff15bb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x000000fff15bb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x000000fff15bb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x000000fff15bc224 llvm::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 0x000000fff15bc224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x000000fff15bc224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x000000fff15c0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x000000fff15c0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x000000fff15c0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x000000fff15c0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x000000fff15c0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x000000ffef802978 __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 0x000000ffef802978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x000000ffef802978 void clang::finalize>, 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 0x000000ffef802978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x000000fff107bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x000000fff1037354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x000000fff1037354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x000000fff1037354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x000000fff10cb9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000000aaaba15c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000000aaaba19b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000000aaaba1b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000000aaaba12034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x000000ffe7df48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #53 0x000000ffe7df49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #54 0x000000aaaba120a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/template-param-objects.cpp.script: line 1: 3933813 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -std=c++20 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/template-param-objects.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/temporaries.cpp (1211 of 19712) ******************** TEST 'Clang :: Analysis/temporaries.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9ffabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9ff8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9ffb3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe594648 (linux-vdso.so.1+0x648) #4 0x000000fff2aad388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2aad388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2aad388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2aad388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2aad388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2aad388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2aad388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2aad388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff27243a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff27243a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff27243a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff27243a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff27243a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff27243a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff27243a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff27243a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff2727dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff2727dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff2727dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff2727dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff271b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff271b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff271b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff27293b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff27293b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff27293b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff271bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff271bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff271bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff27343b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff27343b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff27343b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff273b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff273b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff273b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff2696138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff2696138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff2696138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff2696138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff2bec114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff2bec114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff2bec114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff26a7190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff26a7190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff26a7190 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:0 #49 0x000000fff26a7190 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:0 #50 0x000000fff26a7190 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:0 #51 0x000000fff26a7190 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:0 #52 0x000000fff26a7190 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:0 #53 0x000000fff26a7190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff26a7190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff26a7190 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:0 #56 0x000000fff26a77ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff26b9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff26b9c70 clang::ento::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 0x000000fff29c703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff29c703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff29c703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff29c703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff29c703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff29c8224 llvm::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 0x000000fff29c8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff29c8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff29cc604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff29cc604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff29cc604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff29cc604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff29cc604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000fff0c0e978 __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 0x000000fff0c0e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000fff0c0e978 void clang::finalize>, 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 0x000000fff0c0e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff2487b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff2443354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff2443354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff2443354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff24d79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaae2f9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaae2fdb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaae2ff234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaae2f6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe92008c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe92009cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaae2f60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/temporaries.cpp.script: line 4: 3933882 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/temporaries-callback-order.cpp (1212 of 19712) ******************** TEST 'Clang :: Analysis/temporaries-callback-order.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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:325: note: found here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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:372: note: found here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (1213 of 19712) ******************** TEST 'Clang :: Analysis/temporaries.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6baabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6ba8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6bab3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcef8648 (linux-vdso.so.1+0x648) #4 0x000000ffef286244 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000ffef286244 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffef286244 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffef286244 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x000000ffef286244 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x000000ffef286244 Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:27 #10 0x000000ffef286244 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:89 #11 0x000000ffef286244 llvm::IntrusiveRefCntPtr clang::ento::ProgramState::set<(anonymous namespace)::ObjectsUnderConstruction>(clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:63 #12 0x000000ffef25e10c 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:600:0 #13 0x000000ffef28d208 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #14 0x000000ffef28d208 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x000000ffef28d208 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:507:68 #16 0x000000ffef28d300 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #17 0x000000ffef28d300 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #18 0x000000ffef28d300 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:459:64 #19 0x000000ffef2ab7a4 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #20 0x000000ffef2ab7a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #21 0x000000ffef2ab7a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x000000ffef2ab7a4 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 0x000000ffef2ab7a4 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 0x000000ffef266cdc clang::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 0x000000ffef266cdc clang::ento::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 0x000000ffef267e0c clang::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 0x000000ffef26965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef26987c clang::ento::CoreEngine::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 0x000000ffef269c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #30 0x000000ffef269c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #31 0x000000ffef57703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #32 0x000000ffef57703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #33 0x000000ffef57703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #34 0x000000ffef57703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #35 0x000000ffef57703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #36 0x000000ffef578224 llvm::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 0x000000ffef578224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #38 0x000000ffef578224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #39 0x000000ffef57c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #40 0x000000ffef57c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #41 0x000000ffef57c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #42 0x000000ffef57c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #43 0x000000ffef57c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #44 0x000000ffed7be978 __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 0x000000ffed7be978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x000000ffed7be978 void clang::finalize>, 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 0x000000ffed7be978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x000000ffef037b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #49 0x000000ffeeff3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #50 0x000000ffeeff3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #51 0x000000ffeeff3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #52 0x000000ffef0879a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #53 0x000000aaab8adc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #54 0x000000aaab8b1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #55 0x000000aaab8b3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #56 0x000000aaab8aa034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #57 0x000000ffe5db08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #58 0x000000ffe5db09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #59 0x000000aaab8aa0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/temporaries.mm.script: line 1: 3934236 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker core,cplusplus -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries.mm -- ******************** Testing: 0. FAIL: Clang :: Analysis/test-after-div-zero.c (1214 of 19712) ******************** TEST 'Clang :: Analysis/test-after-div-zero.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea62abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea628c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea62b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffecc4648 (linux-vdso.so.1+0x648) #4 0x000000fff30dd388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff30dd388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff30dd388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff30dd388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff30dd388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff30dd388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff30dd388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff30dd388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff2d543a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff2d543a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff2d543a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff2d543a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff2d543a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff2d543a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff2d543a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff2d543a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff2d57dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff2d57dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff2d57dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff2d57dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff2d5665c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff2d5665c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff2d5665c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000fff2d59444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff2d59444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff2d59444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000fff2d4bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff2d4bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff2d4bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff2d643b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff2d643b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff2d643b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff2d6b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff2d6b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff2d6b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff2cc6138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff2cc6138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff2cc6138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff2cc6138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff2cc6688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff2cc6688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff2cc6688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff2f89d18 llvm::IntrusiveRefCntPtr::operator bool() const /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:201:43 #47 0x000000fff2f89d18 isZero /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/TestAfterDivZeroChecker.cpp:142:45 #48 0x000000fff2f89d18 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/TestAfterDivZeroChecker.cpp:205:16 #49 0x000000fff2f89d18 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 #50 0x000000fff2cadea8 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #51 0x000000fff2cadea8 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:26 #52 0x000000fff2d21eec llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #53 0x000000fff2d21eec llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #54 0x000000fff2d21eec llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #55 0x000000fff2d21eec llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #56 0x000000fff2d21eec llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #57 0x000000fff2d21eec clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #58 0x000000fff2d21eec 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 #59 0x000000fff2ce7ab8 clang::ento::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 #60 0x000000fff2ce7e0c clang::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 0x000000fff2ce965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff2ce987c clang::ento::CoreEngine::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 0x000000fff2ce9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #64 0x000000fff2ce9c70 clang::ento::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 0x000000fff2ff703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #66 0x000000fff2ff703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #67 0x000000fff2ff703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #68 0x000000fff2ff703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #69 0x000000fff2ff703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #70 0x000000fff2ff8224 llvm::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 0x000000fff2ff8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #72 0x000000fff2ff8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #73 0x000000fff2ffc604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #74 0x000000fff2ffc604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #75 0x000000fff2ffc604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #76 0x000000fff2ffc604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #77 0x000000fff2ffc604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #78 0x000000fff123e978 __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 0x000000fff123e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #80 0x000000fff123e978 void clang::finalize>, 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 0x000000fff123e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #82 0x000000fff2ab7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #83 0x000000fff2a73354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #84 0x000000fff2a73354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #85 0x000000fff2a73354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #86 0x000000fff2b079a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #87 0x000000aaae0d1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #88 0x000000aaae0d5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #89 0x000000aaae0d7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #90 0x000000aaae0ce034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #91 0x000000ffe98308c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #92 0x000000ffe98309cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #93 0x000000aaae0ce0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/test-after-div-zero.c.script: line 2: 3934305 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c99 -Dbool=_Bool -analyzer-checker=core,alpha.core.TestAfterDivZero -analyzer-output=text -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-after-div-zero.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/test-include-cpp.cpp (1215 of 19712) ******************** TEST 'Clang :: Analysis/test-include-cpp.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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 0x000000ffe8656bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8654c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe86573d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe5c0648 (linux-vdso.so.1+0x648) #4 0x000000fff1109388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1109388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1109388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1109388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1109388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1109388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1109388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1109388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff0d803a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff0d803a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff0d803a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff0d803a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff0d803a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff0d803a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff0d803a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff0d803a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0d83dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0d83dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0d83dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0d83dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0d77430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0d77430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0d77430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff0d853b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0d853b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0d853b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0d77d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0d77d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0d77d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff0d903b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff0d903b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff0d903b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff0d971d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff0d971d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff0d971d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0cf2138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0cf2138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0cf2138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0cf2138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff0cf2688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff0cf2688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff0cf2688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff0cbab4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff0cbab4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff0cbab4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff0d06674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff0d06674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff0d06674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000fff0d16010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff0d16010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff0d16010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff102303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff102303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff102303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff102303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff102303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff1024224 llvm::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 0x000000fff1024224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff1024224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff1028604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff1028604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff1028604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff1028604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff1028604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffef26a978 __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 0x000000ffef26a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffef26a978 void clang::finalize>, 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 0x000000ffef26a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff0ae3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff0a9f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff0a9f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff0a9f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff0b339a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaade79c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaade7db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaade7f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaade76034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe785c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe785c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaade760a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/test-include-cpp.cpp.script: line 1: 3934313 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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-separate-retaincount.cpp (1216 of 19712) ******************** TEST 'Clang :: Analysis/test-separate-retaincount.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe679abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6798c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe679b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff7a0648 (linux-vdso.so.1+0x648) #4 0x000000ffef24d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef24d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef24d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef24d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef24d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef24d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef24d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef24d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffeeec43a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffeeec43a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffeeec43a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffeeec43a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffeeec43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffeeec43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffeeec43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffeeec43a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffeeec7dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffeeec7dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffeeec7dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffeeec7dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffeeebb430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffeeebb430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffeeebb430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffeeec93b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffeeec93b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffeeec93b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffeeebbd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffeeebbd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffeeebbd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffeeed43b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffeeed43b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffeeed43b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffeeedb1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffeeedb1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffeeedb1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffeee36138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffeee36138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffeee36138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffeee36138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffeee36688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffeee36688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffeee36688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000ffeee9d9ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000ffeee9d9ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000ffeee9d9ac clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000ffeee9d9ac clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #50 0x000000ffeee50d50 clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1318:0 #51 0x000000ffeee596a8 clang::ento::ExprEngine::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 #52 0x000000ffeee59780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #53 0x000000ffeee59a58 clang::ento::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 #54 0x000000ffeee59c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x000000ffeee59c70 clang::ento::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 0x000000ffef16703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x000000ffef16703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x000000ffef16703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x000000ffef16703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x000000ffef16703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x000000ffef168224 llvm::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 0x000000ffef168224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x000000ffef168224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x000000ffef16c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x000000ffef16c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x000000ffef16c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x000000ffef16c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x000000ffef16c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x000000ffed3ae978 __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 0x000000ffed3ae978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x000000ffed3ae978 void clang::finalize>, 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 0x000000ffed3ae978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x000000ffeec27b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x000000ffeebe3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x000000ffeebe3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x000000ffeebe3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x000000ffeec779a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #78 0x000000aaabb75c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x000000aaabb79b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x000000aaabb7b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x000000aaabb72034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x000000ffe59a08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #83 0x000000ffe59a09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #84 0x000000aaabb720a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/test-separate-retaincount.cpp.script: line 2: 3934821 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-variably-modified-types.c (1217 of 19712) ******************** TEST 'Clang :: Analysis/test-variably-modified-types.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea2aabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea2a8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea2ab3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffef54648 (linux-vdso.so.1+0x648) #4 0x000000fff2d5d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2d5d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2d5d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2d5d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2d5d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2d5d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2d5d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2d5d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff29d43a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff29d43a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff29d43a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff29d43a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff29d43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff29d43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff29d43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff29d43a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff29d7dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff29d7dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff29d7dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff29d7dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff29cb430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff29cb430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff29cb430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff29d93b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff29d93b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff29d93b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff29cbd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff29cbd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff29cbd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff29e43b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff29e43b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff29e43b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff29eb1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff29eb1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff29eb1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff29460e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff29460e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff29460e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff29460e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff295be4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff295be4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff295be4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000fff295be4c 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:0 #47 0x000000fff2967b90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000fff2967b90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000fff2967b90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000fff2967b90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000fff2967b90 clang::ento::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 #52 0x000000fff2967e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000fff296965c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000fff296987c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000fff2969c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000fff2969c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000fff2c7703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff2c7703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff2c7703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000fff2c7703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000fff2c7703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000fff2c78224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000fff2c78224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000fff2c78224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000fff2c7c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000fff2c7c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000fff2c7c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000fff2c7c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000fff2c7c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000fff0ebe978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000fff0ebe978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000fff0ebe978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000fff0ebe978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000fff2737b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000fff26f3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000fff26f3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000fff26f3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000fff27879a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaaafddc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaaafe1b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaaafe3234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaaafda034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe94b08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe94b09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaaafda0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/test-variably-modified-types.c.script: line 1: 3934844 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyze-function=testVariablyModifiedTypes -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-variably-modified-types.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/test-objc-non-nil-return-value-checker.m (1220 of 19712) ******************** TEST 'Clang :: Analysis/test-objc-non-nil-return-value-checker.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe862abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8628c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe862b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffdd48648 (linux-vdso.so.1+0x648) #4 0x000000fff10dd388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff10dd388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff10dd388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff10dd388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff10dd388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff10dd388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff10dd388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff10dd388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff0d543a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff0d543a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff0d543a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff0d543a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff0d543a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff0d543a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff0d543a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff0d543a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0d57dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0d57dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0d57dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0d57dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0d4b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0d4b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0d4b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff0d593b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0d593b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0d593b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0d4bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0d4bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0d4bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff0d643b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff0d643b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff0d643b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff0d6b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff0d6b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff0d6b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0cc6138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0cc6138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0cc6138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0cc6138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff121c114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff121c114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff121c114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff0d2e404 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #47 0x000000fff0d2e404 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #48 0x000000fff0d2e404 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #49 0x000000fff0d2e404 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #50 0x000000fff0d2e404 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #51 0x000000fff0d2e404 clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #52 0x000000fff0ce677c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #53 0x000000fff0ce677c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #54 0x000000fff0ce7e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x000000fff0ce965c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x000000fff0ce987c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x000000fff0ce9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff0ce9c70 clang::ento::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 0x000000fff0ff703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff0ff703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff0ff703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff0ff703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff0ff703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff0ff8224 llvm::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 0x000000fff0ff8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff0ff8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff0ffc604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff0ffc604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff0ffc604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff0ffc604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff0ffc604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffef23e978 __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 0x000000ffef23e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffef23e978 void clang::finalize>, 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 0x000000ffef23e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff0ab7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff0a73354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff0a73354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff0a73354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff0b079a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaac6e1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaac6e5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaac6e7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaac6de034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe78308c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe78309cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaac6de0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/test-objc-non-nil-return-value-checker.m.script: line 1: 3934388 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.NonNilReturnValue,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-objc-non-nil-return-value-checker.m -- ******************** Testing: 0. FAIL: Clang :: Analysis/this-pointer.cpp (1221 of 19712) ******************** TEST 'Clang :: Analysis/this-pointer.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8926bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8924c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe89273d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcef4648 (linux-vdso.so.1+0x648) #4 0x000000fff0fdbf68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff0fdbf68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff0fdbf68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff0fdbf68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff0fdbf68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff0fdbf68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff0fdbf68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff0fdbf68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000fff0fe3d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x000000fff0fe3d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x000000fff0fe3d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x000000fff0fe3d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x000000fff0fe3d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x000000fff0fe3d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x000000fff0fe3d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x000000fff0fe3d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x000000fff0fe3d94 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 0x000000fff0fe565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff0fe5780 clang::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 0x000000fff0fe5a58 clang::ento::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 0x000000fff0fe5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x000000fff0fe5c70 clang::ento::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 0x000000fff12f303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff12f303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff12f303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x000000fff12f303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x000000fff12f303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x000000fff12f4224 llvm::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 0x000000fff12f4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x000000fff12f4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x000000fff12f8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x000000fff12f8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x000000fff12f8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x000000fff12f8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x000000fff12f8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x000000ffef53a978 __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 0x000000ffef53a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x000000ffef53a978 void clang::finalize>, 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 0x000000ffef53a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x000000fff0db3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x000000fff0d6f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x000000fff0d6f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x000000fff0d6f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x000000fff0e039a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000000aaab065c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000000aaab069b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000000aaab06b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000000aaab062034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x000000ffe7b2c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #53 0x000000ffe7b2c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #54 0x000000aaab0620a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/this-pointer.cpp.script: line 1: 3934975 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (1222 of 19712) ******************** TEST 'Clang :: Analysis/track-control-dependency-conditions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/track-control-dependency-conditions.cpp -std=c++17 -verify=expected,tracking -analyzer-config track-conditions=true -analyzer-output=text -analyzer-checker=core 1. parser at end of file 2. While analyzing stack: #0 Calling cxx17_ifinit__operator_call_in_condition_point::f(int *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/track-control-dependency-conditions.cpp:1025:29: Error evaluating statement #0 0x000000ffe75febb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe75fcc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe75ff3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff4b8648 (linux-vdso.so.1+0x648) #4 0x000000ffefcb3f68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000ffefcb3f68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffefcb3f68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffefcb3f68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffefcb3f68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffefcb3f68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000ffefcb3f68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000ffefcb3f68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000ffefcbbd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x000000ffefcbbd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x000000ffefcbbd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x000000ffefcbbd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x000000ffefcbbd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x000000ffefcbbd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x000000ffefcbbd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x000000ffefcbbd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x000000ffefcbbd94 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 0x000000ffefcbd65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffefcbd87c clang::ento::CoreEngine::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 0x000000ffefcbdc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #24 0x000000ffefcbdc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #25 0x000000ffeffcb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x000000ffeffcb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x000000ffeffcb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #28 0x000000ffeffcb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #29 0x000000ffeffcb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #30 0x000000ffeffcc224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #31 0x000000ffeffcc224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #32 0x000000ffeffcc224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #33 0x000000ffeffd0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #34 0x000000ffeffd0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #35 0x000000ffeffd0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #36 0x000000ffeffd0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #37 0x000000ffeffd0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #38 0x000000ffee212978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #39 0x000000ffee212978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #40 0x000000ffee212978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #41 0x000000ffee212978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #42 0x000000ffefa8bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #43 0x000000ffefa47354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #44 0x000000ffefa47354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #45 0x000000ffefa47354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #46 0x000000ffefadb9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #47 0x000000aaab871c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #48 0x000000aaab875b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #49 0x000000aaab877234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #50 0x000000aaab86e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #51 0x000000ffe68048c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #52 0x000000ffe68049cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #53 0x000000aaab86e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/track-control-dependency-conditions.cpp.script: line 4: 3935076 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/track-control-dependency-conditions.cpp -std=c++17 -verify=expected,tracking -analyzer-config track-conditions=true -analyzer-output=text -analyzer-checker=core -- ******************** Testing: 0. FAIL: Clang :: Analysis/track-control-dependency-conditions.m (1223 of 19712) ******************** TEST 'Clang :: Analysis/track-control-dependency-conditions.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea292bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea290c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea2933d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff2f4648 (linux-vdso.so.1+0x648) #4 0x000000fff2d45388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2d45388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2d45388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2d45388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2d45388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2d45388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2d45388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2d45388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff29bc3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff29bc3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff29bc3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff29bc3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff29bc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff29bc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff29bc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff29bc3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff29bfdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff29bfdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff29bfdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff29bfdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff29b3430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff29b3430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff29b3430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff29c13b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff29c13b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff29c13b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff29b3d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff29b3d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff29b3d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff29cc3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff29cc3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff29cc3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff29d31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff29d31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff29d31d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff292e138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff292e138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff292e138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff292e138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff292e688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff292e688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff292e688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff28f6b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff28f6b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff28f6b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff29426c8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff29426c8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff29426c8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:0 #52 0x000000fff2952010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff2952010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff2952010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff2c5f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff2c5f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff2c5f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff2c5f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff2c5f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff2c60224 llvm::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 0x000000fff2c60224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff2c60224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff2c64604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff2c64604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff2c64604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff2c64604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff2c64604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000fff0ea6978 __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 0x000000fff0ea6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000fff0ea6978 void clang::finalize>, 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 0x000000fff0ea6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff271fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff26db354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff26db354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff26db354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff276f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaade99c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaade9db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaade9f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaade96034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe94988c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe94989cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaade960a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/track-control-dependency-conditions.m.script: line 1: 3935452 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/trivial-copy-struct.cpp (1224 of 19712) ******************** TEST 'Clang :: Analysis/trivial-copy-struct.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7b2abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7b28c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7b2b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd124648 (linux-vdso.so.1+0x648) #4 0x000000fff01dff68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff01dff68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff01dff68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff01dff68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff01dff68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff01dff68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff01dff68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff01dff68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000fff01e7d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x000000fff01e7d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x000000fff01e7d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x000000fff01e7d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x000000fff01e7d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x000000fff01e7d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x000000fff01e7d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x000000fff01e7d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x000000fff01e7d94 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 0x000000fff01e965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff01e9780 clang::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 0x000000fff01e9a58 clang::ento::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 0x000000fff01e9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x000000fff01e9c70 clang::ento::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 0x000000fff04f703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff04f703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff04f703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x000000fff04f703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x000000fff04f703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x000000fff04f8224 llvm::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 0x000000fff04f8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x000000fff04f8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x000000fff04fc604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x000000fff04fc604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x000000fff04fc604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x000000fff04fc604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x000000fff04fc604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x000000ffee73e978 __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 0x000000ffee73e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x000000ffee73e978 void clang::finalize>, 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 0x000000ffee73e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x000000ffeffb7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x000000ffeff73354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x000000ffeff73354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x000000ffeff73354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x000000fff00079a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000000aaad015c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000000aaad019b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000000aaad01b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000000aaad012034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x000000ffe6d308c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #53 0x000000ffe6d309cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #54 0x000000aaad0120a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/trivial-copy-struct.cpp.script: line 1: 3935730 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/trivial-copy-struct.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/traversal-algorithm.mm (1225 of 19712) ******************** TEST 'Clang :: Analysis/traversal-algorithm.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe77fabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe77f8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe77fb3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe370648 (linux-vdso.so.1+0x648) #4 0x000000fff02ad388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff02ad388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff02ad388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff02ad388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff02ad388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff02ad388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff02ad388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff02ad388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffeff243a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffeff243a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffeff243a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffeff243a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffeff243a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffeff243a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffeff243a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffeff243a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffeff27dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffeff27dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffeff27dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffeff27dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffeff1b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffeff1b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffeff1b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffeff293b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffeff293b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffeff293b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffeff1bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffeff1bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffeff1bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffeff343b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffeff343b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffeff343b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffeff3b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffeff3b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffeff3b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffefe96138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffefe96138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffefe96138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffefe96138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff03ec114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff03ec114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff03ec114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000ffefea7190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000ffefea7190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000ffefea7190 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:0 #49 0x000000ffefea7190 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:0 #50 0x000000ffefea7190 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:0 #51 0x000000ffefea7190 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:0 #52 0x000000ffefea7190 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:0 #53 0x000000ffefea7190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000ffefea7190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000ffefea7190 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:0 #56 0x000000ffefea77ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000ffefeb9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000ffefeb9c70 clang::ento::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 0x000000fff01c703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff01c703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff01c703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff01c703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff01c703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff01c8224 llvm::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 0x000000fff01c8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff01c8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff01cc604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff01cc604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff01cc604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff01cc604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff01cc604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffee40e978 __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 0x000000ffee40e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffee40e978 void clang::finalize>, 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 0x000000ffee40e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000ffefc87b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000ffefc43354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000ffefc43354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000ffefc43354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000ffefcd79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaaad6dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaaad71b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaaad73234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaaad6a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe6a008c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe6a009cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaaad6a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) 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 (1226 of 19712) ******************** TEST 'Clang :: Analysis/traversal-path-unification.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea28abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea288c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea28b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc700648 (linux-vdso.so.1+0x648) #4 0x000000fff2d3d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2d3d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2d3d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2d3d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2d3d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2d3d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2d3d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2d3d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff29b43a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff29b43a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff29b43a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff29b43a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff29b43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff29b43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff29b43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff29b43a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff29b7dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff29b7dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff29b7dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff29b7dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff29b665c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff29b665c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff29b665c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000fff29b9444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff29b9444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff29b9444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000fff29abd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff29abd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff29abd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff29c43b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff29c43b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff29c43b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff29cb1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff29cb1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff29cb1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff2926138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff2926138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff2926138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff2926138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff2e7c114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff2e7c114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff2e7c114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff2937190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff2937190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff2937190 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:0 #49 0x000000fff2937190 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:0 #50 0x000000fff2937190 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:0 #51 0x000000fff2937190 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:0 #52 0x000000fff2937190 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:0 #53 0x000000fff2937190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff2937190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff2937190 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:0 #56 0x000000fff29377ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff2949c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff2949c70 clang::ento::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 0x000000fff2c5703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff2c5703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff2c5703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff2c5703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff2c5703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff2c58224 llvm::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 0x000000fff2c58224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff2c58224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff2c5c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff2c5c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff2c5c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff2c5c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff2c5c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000fff0e9e978 __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 0x000000fff0e9e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000fff0e9e978 void clang::finalize>, 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 0x000000fff0e9e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff2717b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff26d3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff26d3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff26d3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff27679a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaab1b1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaab1b5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaab1b7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaab1ae034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe94908c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe94909cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaab1ae0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) FileCheck error: '' is empty. FileCheck command line: /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/traversal-path-unification.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/trustnonnullchecker_test.mm (1227 of 19712) ******************** TEST 'Clang :: Analysis/trustnonnullchecker_test.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8b4ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8b4cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8b4f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe2c8648 (linux-vdso.so.1+0x648) #4 0x000000fff1207664 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff1207664 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff1207664 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff1207664 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff1207664 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff1207664 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff1207664 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff1207664 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 0x000000fff120808c 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 0x000000fff120da18 clang::ento::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 0x000000fff120dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x000000fff120dc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x000000fff151b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x000000fff151b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x000000fff151b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x000000fff151b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x000000fff151b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x000000fff151c224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x000000fff151c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x000000fff151c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x000000fff1520604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x000000fff1520604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x000000fff1520604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x000000fff1520604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x000000fff1520604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x000000ffef762978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x000000ffef762978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x000000ffef762978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x000000ffef762978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x000000fff0fdbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x000000fff0f97354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x000000fff0f97354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x000000fff0f97354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x000000fff102b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000000aaade85c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000000aaade89b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000000aaade8b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000000aaade82034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x000000ffe7d548c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #43 0x000000ffe7d549cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #44 0x000000aaade820a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/trustnonnullchecker_test.mm.script: line 1: 3935893 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyze -analyzer-checker=core,nullability,apiModeling -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/trustnonnullchecker_test.mm -- ******************** Testing: 0. FAIL: Clang :: Analysis/unary-sym-expr-no-crash.c (1228 of 19712) ******************** TEST 'Clang :: Analysis/unary-sym-expr-no-crash.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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 0x000000ffe9206bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9204c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe92073d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe654648 (linux-vdso.so.1+0x648) #4 0x000000fff19549e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff19549e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff19549e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff19549e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000fff19549e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000fff19549e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000fff18bc278 llvm::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 0x000000fff18bc278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000fff18bc278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000fff18bc278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000fff18e9e10 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #15 0x000000fff18e9e10 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 #16 0x000000fff18bfb44 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #17 0x000000fff18bfb44 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #18 0x000000fff18bfb44 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #19 0x000000fff18bfb44 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2951:0 #20 0x000000fff18c008c 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 0x000000fff18c5a18 clang::ento::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 0x000000fff18c5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #23 0x000000fff18c5c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #24 0x000000fff1bd303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #25 0x000000fff1bd303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #26 0x000000fff1bd303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #27 0x000000fff1bd303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #28 0x000000fff1bd303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #29 0x000000fff1bd4224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #30 0x000000fff1bd4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #31 0x000000fff1bd4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #32 0x000000fff1bd8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #33 0x000000fff1bd8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #34 0x000000fff1bd8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #35 0x000000fff1bd8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #36 0x000000fff1bd8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #37 0x000000ffefe1a978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #38 0x000000ffefe1a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #39 0x000000ffefe1a978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #40 0x000000ffefe1a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #41 0x000000fff1693b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #42 0x000000fff164f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #43 0x000000fff164f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #44 0x000000fff164f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #45 0x000000fff16e39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #46 0x000000aaabc5dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #47 0x000000aaabc61b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #48 0x000000aaabc63234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #49 0x000000aaabc5a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #50 0x000000ffe840c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #51 0x000000ffe840c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #52 0x000000aaabc5a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/unary-sym-expr-no-crash.c.script: line 2: 3936084 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unary-sym-expr-no-crash.c -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config support-symbolic-integer-casts=false -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/unary-sym-expr.c (1229 of 19712) ******************** TEST 'Clang :: Analysis/unary-sym-expr.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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 0x000000ffe8a32bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8a30c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8a333d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd194648 (linux-vdso.so.1+0x648) #4 0x000000fff14e5388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff14e5388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff14e5388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff14e5388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff14e5388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff14e5388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff14e5388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff14e5388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff115c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff115c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff115c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff115c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff115c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff115c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff115c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff115c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff115fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff115fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff115fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff115fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1153430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1153430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1153430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff11613b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff11613b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff11613b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1153d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1153d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1153d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff116c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff116c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff116c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff11731d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff11731d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff11731d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff10ce0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff10ce0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff10ce0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff10ce0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff1624114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff1624114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff1624114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff10df190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff10df190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff10df190 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:0 #49 0x000000fff10df190 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:0 #50 0x000000fff10df190 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:0 #51 0x000000fff10df190 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:0 #52 0x000000fff10df190 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:0 #53 0x000000fff10df190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff10df190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff10df190 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:0 #56 0x000000fff10df7ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff10f1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff10f1c70 clang::ento::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 0x000000fff13ff03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff13ff03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff13ff03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff13ff03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff13ff03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff1400224 llvm::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 0x000000fff1400224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff1400224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff1404604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff1404604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff1404604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff1404604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff1404604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffef646978 __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 0x000000ffef646978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffef646978 void clang::finalize>, 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 0x000000ffef646978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff0ebfb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff0e7b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff0e7b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff0e7b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff0f0f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaaba0dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaaba11b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaaba13234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaaba0a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe7c388c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe7c389cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaaba0a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/unary-sym-expr.c.script: line 1: 3936134 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-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/unified-sources/UnifiedSource-1.cpp (1230 of 19712) ******************** TEST 'Clang :: Analysis/unified-sources/UnifiedSource-1.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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 0x000000ffe6882bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6880c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe68833d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcfdc648 (linux-vdso.so.1+0x648) #4 0x000000ffef335388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef335388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef335388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef335388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef335388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef335388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef335388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef335388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffeefac3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffeefac3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffeefac3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffeefac3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffeefac3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffeefac3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffeefac3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffeefac3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffeefafdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffeefafdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffeefafdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffeefafdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffeefae65c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffeefae65c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffeefae65c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000ffeefb1444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffeefb1444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffeefb1444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000ffeefa3d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffeefa3d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffeefa3d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffeefbc3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffeefbc3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffeefbc3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffeefc31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffeefc31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffeefc31d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffeef1e138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffeef1e138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffeef1e138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffeef1e138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffef067f24 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #44 0x000000ffef067f24 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #45 0x000000ffef067f24 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #46 0x000000ffef067f24 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #47 0x000000ffef067f24 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #48 0x000000ffef067f24 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp:99:0 #49 0x000000ffef067f24 void clang::ento::check::PreStmt::_checkStmt<(anonymous namespace)::DivZeroChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:85:0 #50 0x000000ffeef05ea8 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #51 0x000000ffeef05ea8 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:26 #52 0x000000ffeef79eec llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #53 0x000000ffeef79eec llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #54 0x000000ffeef79eec llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #55 0x000000ffeef79eec llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #56 0x000000ffeef79eec llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #57 0x000000ffeef79eec clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #58 0x000000ffeef79eec 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 #59 0x000000ffeef3fab8 clang::ento::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 #60 0x000000ffeef3fe0c clang::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 0x000000ffeef4165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffeef4187c clang::ento::CoreEngine::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 0x000000ffeef41c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #64 0x000000ffeef41c70 clang::ento::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 0x000000ffef24f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #66 0x000000ffef24f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #67 0x000000ffef24f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #68 0x000000ffef24f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #69 0x000000ffef24f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #70 0x000000ffef250224 llvm::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 0x000000ffef250224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #72 0x000000ffef250224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #73 0x000000ffef254604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #74 0x000000ffef254604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #75 0x000000ffef254604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #76 0x000000ffef254604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #77 0x000000ffef254604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #78 0x000000ffed496978 __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 0x000000ffed496978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #80 0x000000ffed496978 void clang::finalize>, 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 0x000000ffed496978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #82 0x000000ffeed0fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #83 0x000000ffeeccb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #84 0x000000ffeeccb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #85 0x000000ffeeccb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #86 0x000000ffeed5f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #87 0x000000aaad2b5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #88 0x000000aaad2b9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #89 0x000000aaad2bb234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #90 0x000000aaad2b2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #91 0x000000ffe5a888c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #92 0x000000ffe5a889cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #93 0x000000aaad2b20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/unified-sources/Output/UnifiedSource-1.cpp.script: line 1: 3936367 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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/unified-sources/source1.cpp (1231 of 19712) ******************** TEST 'Clang :: Analysis/unified-sources/source1.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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 0x000000ffe7042bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7040c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe70433d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffe00648 (linux-vdso.so.1+0x648) #4 0x000000ffefaf5388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffefaf5388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffefaf5388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffefaf5388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffefaf5388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffefaf5388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffefaf5388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffefaf5388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef76c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef76c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef76c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef76c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef76c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef76c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef76c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef76c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef76fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef76fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef76fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef76fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef76e65c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef76e65c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef76e65c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000ffef771444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef771444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef771444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000ffef763d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef763d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef763d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef77c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef77c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef77c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef7831d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef7831d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef7831d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef6de138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef6de138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef6de138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef6de138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffef827f24 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #44 0x000000ffef827f24 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #45 0x000000ffef827f24 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #46 0x000000ffef827f24 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #47 0x000000ffef827f24 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #48 0x000000ffef827f24 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp:99:0 #49 0x000000ffef827f24 void clang::ento::check::PreStmt::_checkStmt<(anonymous namespace)::DivZeroChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:85:0 #50 0x000000ffef6c5ea8 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #51 0x000000ffef6c5ea8 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:26 #52 0x000000ffef739eec llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #53 0x000000ffef739eec llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #54 0x000000ffef739eec llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #55 0x000000ffef739eec llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #56 0x000000ffef739eec llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #57 0x000000ffef739eec clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #58 0x000000ffef739eec 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 #59 0x000000ffef6ffab8 clang::ento::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 #60 0x000000ffef6ffe0c clang::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 0x000000ffef70165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef70187c clang::ento::CoreEngine::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 0x000000ffef701c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #64 0x000000ffef701c70 clang::ento::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 0x000000ffefa0f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #66 0x000000ffefa0f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #67 0x000000ffefa0f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #68 0x000000ffefa0f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #69 0x000000ffefa0f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #70 0x000000ffefa10224 llvm::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 0x000000ffefa10224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #72 0x000000ffefa10224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #73 0x000000ffefa14604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #74 0x000000ffefa14604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #75 0x000000ffefa14604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #76 0x000000ffefa14604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #77 0x000000ffefa14604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #78 0x000000ffedc56978 __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 0x000000ffedc56978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #80 0x000000ffedc56978 void clang::finalize>, 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 0x000000ffedc56978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #82 0x000000ffef4cfb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #83 0x000000ffef48b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #84 0x000000ffef48b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #85 0x000000ffef48b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #86 0x000000ffef51f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #87 0x000000aaae95dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #88 0x000000aaae961b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #89 0x000000aaae963234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #90 0x000000aaae95a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #91 0x000000ffe62488c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #92 0x000000ffe62489cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #93 0x000000aaae95a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/unified-sources/Output/source1.cpp.script: line 1: 3936496 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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/undef-buffers.c (1232 of 19712) ******************** TEST 'Clang :: Analysis/undef-buffers.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9faebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9facc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9faf3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff1a0648 (linux-vdso.so.1+0x648) #4 0x000000fff2a457f4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2a457f4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2a457f4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2a457f4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2a457f4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2a457f4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2a457f4 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2a457f4 (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 0x000000fff280dfc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x000000fff280dfc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x000000fff280dfc8 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 0x000000fff263fa28 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x000000fff263fa28 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x000000fff263fa28 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:29 #18 0x000000fff263fa28 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x000000fff26e843c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x000000fff26e843c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x000000fff26e843c clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x000000fff26e843c clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x000000fff26ef1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x000000fff26ef1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x000000fff26ef1d4 clang::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 0x000000fff264a230 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff264a230 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff264a230 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x000000fff264a230 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:0 #30 0x000000fff2ba0114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff2ba0114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff2ba0114 clang::ento::ProgramState::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 0x000000fff2830554 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x000000fff2830554 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x000000fff2830554 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x000000fff2830554 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x000000fff2830554 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x000000fff2830554 (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 0x000000fff2830a4c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #40 0x000000fff2830a4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #41 0x000000fff2830a4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #42 0x000000fff2830a4c (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 #43 0x000000fff283d610 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #44 0x000000fff283d610 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 #45 0x000000fff2640df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #46 0x000000fff2640df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x000000fff2640df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #48 0x000000fff2640df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #49 0x000000fff2640df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #50 0x000000fff2692500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #51 0x000000fff2692500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #52 0x000000fff2692500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #53 0x000000fff2692500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #54 0x000000fff2692e4c clang::ento::ExprEngine::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 0x000000fff266ad1c clang::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 0x000000fff266ad1c clang::ento::ExprEngine::Visit(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 0x000000fff266be0c clang::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 0x000000fff266d65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff266d87c clang::ento::CoreEngine::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 0x000000fff266dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #61 0x000000fff266dc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #62 0x000000fff297b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #63 0x000000fff297b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #64 0x000000fff297b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #65 0x000000fff297b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #66 0x000000fff297b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #67 0x000000fff297c224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #68 0x000000fff297c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #69 0x000000fff297c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #70 0x000000fff2980604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x000000fff2980604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x000000fff2980604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #73 0x000000fff2980604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #74 0x000000fff2980604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #75 0x000000fff0bc2978 __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 0x000000fff0bc2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #77 0x000000fff0bc2978 void clang::finalize>, 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 0x000000fff0bc2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #79 0x000000fff243bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #80 0x000000fff23f7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #81 0x000000fff23f7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #82 0x000000fff23f7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #83 0x000000fff248b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #84 0x000000aaae891c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #85 0x000000aaae895b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #86 0x000000aaae897234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #87 0x000000aaae88e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #88 0x000000ffe91b48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #89 0x000000ffe91b49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #90 0x000000aaae88e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/undef-buffers.c.script: line 1: 3936197 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-exhaustive-switch-bug.c (1234 of 19712) ******************** TEST 'Clang :: Analysis/uninit-exhaustive-switch-bug.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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 0x000000ffe92d6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe92d4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe92d73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcae8648 (linux-vdso.so.1+0x648) #4 0x000000fff1d89388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1d89388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1d89388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1d89388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1d89388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1d89388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1d89388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1d89388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff1a003a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff1a003a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff1a003a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff1a003a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff1a003a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff1a003a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff1a003a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff1a003a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1a05068 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1a05068 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1a05068 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1a05068 (anonymous namespace)::RangeConstraintManager::assumeSymWithinInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3224:34 #24 0x000000fff19f7a38 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff19f7a38 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff19f7a38 clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:129:64 #27 0x000000fff19f7f54 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff19f7f54 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff19f7f54 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #30 0x000000fff1972808 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x000000fff1972808 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x000000fff1972808 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:0 #33 0x000000fff1972808 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #34 0x000000fff19907b8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #35 0x000000fff19907b8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #36 0x000000fff19907b8 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:0 #37 0x000000fff19907b8 clang::ento::ExprEngine::processSwitch(clang::ento::SwitchNodeBuilder&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3004:0 #38 0x000000fff1990c18 clang::ento::CoreEngine::HandleBlockExit(clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:422:0 #39 0x000000fff1995c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #40 0x000000fff1995c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #41 0x000000fff1ca303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #42 0x000000fff1ca303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #43 0x000000fff1ca303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #44 0x000000fff1ca303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #45 0x000000fff1ca303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #46 0x000000fff1ca4224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #47 0x000000fff1ca4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #48 0x000000fff1ca4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #49 0x000000fff1ca8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #50 0x000000fff1ca8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #51 0x000000fff1ca8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #52 0x000000fff1ca8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #53 0x000000fff1ca8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #54 0x000000ffefeea978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #55 0x000000ffefeea978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #56 0x000000ffefeea978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #57 0x000000ffefeea978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #58 0x000000fff1763b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #59 0x000000fff171f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #60 0x000000fff171f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #61 0x000000fff171f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #62 0x000000fff17b39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #63 0x000000aaabca1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #64 0x000000aaabca5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #65 0x000000aaabca7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #66 0x000000aaabc9e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #67 0x000000ffe84dc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #68 0x000000ffe84dc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #69 0x000000aaabc9e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-exhaustive-switch-bug.c.script: line 1: 3936931 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-exhaustive-switch-bug.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/uninit-const.cpp (1235 of 19712) ******************** TEST 'Clang :: Analysis/uninit-const.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe990ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe990cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe990f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc848648 (linux-vdso.so.1+0x648) #4 0x000000fff23c1388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff23c1388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff23c1388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff23c1388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff23c1388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff23c1388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff23c1388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff23c1388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff20383a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff20383a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff20383a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff20383a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff20383a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff20383a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff20383a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff20383a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff203bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff203bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff203bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff203bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff202f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff202f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff202f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff203d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff203d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff203d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff202fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff202fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff202fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff20483b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff20483b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff20483b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff204f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff204f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff204f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1faa138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1faa138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1faa138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1faa138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1faa688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff1faa688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff1faa688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff20119ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff20119ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff20119ac clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff20119ac clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #50 0x000000fff1fc4d50 clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1318:0 #51 0x000000fff1fcd6a8 clang::ento::ExprEngine::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 #52 0x000000fff1fcd87c clang::ento::CoreEngine::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 0x000000fff1fcdc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #54 0x000000fff1fcdc70 clang::ento::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 0x000000fff22db03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff22db03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff22db03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff22db03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff22db03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff22dc224 llvm::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 0x000000fff22dc224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff22dc224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff22e0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff22e0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff22e0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff22e0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff22e0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000fff0522978 __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 0x000000fff0522978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000fff0522978 void clang::finalize>, 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 0x000000fff0522978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff1d9bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff1d57354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff1d57354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff1d57354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff1deb9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaadfd5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaadfd9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaadfdb234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaadfd2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe8b148c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe8b149cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaadfd20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-const.cpp.script: line 2: 3936904 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-bug-first-iteration-init.c (1236 of 19712) ******************** TEST 'Clang :: Analysis/uninit-bug-first-iteration-init.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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 0x000000ffe88b6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe88b4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe88b73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcb28648 (linux-vdso.so.1+0x648) #4 0x000000fff10049e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff10049e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff10049e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff10049e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000fff10049e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000fff10049e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000fff0f6c278 llvm::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 0x000000fff0f6c278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000fff0f6c278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000fff0f6c278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000fff0f73d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #15 0x000000fff0f73d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #16 0x000000fff0f73d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #17 0x000000fff0f73d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #18 0x000000fff0f73d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #19 0x000000fff0f73d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #20 0x000000fff0f73d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #21 0x000000fff0f73d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #22 0x000000fff0f73d94 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 #23 0x000000fff0f7565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff0f75780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #25 0x000000fff0f75a58 clang::ento::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 #26 0x000000fff0f75c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000fff0f75c70 clang::ento::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 0x000000fff128303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000fff128303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000fff128303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000fff128303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000fff128303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000fff1284224 llvm::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 0x000000fff1284224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000fff1284224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000fff1288604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000fff1288604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000fff1288604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000fff1288604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000fff1288604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000ffef4ca978 __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 0x000000ffef4ca978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x000000ffef4ca978 void clang::finalize>, 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 0x000000ffef4ca978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x000000fff0d43b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x000000fff0cff354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x000000fff0cff354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x000000fff0cff354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x000000fff0d939a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #50 0x000000aaadd8dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x000000aaadd91b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x000000aaadd93234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x000000aaadd8a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x000000ffe7abc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #55 0x000000ffe7abc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #56 0x000000aaadd8a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-bug-first-iteration-init.c.script: line 1: 3936587 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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-const.c (1243 of 19712) ******************** TEST 'Clang :: Analysis/uninit-const.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-const.c -analyzer-checker=core -analyzer-checker=unix.Malloc -analyzer-checker=debug.ExprInspection -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=true 1. parser at end of file 2. While analyzing stack: #0 Calling f_malloc_2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-const.c:173:16: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-const.c:173:16: Error evaluating statement #0 0x000000ffe9ea2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9ea0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe9ea33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffed40648 (linux-vdso.so.1+0x648) #4 0x000000fff29397fc retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff29397fc retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff29397fc retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff29397fc IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff29397fc ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff29397fc MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff29397fc get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff29397fc (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 0x000000fff2701fc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x000000fff2701fc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x000000fff2701fc8 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 0x000000fff2533a28 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x000000fff2533a28 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x000000fff2533a28 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:29 #18 0x000000fff2533a28 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x000000fff25dc43c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x000000fff25dc43c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x000000fff25dc43c clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x000000fff25dc43c clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x000000fff25e31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x000000fff25e31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x000000fff25e31d4 clang::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 0x000000fff253e230 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff253e230 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff253e230 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x000000fff253e230 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:0 #30 0x000000fff2a94114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff2a94114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff2a94114 clang::ento::ProgramState::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 0x000000fff2724554 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x000000fff2724554 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x000000fff2724554 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x000000fff2724554 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x000000fff2724554 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x000000fff2724554 (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 0x000000fff2724a4c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #40 0x000000fff2724a4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #41 0x000000fff2724a4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #42 0x000000fff2724a4c (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 #43 0x000000fff2731610 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #44 0x000000fff2731610 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 #45 0x000000fff2534df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #46 0x000000fff2534df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x000000fff2534df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #48 0x000000fff2534df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #49 0x000000fff2534df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #50 0x000000fff2586500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #51 0x000000fff2586500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #52 0x000000fff2586500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #53 0x000000fff2586500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #54 0x000000fff2586e4c clang::ento::ExprEngine::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 0x000000fff255ed1c clang::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 0x000000fff255ed1c clang::ento::ExprEngine::Visit(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 0x000000fff255fe0c clang::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 0x000000fff256165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff256187c clang::ento::CoreEngine::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 0x000000fff2561c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #61 0x000000fff2561c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #62 0x000000fff286f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #63 0x000000fff286f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #64 0x000000fff286f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #65 0x000000fff286f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #66 0x000000fff286f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #67 0x000000fff2870224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #68 0x000000fff2870224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #69 0x000000fff2870224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #70 0x000000fff2874604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x000000fff2874604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x000000fff2874604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #73 0x000000fff2874604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #74 0x000000fff2874604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #75 0x000000fff0ab6978 __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 0x000000fff0ab6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #77 0x000000fff0ab6978 void clang::finalize>, 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 0x000000fff0ab6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #79 0x000000fff232fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #80 0x000000fff22eb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #81 0x000000fff22eb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #82 0x000000fff22eb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #83 0x000000fff237f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #84 0x000000aaad36dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #85 0x000000aaad371b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #86 0x000000aaad373234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #87 0x000000aaad36a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #88 0x000000ffe90a88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #89 0x000000ffe90a89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #90 0x000000aaad36a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-const.c.script: line 1: 3936874 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-ps-rdar6145427.m (1244 of 19712) ******************** TEST 'Clang :: Analysis/uninit-ps-rdar6145427.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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 0x000000ffe7922bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7920c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe79233d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe344648 (linux-vdso.so.1+0x648) #4 0x000000fff00709e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff00709e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff00709e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff00709e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000fff00709e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000fff00709e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000ffeffd8278 llvm::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 0x000000ffeffd8278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000ffeffd8278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000ffeffd8278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000ffeffdfd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #15 0x000000ffeffdfd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #16 0x000000ffeffdfd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #17 0x000000ffeffdfd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #18 0x000000ffeffdfd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #19 0x000000ffeffdfd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #20 0x000000ffeffdfd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #21 0x000000ffeffdfd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #22 0x000000ffeffdfd94 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 #23 0x000000ffeffe165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffeffe1780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #25 0x000000ffeffe1a58 clang::ento::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 #26 0x000000ffeffe1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000ffeffe1c70 clang::ento::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 0x000000fff02ef03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000fff02ef03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000fff02ef03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000fff02ef03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000fff02ef03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000fff02f0224 llvm::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 0x000000fff02f0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000fff02f0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000fff02f4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000fff02f4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000fff02f4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000fff02f4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000fff02f4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000ffee536978 __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 0x000000ffee536978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x000000ffee536978 void clang::finalize>, 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 0x000000ffee536978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x000000ffefdafb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x000000ffefd6b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x000000ffefd6b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x000000ffefd6b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x000000ffefdff9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #50 0x000000aaad9f9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x000000aaad9fdb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x000000aaad9ff234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x000000aaad9f6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x000000ffe6b288c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #55 0x000000ffe6b289cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #56 0x000000aaad9f60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-ps-rdar6145427.m.script: line 1: 3937241 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/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-struct.cpp (1246 of 19712) ******************** TEST 'Clang :: Analysis/uninit-structured-binding-struct.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7f82bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7f80c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7f833d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe278648 (linux-vdso.so.1+0x648) #4 0x000000fff0637f68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff0637f68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff0637f68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff0637f68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff0637f68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff0637f68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff0637f68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff0637f68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000fff063fd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x000000fff063fd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x000000fff063fd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x000000fff063fd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x000000fff063fd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x000000fff063fd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x000000fff063fd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x000000fff063fd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x000000fff063fd94 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 0x000000fff064165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff0641780 clang::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 0x000000fff0641a58 clang::ento::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 0x000000fff0641c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x000000fff0641c70 clang::ento::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 0x000000fff094f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff094f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff094f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x000000fff094f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x000000fff094f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x000000fff0950224 llvm::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 0x000000fff0950224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x000000fff0950224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x000000fff0954604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x000000fff0954604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x000000fff0954604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x000000fff0954604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x000000fff0954604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x000000ffeeb96978 __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 0x000000ffeeb96978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x000000ffeeb96978 void clang::finalize>, 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 0x000000ffeeb96978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x000000fff040fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x000000fff03cb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x000000fff03cb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x000000fff03cb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x000000fff045f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000000aaab30dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000000aaab311b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000000aaab313234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000000aaab30a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x000000ffe71888c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #53 0x000000ffe71889cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #54 0x000000aaab30a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-structured-binding-struct.cpp.script: line 1: 3937433 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-structured-binding-struct.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/uninit-structured-binding-array.cpp (1272 of 19712) ******************** TEST 'Clang :: Analysis/uninit-structured-binding-array.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9856bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9854c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe98573d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc5dc648 (linux-vdso.so.1+0x648) #4 0x000000fff1f0bf68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff1f0bf68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff1f0bf68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff1f0bf68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff1f0bf68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff1f0bf68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff1f0bf68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff1f0bf68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000fff1f13d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x000000fff1f13d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x000000fff1f13d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x000000fff1f13d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x000000fff1f13d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x000000fff1f13d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x000000fff1f13d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x000000fff1f13d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x000000fff1f13d94 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 0x000000fff1f1565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff1f15780 clang::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 0x000000fff1f15a58 clang::ento::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 0x000000fff1f15c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x000000fff1f15c70 clang::ento::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 0x000000fff222303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff222303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff222303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x000000fff222303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x000000fff222303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x000000fff2224224 llvm::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 0x000000fff2224224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x000000fff2224224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x000000fff2228604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x000000fff2228604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x000000fff2228604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x000000fff2228604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x000000fff2228604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x000000fff046a978 __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 0x000000fff046a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x000000fff046a978 void clang::finalize>, 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 0x000000fff046a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x000000fff1ce3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x000000fff1c9f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x000000fff1c9f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x000000fff1c9f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x000000fff1d339a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000000aaadc35c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000000aaadc39b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000000aaadc3b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000000aaadc32034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x000000ffe8a5c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #53 0x000000ffe8a5c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #54 0x000000aaadc320a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-structured-binding-array.cpp.script: line 1: 3937375 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-structured-binding-array.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/uninit-val-const-likeness.c (1275 of 19712) ******************** TEST 'Clang :: Analysis/uninit-val-const-likeness.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8f3abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8f38c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8f3b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffdb2c648 (linux-vdso.so.1+0x648) #4 0x000000fff19ed388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff19ed388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff19ed388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff19ed388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff19ed388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff19ed388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff19ed388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff19ed388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff16643a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff16643a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff16643a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff16643a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff16643a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff16643a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff16643a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff16643a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1667dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1667dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1667dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1667dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff165b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff165b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff165b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff16693b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff16693b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff16693b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff165bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff165bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff165bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff16743b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff16743b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff16743b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff167b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff167b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff167b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff15d6138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff15d6138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff15d6138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff15d6138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1b2c114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff1b2c114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff1b2c114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff171ede0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff171ede0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:0 #48 0x000000fff171ede0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:0 #49 0x000000fff171ede0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:0 #50 0x000000fff15be208 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #51 0x000000fff15e806c clang::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 0x000000fff15e806c 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:0 #53 0x000000fff15eb978 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #54 0x000000fff15eb978 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #55 0x000000fff15eb978 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x000000fff15eb978 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:0 #57 0x000000fff1633ecc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff1633ecc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff1633ecc 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 #60 0x000000fff15f6708 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #61 0x000000fff15f6708 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #62 0x000000fff15f6708 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #63 0x000000fff15f7e0c clang::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 0x000000fff15f965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff15f987c clang::ento::CoreEngine::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 0x000000fff15f9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #67 0x000000fff15f9c70 clang::ento::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 0x000000fff190703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #69 0x000000fff190703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #70 0x000000fff190703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #71 0x000000fff190703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #72 0x000000fff190703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #73 0x000000fff1908224 llvm::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 0x000000fff1908224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #75 0x000000fff1908224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #76 0x000000fff190c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #77 0x000000fff190c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #78 0x000000fff190c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #79 0x000000fff190c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #80 0x000000fff190c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #81 0x000000ffefb4e978 __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 0x000000ffefb4e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #83 0x000000ffefb4e978 void clang::finalize>, 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 0x000000ffefb4e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #85 0x000000fff13c7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #86 0x000000fff1383354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #87 0x000000fff1383354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #88 0x000000fff1383354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #89 0x000000fff14179a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #90 0x000000aaac889c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #91 0x000000aaac88db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #92 0x000000aaac88f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #93 0x000000aaac886034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #94 0x000000ffe81408c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #95 0x000000ffe81409cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #96 0x000000aaac8860a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-val-const-likeness.c.script: line 1: 3937730 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-structured-binding-tuple.cpp (1278 of 19712) ******************** TEST 'Clang :: Analysis/uninit-structured-binding-tuple.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe76bebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe76bcc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe76bf3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcc54648 (linux-vdso.so.1+0x648) #4 0x000000ffefd48f7c retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000ffefd48f7c retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffefd48f7c retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffefd48f7c IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffefd48f7c ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffefd48f7c MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000ffefd48f7c get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000ffefd48f7c 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 0x000000ffefda097c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x000000ffefda097c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x000000ffefda097c 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 #15 0x000000ffefda15dc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x000000ffefda15dc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x000000ffefda15dc 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 #18 0x000000ffefdbeee0 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 #19 0x000000ffefd7acdc clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #20 0x000000ffefd7acdc clang::ento::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 #21 0x000000ffefd7be0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #22 0x000000ffefd7d65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffefd7d87c clang::ento::CoreEngine::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 0x000000ffefd7dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x000000ffefd7dc70 clang::ento::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 0x000000fff008b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff008b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff008b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x000000fff008b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x000000fff008b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x000000fff008c224 llvm::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 0x000000fff008c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x000000fff008c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x000000fff0090604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x000000fff0090604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x000000fff0090604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x000000fff0090604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x000000fff0090604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x000000ffee2d2978 __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 0x000000ffee2d2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x000000ffee2d2978 void clang::finalize>, 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 0x000000ffee2d2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x000000ffefb4bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x000000ffefb07354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x000000ffefb07354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x000000ffefb07354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x000000ffefb9b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000000aaaccfdc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000000aaacd01b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000000aaacd03234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000000aaaccfa034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x000000ffe68c48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #53 0x000000ffe68c49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #54 0x000000aaaccfa0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-structured-binding-tuple.cpp.script: line 1: 3937604 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (1293 of 19712) ******************** TEST 'Clang :: Analysis/uninit-vals.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe71d2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe71d0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe71d33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffe10648 (linux-vdso.so.1+0x648) #4 0x000000ffef887f68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000ffef887f68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffef887f68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffef887f68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffef887f68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffef887f68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000ffef887f68 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000ffef887f68 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #12 0x000000ffef88fd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x000000ffef88fd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x000000ffef88fd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x000000ffef88fd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x000000ffef88fd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x000000ffef88fd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x000000ffef88fd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x000000ffef88fd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x000000ffef88fd94 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 0x000000ffef89165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef891780 clang::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 0x000000ffef891a58 clang::ento::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 0x000000ffef891c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #25 0x000000ffef891c70 clang::ento::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 0x000000ffefb9f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000ffefb9f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000ffefb9f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #29 0x000000ffefb9f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #30 0x000000ffefb9f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #31 0x000000ffefba0224 llvm::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 0x000000ffefba0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x000000ffefba0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #34 0x000000ffefba4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x000000ffefba4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x000000ffefba4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x000000ffefba4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x000000ffefba4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x000000ffedde6978 __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 0x000000ffedde6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x000000ffedde6978 void clang::finalize>, 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 0x000000ffedde6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x000000ffef65fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #44 0x000000ffef61b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #45 0x000000ffef61b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #46 0x000000ffef61b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #47 0x000000ffef6af9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #48 0x000000aaad4c5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x000000aaad4c9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x000000aaad4cb234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x000000aaad4c2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x000000ffe63d88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #53 0x000000ffe63d89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #54 0x000000aaad4c20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-vals.cpp.script: line 2: 3938234 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.builtin -verify -DCHECK_FOR_CRASH /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/uninit-vals.m (1295 of 19712) ******************** TEST 'Clang :: Analysis/uninit-vals.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe99c2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe99c0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe99c33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd99c648 (linux-vdso.so.1+0x648) #4 0x000000fff2099510 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000fff2099510 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff2099510 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff2099510 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff2099510 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff2099510 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff2099510 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000fff2099510 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x000000fff2099510 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x000000fff2099608 (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 0x000000fff20b8650 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #15 0x000000fff20b8650 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #16 0x000000fff20b8650 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 #17 0x000000fff2073b3c 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:0 #18 0x000000fff20bbecc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #19 0x000000fff20bbecc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x000000fff20bbecc 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 #21 0x000000fff207e708 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #22 0x000000fff207e708 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #23 0x000000fff207e708 clang::ento::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 #24 0x000000fff207fe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #25 0x000000fff208165c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #26 0x000000fff208187c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #27 0x000000fff2081c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #28 0x000000fff2081c70 clang::ento::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 0x000000fff238f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x000000fff238f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x000000fff238f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #32 0x000000fff238f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #33 0x000000fff238f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #34 0x000000fff2390224 llvm::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 0x000000fff2390224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x000000fff2390224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #37 0x000000fff2394604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x000000fff2394604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x000000fff2394604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x000000fff2394604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x000000fff2394604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x000000fff05d6978 __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 0x000000fff05d6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x000000fff05d6978 void clang::finalize>, 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 0x000000fff05d6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x000000fff1e4fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #47 0x000000fff1e0b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #48 0x000000fff1e0b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #49 0x000000fff1e0b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #50 0x000000fff1e9f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #51 0x000000aaacba9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x000000aaacbadb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x000000aaacbaf234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x000000aaacba6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x000000ffe8bc88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #56 0x000000ffe8bc89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #57 0x000000aaacba60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-vals.m.script: line 1: 3938247 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.m -- ******************** Testing: 0. FAIL: Clang :: Analysis/unions-region.m (1301 of 19712) ******************** TEST 'Clang :: Analysis/unions-region.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea452bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea450c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea4533d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffca28648 (linux-vdso.so.1+0x648) #4 0x000000fff2f05388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2f05388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2f05388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2f05388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2f05388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2f05388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2f05388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2f05388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff2b7c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff2b7c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff2b7c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff2b7c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff2b7c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff2b7c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff2b7c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff2b7c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff2b7fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff2b7fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff2b7fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff2b7fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff2b7e65c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff2b7e65c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff2b7e65c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000fff2b81444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff2b81444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff2b81444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000fff2b73d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff2b73d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff2b73d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff2b8c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff2b8c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff2b8c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff2b931d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff2b931d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff2b931d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff2aee138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff2aee138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff2aee138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff2aee138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff3044114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff3044114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff3044114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff2aff190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff2aff190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff2aff190 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:0 #49 0x000000fff2aff190 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:0 #50 0x000000fff2aff190 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:0 #51 0x000000fff2aff190 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:0 #52 0x000000fff2aff190 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:0 #53 0x000000fff2aff190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff2aff190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff2aff190 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:0 #56 0x000000fff2aff7ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff2b11c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff2b11c70 clang::ento::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 0x000000fff2e1f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff2e1f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff2e1f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff2e1f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff2e1f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff2e20224 llvm::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 0x000000fff2e20224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff2e20224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff2e24604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff2e24604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff2e24604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff2e24604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff2e24604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000fff1066978 __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 0x000000fff1066978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000fff1066978 void clang::finalize>, 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 0x000000fff1066978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff28dfb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff289b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff289b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff289b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff292f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaae87dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaae881b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaae883234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaae87a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe96588c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe96589cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaae87a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/unions-region.m.script: line 1: 3938277 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unions-region.m -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/unions.cpp (1303 of 19712) ******************** TEST 'Clang :: Analysis/unions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6c9ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6c9cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6c9f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff860648 (linux-vdso.so.1+0x648) #4 0x000000ffef357664 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000ffef357664 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffef357664 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffef357664 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffef357664 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffef357664 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000ffef357664 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000ffef357664 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 0x000000ffef35808c 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 0x000000ffef35da18 clang::ento::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 0x000000ffef35dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x000000ffef35dc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x000000ffef66b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x000000ffef66b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x000000ffef66b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x000000ffef66b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x000000ffef66b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x000000ffef66c224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x000000ffef66c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x000000ffef66c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x000000ffef670604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x000000ffef670604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x000000ffef670604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x000000ffef670604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x000000ffef670604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x000000ffed8b2978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x000000ffed8b2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x000000ffed8b2978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x000000ffed8b2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x000000ffef12bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x000000ffef0e7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x000000ffef0e7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x000000ffef0e7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x000000ffef17b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000000aaaac79c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000000aaaac7db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000000aaaac7f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000000aaaac76034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x000000ffe5ea48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #43 0x000000ffe5ea49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #44 0x000000aaaac760a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/unions.cpp.script: line 1: 3938355 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,unix.Malloc,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unions.cpp -analyzer-config eagerly-assume=false -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/unix-api.c (1407 of 19712) ******************** TEST 'Clang :: Analysis/unix-api.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe755abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7558c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe755b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcbe8648 (linux-vdso.so.1+0x648) #4 0x000000ffefca89e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffefca89e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffefca89e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffefca89e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000ffefca89e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000ffefca89e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000ffefc10278 llvm::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 0x000000ffefc10278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000ffefc10278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000ffefc10278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000ffefc3de10 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #15 0x000000ffefc3de10 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 #16 0x000000ffefc13b44 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #17 0x000000ffefc13b44 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #18 0x000000ffefc13b44 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #19 0x000000ffefc13b44 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2951:0 #20 0x000000ffefc1408c 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 0x000000ffefc19a18 clang::ento::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 0x000000ffefc19c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #23 0x000000ffefc19c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #24 0x000000ffeff2703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #25 0x000000ffeff2703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #26 0x000000ffeff2703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #27 0x000000ffeff2703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #28 0x000000ffeff2703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #29 0x000000ffeff28224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #30 0x000000ffeff28224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #31 0x000000ffeff28224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #32 0x000000ffeff2c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #33 0x000000ffeff2c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #34 0x000000ffeff2c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #35 0x000000ffeff2c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #36 0x000000ffeff2c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #37 0x000000ffee16e978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #38 0x000000ffee16e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #39 0x000000ffee16e978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #40 0x000000ffee16e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #41 0x000000ffef9e7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #42 0x000000ffef9a3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #43 0x000000ffef9a3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #44 0x000000ffef9a3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #45 0x000000ffefa379a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #46 0x000000aaab1e5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #47 0x000000aaab1e9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #48 0x000000aaab1eb234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #49 0x000000aaab1e2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #50 0x000000ffe67608c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #51 0x000000ffe67609cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #52 0x000000aaab1e20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/unix-api.c.script: line 1: 3938465 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.API -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unix-api.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/unix-api.cpp (1414 of 19712) ******************** TEST 'Clang :: Analysis/unix-api.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe99aabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe99a8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe99ab3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffce00648 (linux-vdso.so.1+0x648) #4 0x000000fff2063664 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff2063664 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff2063664 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff2063664 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff2063664 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff2063664 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff2063664 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff2063664 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 0x000000fff206408c 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 0x000000fff2069a18 clang::ento::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 0x000000fff2069c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x000000fff2069c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x000000fff237703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x000000fff237703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x000000fff237703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x000000fff237703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x000000fff237703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x000000fff2378224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x000000fff2378224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x000000fff2378224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x000000fff237c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x000000fff237c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x000000fff237c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x000000fff237c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x000000fff237c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x000000fff05be978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x000000fff05be978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x000000fff05be978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x000000fff05be978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x000000fff1e37b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x000000fff1df3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x000000fff1df3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x000000fff1df3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x000000fff1e879a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000000aaab201c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000000aaab205b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000000aaab207234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000000aaab1fe034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x000000ffe8bb08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #43 0x000000ffe8bb09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #44 0x000000aaab1fe0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/unix-api.cpp.script: line 1: 3938672 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/uninit-vals.c (1432 of 19712) ******************** TEST 'Clang :: Analysis/uninit-vals.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -fblocks -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.c 1. parser at end of file 2. While analyzing stack: #0 Calling pr_4630 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.c:106:7: Error evaluating branch #0 0x000000ffe7a5abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7a58c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7a5b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffebe8648 (linux-vdso.so.1+0x648) #4 0x000000fff050d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff050d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff050d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff050d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff050d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff050d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff050d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff050d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff01843a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff01843a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff01843a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff01843a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff01843a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff01843a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff01843a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff01843a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0187dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0187dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0187dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0187dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff018665c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff018665c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff018665c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000fff0189444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0189444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0189444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000fff017bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff017bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff017bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff01943b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff01943b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff01943b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff019b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff019b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff019b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff00f6138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff00f6138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff00f6138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff00f6138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff064c114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff064c114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff064c114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff0107190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff0107190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff0107190 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:0 #49 0x000000fff0107190 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:0 #50 0x000000fff0107190 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:0 #51 0x000000fff0107190 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:0 #52 0x000000fff0107190 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:0 #53 0x000000fff0107190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff0107190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff0107190 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:0 #56 0x000000fff01077ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff0119c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff0119c70 clang::ento::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 0x000000fff042703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff042703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff042703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff042703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff042703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff0428224 llvm::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 0x000000fff0428224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff0428224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff042c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff042c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff042c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff042c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff042c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffee66e978 __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 0x000000ffee66e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffee66e978 void clang::finalize>, 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 0x000000ffee66e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000ffefee7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000ffefea3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000ffefea3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000ffefea3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000ffeff379a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaacce9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaaccedb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaaccef234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaacce6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe6c608c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe6c609cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaacce60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-vals.c.script: line 1: 3937811 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/unreachable-code-path.c (1549 of 19712) ******************** TEST 'Clang :: Analysis/unreachable-code-path.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe96b6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe96b4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe96b73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff9e8648 (linux-vdso.so.1+0x648) #4 0x000000fff2169388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2169388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2169388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2169388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2169388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2169388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2169388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2169388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff1de03a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff1de03a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff1de03a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff1de03a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff1de03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff1de03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff1de03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff1de03a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1de5068 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1de5068 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1de5068 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1de5068 (anonymous namespace)::RangeConstraintManager::assumeSymWithinInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3224:34 #24 0x000000fff1dd7a38 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1dd7a38 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1dd7a38 clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:129:64 #27 0x000000fff1dd7f54 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff1dd7f54 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff1dd7f54 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #30 0x000000fff1d52808 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x000000fff1d52808 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x000000fff1d52808 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:0 #33 0x000000fff1d52808 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #34 0x000000fff1d707b8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #35 0x000000fff1d707b8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #36 0x000000fff1d707b8 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:0 #37 0x000000fff1d707b8 clang::ento::ExprEngine::processSwitch(clang::ento::SwitchNodeBuilder&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3004:0 #38 0x000000fff1d70c18 clang::ento::CoreEngine::HandleBlockExit(clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:422:0 #39 0x000000fff1d75c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #40 0x000000fff1d75c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #41 0x000000fff208303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #42 0x000000fff208303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #43 0x000000fff208303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #44 0x000000fff208303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #45 0x000000fff208303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #46 0x000000fff2084224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #47 0x000000fff2084224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #48 0x000000fff2084224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #49 0x000000fff2088604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #50 0x000000fff2088604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #51 0x000000fff2088604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #52 0x000000fff2088604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #53 0x000000fff2088604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #54 0x000000fff02ca978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #55 0x000000fff02ca978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #56 0x000000fff02ca978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #57 0x000000fff02ca978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #58 0x000000fff1b43b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #59 0x000000fff1aff354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #60 0x000000fff1aff354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #61 0x000000fff1aff354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #62 0x000000fff1b939a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #63 0x000000aaad585c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #64 0x000000aaad589b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #65 0x000000aaad58b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #66 0x000000aaad582034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #67 0x000000ffe88bc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #68 0x000000ffe88bc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #69 0x000000aaad5820a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/unreachable-code-path.c.script: line 1: 3938849 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,deadcode.DeadStores,alpha.deadcode.UnreachableCode -verify -Wno-unused-value /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unreachable-code-path.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/unix-fns.c (1567 of 19712) ******************** TEST 'Clang :: Analysis/unix-fns.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/unix-fns.c.tmp.plist : 'RUN: at line 2'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling anonymous code at line Invoking block defined at line 223 #1 Calling dispatch_sync at line 223 #2 Calling test_dispatch_sync 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unix-fns.c:224:8: Error evaluating branch #0 0x000000ffe8006bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8004c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe80073d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffce50648 (linux-vdso.so.1+0x648) #4 0x000000fff0ab9388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0ab9388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0ab9388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0ab9388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0ab9388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0ab9388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0ab9388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0ab9388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff07303a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff07303a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff07303a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff07303a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff07303a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff07303a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff07303a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff07303a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0733dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0733dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0733dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0733dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0727430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0727430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0727430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff07353b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff07353b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff07353b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0727d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0727d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0727d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff07403b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff07403b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff07403b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff07471d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff07471d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff07471d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff06a2138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff06a2138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff06a2138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff06a2138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff0bf8114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff0bf8114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff0bf8114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff06b3190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff06b3190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff06b3190 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:0 #49 0x000000fff06b3190 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:0 #50 0x000000fff06b3190 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:0 #51 0x000000fff06b3190 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:0 #52 0x000000fff06b3190 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:0 #53 0x000000fff06b3190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff06b3190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff06b3190 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:0 #56 0x000000fff06b37ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff06c5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff06c5c70 clang::ento::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 0x000000fff09d303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff09d303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff09d303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff09d303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff09d303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff09d4224 llvm::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 0x000000fff09d4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff09d4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff09d8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff09d8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff09d8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff09d8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff09d8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffeec1a978 __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 0x000000ffeec1a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffeec1a978 void clang::finalize>, 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 0x000000ffeec1a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff0493b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff044f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff044f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff044f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff04e39a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaac97dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaac981b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaac983234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaac97a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe720c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe720c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaac97a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/unix-fns.c.script: line 5: 3938748 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/unix-fns.c.tmp.plist -- ******************** Testing: 0.. FAIL: Clang :: Analysis/valist-uninitialized-no-undef.c (1688 of 19712) ******************** TEST 'Clang :: Analysis/valist-uninitialized-no-undef.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7cfebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7cfcc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe7cff3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff188648 (linux-vdso.so.1+0x648) #4 0x000000fff066b544 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff066b544 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff066b544 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff066b544 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff066b544 llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:38 #9 0x000000fff066b544 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 0x000000fff066b544 get<(anonymous namespace)::InitializedVALists> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff066b544 (anonymous namespace)::ValistChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ValistChecker.cpp:206:0 #12 0x000000fff03828e8 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x000000fff03b41b4 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x000000fff03b41b4 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x000000fff03b41b4 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #16 0x000000fff03b41b4 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #17 0x000000fff03b41b4 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #18 0x000000fff03b41b4 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #19 0x000000fff03b41b4 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #20 0x000000fff03bbd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x000000fff03bbd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x000000fff03bbd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x000000fff03bbd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x000000fff03bbd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x000000fff03bbd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x000000fff03bbd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x000000fff03bbd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x000000fff03bbd94 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 0x000000fff03bd65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff03bd87c clang::ento::CoreEngine::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 0x000000fff03bdc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #32 0x000000fff03bdc70 clang::ento::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 0x000000fff06cb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x000000fff06cb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x000000fff06cb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #36 0x000000fff06cb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #37 0x000000fff06cb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #38 0x000000fff06cc224 llvm::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 0x000000fff06cc224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #40 0x000000fff06cc224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #41 0x000000fff06d0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x000000fff06d0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x000000fff06d0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #44 0x000000fff06d0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #45 0x000000fff06d0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #46 0x000000ffee912978 __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 0x000000ffee912978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #48 0x000000ffee912978 void clang::finalize>, 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 0x000000ffee912978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #50 0x000000fff018bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #51 0x000000fff0147354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #52 0x000000fff0147354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #53 0x000000fff0147354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #54 0x000000fff01db9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #55 0x000000aaac7f1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #56 0x000000aaac7f5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #57 0x000000aaac7f7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #58 0x000000aaac7ee034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #59 0x000000ffe6f048c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #60 0x000000ffe6f049cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #61 0x000000aaac7ee0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/valist-uninitialized-no-undef.c.script: line 1: 3939121 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/use-after-move.cpp (1763 of 19712) ******************** TEST 'Clang :: Analysis/use-after-move.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8272bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8270c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe82733d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffddcc648 (linux-vdso.so.1+0x648) #4 0x000000fff0d25388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0d25388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0d25388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0d25388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0d25388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0d25388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0d25388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0d25388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff099c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff099c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff099c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff099c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff099c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff099c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff099c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff099c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff099fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff099fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff099fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff099fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0993430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0993430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0993430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff09a13b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff09a13b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff09a13b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0993d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0993d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0993d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff09ac3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff09ac3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff09ac3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff09b31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff09b31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff09b31d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff090e138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff090e138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff090e138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff090e138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff090e688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff090e688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff090e688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff08d6b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff08d6b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff08d6b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff0922674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff0922674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff0922674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000fff0932010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff0932010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff0932010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff0c3f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff0c3f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff0c3f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff0c3f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff0c3f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff0c40224 llvm::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 0x000000fff0c40224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff0c40224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff0c44604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff0c44604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff0c44604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff0c44604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff0c44604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffeee86978 __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 0x000000ffeee86978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffeee86978 void clang::finalize>, 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 0x000000ffeee86978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff06ffb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff06bb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff06bb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff06bb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff074f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaac725c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaac729b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaac72b234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaac722034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe74788c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe74789cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaac7220a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/use-after-move.cpp.script: line 8: 3939041 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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-as-lazycompound.c (1858 of 19712) ******************** TEST 'Clang :: Analysis/valist-as-lazycompound.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe79babb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe79b8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe79bb3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff148648 (linux-vdso.so.1+0x648) #4 0x000000fff0327544 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff0327544 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff0327544 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff0327544 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff0327544 llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:38 #9 0x000000fff0327544 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 0x000000fff0327544 get<(anonymous namespace)::InitializedVALists> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff0327544 (anonymous namespace)::ValistChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ValistChecker.cpp:206:0 #12 0x000000fff003e8e8 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x000000fff00701b4 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x000000fff00701b4 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x000000fff00701b4 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #16 0x000000fff00701b4 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #17 0x000000fff00701b4 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #18 0x000000fff00701b4 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #19 0x000000fff00701b4 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #20 0x000000fff0077d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x000000fff0077d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x000000fff0077d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x000000fff0077d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x000000fff0077d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x000000fff0077d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x000000fff0077d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x000000fff0077d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x000000fff0077d94 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 0x000000fff007965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff007987c clang::ento::CoreEngine::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 0x000000fff0079c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #32 0x000000fff0079c70 clang::ento::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 0x000000fff038703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x000000fff038703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x000000fff038703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #36 0x000000fff038703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #37 0x000000fff038703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #38 0x000000fff0388224 llvm::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 0x000000fff0388224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #40 0x000000fff0388224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #41 0x000000fff038c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x000000fff038c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x000000fff038c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #44 0x000000fff038c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #45 0x000000fff038c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #46 0x000000ffee5ce978 __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 0x000000ffee5ce978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #48 0x000000ffee5ce978 void clang::finalize>, 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 0x000000ffee5ce978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #50 0x000000ffefe47b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #51 0x000000ffefe03354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #52 0x000000ffefe03354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #53 0x000000ffefe03354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #54 0x000000ffefe979a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #55 0x000000aaae47dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #56 0x000000aaae481b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #57 0x000000aaae483234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #58 0x000000aaae47a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #59 0x000000ffe6bc08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #60 0x000000ffe6bc09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #61 0x000000aaae47a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/valist-as-lazycompound.c.script: line 1: 3939082 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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.c (2002 of 19712) ******************** TEST 'Clang :: Analysis/valist-uninitialized.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8ac2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8ac0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8ac33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc794648 (linux-vdso.so.1+0x648) #4 0x000000fff142f544 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff142f544 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff142f544 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff142f544 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff142f544 llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:38 #9 0x000000fff142f544 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 0x000000fff142f544 get<(anonymous namespace)::InitializedVALists> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff142f544 (anonymous namespace)::ValistChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ValistChecker.cpp:206:0 #12 0x000000fff11468e8 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x000000fff11781b4 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x000000fff11781b4 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x000000fff11781b4 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #16 0x000000fff11781b4 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #17 0x000000fff11781b4 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #18 0x000000fff11781b4 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #19 0x000000fff11781b4 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #20 0x000000fff117fd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x000000fff117fd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x000000fff117fd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x000000fff117fd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x000000fff117fd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x000000fff117fd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x000000fff117fd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x000000fff117fd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x000000fff117fd94 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 0x000000fff118165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff118187c clang::ento::CoreEngine::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 0x000000fff1181c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #32 0x000000fff1181c70 clang::ento::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 0x000000fff148f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x000000fff148f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x000000fff148f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #36 0x000000fff148f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #37 0x000000fff148f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #38 0x000000fff1490224 llvm::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 0x000000fff1490224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #40 0x000000fff1490224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #41 0x000000fff1494604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x000000fff1494604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x000000fff1494604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #44 0x000000fff1494604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #45 0x000000fff1494604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #46 0x000000ffef6d6978 __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 0x000000ffef6d6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #48 0x000000ffef6d6978 void clang::finalize>, 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 0x000000ffef6d6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #50 0x000000fff0f4fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #51 0x000000fff0f0b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #52 0x000000fff0f0b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #53 0x000000fff0f0b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #54 0x000000fff0f9f9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #55 0x000000aaab4c9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #56 0x000000aaab4cdb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #57 0x000000aaab4cf234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #58 0x000000aaab4c6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #59 0x000000ffe7cc88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #60 0x000000ffe7cc89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #61 0x000000aaab4c60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/valist-uninitialized.c.script: line 3: 3939471 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple hexagon-unknown-linux -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-uninitialized.c -analyzer-checker=core,valist.Uninitialized,valist.CopyToSelf -analyzer-disable-checker=core.CallAndMessage -analyzer-output=text -- ******************** Testing: 0.. FAIL: Clang :: Analysis/valist-unterminated.c (2156 of 19712) ******************** TEST 'Clang :: Analysis/valist-unterminated.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe987ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe987cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe987f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc0c4648 (linux-vdso.so.1+0x648) #4 0x000000fff21eb544 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff21eb544 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff21eb544 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff21eb544 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff21eb544 llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:38 #9 0x000000fff21eb544 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 0x000000fff21eb544 get<(anonymous namespace)::InitializedVALists> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff21eb544 (anonymous namespace)::ValistChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ValistChecker.cpp:206:0 #12 0x000000fff1f028e8 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x000000fff1f341b4 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x000000fff1f341b4 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x000000fff1f341b4 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #16 0x000000fff1f341b4 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #17 0x000000fff1f341b4 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #18 0x000000fff1f341b4 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #19 0x000000fff1f341b4 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #20 0x000000fff1f3bd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x000000fff1f3bd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x000000fff1f3bd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x000000fff1f3bd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x000000fff1f3bd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x000000fff1f3bd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x000000fff1f3bd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x000000fff1f3bd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x000000fff1f3bd94 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 0x000000fff1f3d65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff1f3d87c clang::ento::CoreEngine::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 0x000000fff1f3dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #32 0x000000fff1f3dc70 clang::ento::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 0x000000fff224b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x000000fff224b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x000000fff224b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #36 0x000000fff224b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #37 0x000000fff224b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #38 0x000000fff224c224 llvm::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 0x000000fff224c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #40 0x000000fff224c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #41 0x000000fff2250604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x000000fff2250604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x000000fff2250604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #44 0x000000fff2250604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #45 0x000000fff2250604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #46 0x000000fff0492978 __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 0x000000fff0492978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #48 0x000000fff0492978 void clang::finalize>, 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 0x000000fff0492978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #50 0x000000fff1d0bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #51 0x000000fff1cc7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #52 0x000000fff1cc7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #53 0x000000fff1cc7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #54 0x000000fff1d5b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #55 0x000000aaadd11c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #56 0x000000aaadd15b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #57 0x000000aaadd17234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #58 0x000000aaadd0e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #59 0x000000ffe8a848c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #60 0x000000ffe8a849cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #61 0x000000aaadd0e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/valist-unterminated.c.script: line 2: 3939703 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple hexagon-unknown-linux -analyzer-checker=core,valist.Unterminated,valist.CopyToSelf -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-unterminated.c -- ******************** Testing: 0.. FAIL: Clang :: Analysis/variadic-method-types.m (2198 of 19712) ******************** TEST 'Clang :: Analysis/variadic-method-types.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe670abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6708c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe670b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe58c648 (linux-vdso.so.1+0x648) #4 0x000000ffef1bd388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef1bd388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef1bd388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef1bd388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef1bd388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef1bd388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef1bd388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef1bd388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffeee343a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffeee343a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffeee343a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffeee343a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffeee343a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffeee343a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffeee343a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffeee343a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffeee37dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffeee37dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffeee37dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffeee37dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffeee2b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffeee2b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffeee2b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffeee393b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffeee393b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffeee393b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffeee2bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffeee2bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffeee2bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffeee443b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffeee443b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffeee443b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffeee4b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffeee4b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffeee4b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffeeda6138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffeeda6138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffeeda6138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffeeda6138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffef2fc114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000ffef2fc114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000ffef2fc114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000ffeee0e404 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #47 0x000000ffeee0e404 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #48 0x000000ffeee0e404 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #49 0x000000ffeee0e404 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #50 0x000000ffeee0e404 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #51 0x000000ffeee0e404 clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #52 0x000000ffeedc677c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #53 0x000000ffeedc677c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #54 0x000000ffeedc7e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x000000ffeedc965c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x000000ffeedc987c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x000000ffeedc9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000ffeedc9c70 clang::ento::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 0x000000ffef0d703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000ffef0d703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000ffef0d703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000ffef0d703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000ffef0d703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000ffef0d8224 llvm::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 0x000000ffef0d8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000ffef0d8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000ffef0dc604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000ffef0dc604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000ffef0dc604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000ffef0dc604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000ffef0dc604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffed31e978 __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 0x000000ffed31e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffed31e978 void clang::finalize>, 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 0x000000ffed31e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000ffeeb97b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000ffeeb53354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000ffeeb53354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000ffeeb53354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000ffeebe79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaac861c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaac865b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaac867234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaac85e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe59108c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe59109cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaac85e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/variadic-method-types.m.script: line 1: 3939810 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.cocoa.VariadicMethodTypes -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/variadic-method-types.m -- ******************** Testing: 0.. FAIL: Clang :: Analysis/vector.m (2214 of 19712) ******************** TEST 'Clang :: Analysis/vector.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9312bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9310c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe93133d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcc70648 (linux-vdso.so.1+0x648) #4 0x000000fff1dc5388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1dc5388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1dc5388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1dc5388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1dc5388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1dc5388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1dc5388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1dc5388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff1a3c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff1a3c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff1a3c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff1a3c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff1a3c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff1a3c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff1a3c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff1a3c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1a3fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1a3fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1a3fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1a3fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1a33430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1a33430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1a33430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff1a413b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff1a413b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff1a413b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1a33d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1a33d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1a33d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff1a4c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff1a4c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff1a4c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff1a531d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff1a531d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff1a531d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff19ae138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff19ae138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff19ae138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff19ae138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1f04114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff1f04114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff1f04114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff1a16404 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #47 0x000000fff1a16404 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #48 0x000000fff1a16404 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #49 0x000000fff1a16404 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #50 0x000000fff1a16404 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #51 0x000000fff1a16404 clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #52 0x000000fff19ce77c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #53 0x000000fff19ce77c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #54 0x000000fff19cfe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #55 0x000000fff19d165c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #56 0x000000fff19d187c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #57 0x000000fff19d1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff19d1c70 clang::ento::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 0x000000fff1cdf03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff1cdf03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff1cdf03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff1cdf03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff1cdf03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff1ce0224 llvm::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 0x000000fff1ce0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff1ce0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff1ce4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff1ce4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff1ce4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff1ce4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff1ce4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffeff26978 __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 0x000000ffeff26978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffeff26978 void clang::finalize>, 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 0x000000ffeff26978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff179fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff175b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff175b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff175b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff17ef9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaae5a9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaae5adb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaae5af234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaae5a6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe85188c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe85189cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaae5a60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/vector.m.script: line 1: 3939897 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/vfork.c (2317 of 19712) ******************** TEST 'Clang :: Analysis/vfork.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe968abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9688c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe968b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffedb8648 (linux-vdso.so.1+0x648) #4 0x000000fff213d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff213d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff213d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff213d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff213d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff213d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff213d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff213d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff1db43a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff1db43a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff1db43a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff1db43a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff1db43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff1db43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff1db43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff1db43a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1db7dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1db7dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1db7dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1db7dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1db665c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1db665c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1db665c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000fff1db9444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff1db9444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff1db9444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000fff1dabd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1dabd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1dabd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff1dc43b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff1dc43b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff1dc43b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff1dcb1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff1dcb1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff1dcb1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1d26138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1d26138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1d26138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1d26138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff227c114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff227c114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff227c114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff1ff6008 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:9 #47 0x000000fff1ff6008 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:21 #48 0x000000fff1ff6008 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:44 #49 0x000000fff1ff6008 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:25 #50 0x000000fff1ff6008 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:44 #51 0x000000fff1ff6008 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/VforkChecker.cpp:178:11 #52 0x000000fff1ff6008 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 #53 0x000000fff1d1cdf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #54 0x000000fff1d1cdf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #55 0x000000fff1d1cdf0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #56 0x000000fff1d1cdf0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #57 0x000000fff1d1cdf0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #58 0x000000fff1d6e500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #59 0x000000fff1d6e500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #60 0x000000fff1d6e500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #61 0x000000fff1d6e500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #62 0x000000fff1d6ee4c clang::ento::ExprEngine::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 0x000000fff1d46d1c clang::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 0x000000fff1d46d1c clang::ento::ExprEngine::Visit(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 0x000000fff1d47e0c clang::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 0x000000fff1d4965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff1d4987c clang::ento::CoreEngine::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 0x000000fff1d49c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #69 0x000000fff1d49c70 clang::ento::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 0x000000fff205703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #71 0x000000fff205703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #72 0x000000fff205703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #73 0x000000fff205703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #74 0x000000fff205703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #75 0x000000fff2058224 llvm::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 0x000000fff2058224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x000000fff2058224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #78 0x000000fff205c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x000000fff205c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x000000fff205c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x000000fff205c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x000000fff205c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x000000fff029e978 __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 0x000000fff029e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x000000fff029e978 void clang::finalize>, 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 0x000000fff029e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x000000fff1b17b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #88 0x000000fff1ad3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #89 0x000000fff1ad3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #90 0x000000fff1ad3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #91 0x000000fff1b679a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #92 0x000000aaad539c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x000000aaad53db18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x000000aaad53f234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x000000aaad536034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x000000ffe88908c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #97 0x000000ffe88909cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #98 0x000000aaad5360a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/vfork.c.script: line 2: 3940119 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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.. 10 FAIL: Clang :: Analysis/virtualcall-fixits.cpp (2560 of 19712) ******************** TEST 'Clang :: Analysis/virtualcall-fixits.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall-fixits.cpp.tmp.plist : 'RUN: at line 9'; cat /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe7d06bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) check:23'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #1 0x000000ffe7d04c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) check:23'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0.. 10 FAIL: Clang :: Analysis/virtualcall-plist.cpp (2701 of 19712) ******************** TEST 'Clang :: Analysis/virtualcall-plist.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe8ccabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8cc8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8ccb3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffdc74648 (linux-vdso.so.1+0x648) #4 0x000000fff177d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff177d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff177d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff177d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff177d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff177d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff177d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff177d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff13f43a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff13f43a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff13f43a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff13f43a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff13f43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff13f43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff13f43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff13f43a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff13f7dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff13f7dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff13f7dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff13f7dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff13eb430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff13eb430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff13eb430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff13f93b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff13f93b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff13f93b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff13ebd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff13ebd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff13ebd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff14043b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff14043b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff14043b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff140b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff140b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff140b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1366138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1366138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1366138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1366138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1366688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff1366688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff1366688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff132eb4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff132eb4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff132eb4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff137a674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff137a674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff137a674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000fff138a010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff138a010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff138a010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff169703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff169703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff169703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff169703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff169703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff1698224 llvm::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 0x000000fff1698224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff1698224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff169c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff169c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff169c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff169c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff169c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffef8de978 __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 0x000000ffef8de978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffef8de978 void clang::finalize>, 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 0x000000ffef8de978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff1157b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff1113354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff1113354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff1113354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff11a79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaabbf9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaabbfdb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaabbff234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaabbf6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe7ed08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe7ed09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaabbf60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall-plist.cpp.script: line 6: 3940284 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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.. 10 FAIL: Clang :: Analysis/vla-overflow.c (2730 of 19712) ******************** TEST 'Clang :: Analysis/vla-overflow.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe992ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe992cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe992f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffdab8648 (linux-vdso.so.1+0x648) #4 0x000000fff23e1388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff23e1388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff23e1388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff23e1388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff23e1388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff23e1388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff23e1388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff23e1388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff20583a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff20583a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff20583a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff20583a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff20583a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff20583a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff20583a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff20583a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff205bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff205bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff205bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff205bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff204f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff204f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff204f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff205d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff205d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff205d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff204fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff204fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff204fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff20683b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff20683b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff20683b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff206f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff206f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff206f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1fca0e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1fca0e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1fca0e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1fca0e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff1fdfe4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff1fdfe4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff1fdfe4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:0 #46 0x000000fff1fdfe4c 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:0 #47 0x000000fff1febb90 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #48 0x000000fff1febb90 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #49 0x000000fff1febb90 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #50 0x000000fff1febb90 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #51 0x000000fff1febb90 clang::ento::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 #52 0x000000fff1febe0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #53 0x000000fff1fed65c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #54 0x000000fff1fed87c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #55 0x000000fff1fedc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #56 0x000000fff1fedc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #57 0x000000fff22fb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #58 0x000000fff22fb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #59 0x000000fff22fb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #60 0x000000fff22fb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #61 0x000000fff22fb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #62 0x000000fff22fc224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #63 0x000000fff22fc224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #64 0x000000fff22fc224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #65 0x000000fff2300604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x000000fff2300604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x000000fff2300604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #68 0x000000fff2300604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #69 0x000000fff2300604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #70 0x000000fff0542978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #71 0x000000fff0542978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #72 0x000000fff0542978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #73 0x000000fff0542978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #74 0x000000fff1dbbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #75 0x000000fff1d77354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #76 0x000000fff1d77354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #77 0x000000fff1d77354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #78 0x000000fff1e0b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #79 0x000000aaad67dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #80 0x000000aaad681b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #81 0x000000aaad683234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #82 0x000000aaad67a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #83 0x000000ffe8b348c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #84 0x000000ffe8b349cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #85 0x000000aaad67a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/vla-overflow.c.script: line 1: 3940603 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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.. 10 FAIL: Clang :: Analysis/virtualcall.cpp (2750 of 19712) ******************** TEST 'Clang :: Analysis/virtualcall.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9066bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9064c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe90673d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc9d0648 (linux-vdso.so.1+0x648) #4 0x000000fff1b19388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1b19388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1b19388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1b19388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1b19388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1b19388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1b19388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1b19388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff17903a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff17903a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff17903a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff17903a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff17903a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff17903a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff17903a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff17903a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1793dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1793dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1793dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1793dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1787430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1787430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1787430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff17953b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff17953b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff17953b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1787d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1787d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1787d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff17a03b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff17a03b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff17a03b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff17a71d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff17a71d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff17a71d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1702138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1702138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1702138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1702138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1702688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff1702688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff1702688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff16cab4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff16cab4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff16cab4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff1716674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff1716674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff1716674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000fff1726010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff1726010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff1726010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff1a3303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff1a3303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff1a3303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff1a3303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff1a3303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff1a34224 llvm::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 0x000000fff1a34224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff1a34224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff1a38604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff1a38604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff1a38604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff1a38604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff1a38604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffefc7a978 __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 0x000000ffefc7a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffefc7a978 void clang::finalize>, 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 0x000000ffefc7a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff14f3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff14af354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff14af354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff14af354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff15439a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #77 0x000000aaac0c1c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x000000aaac0c5b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x000000aaac0c7234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x000000aaac0be034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x000000ffe826c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #82 0x000000ffe826c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #83 0x000000aaac0be0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall.cpp.script: line 5: 3940469 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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.. 10 FAIL: Clang :: Analysis/vla.c (2803 of 19712) ******************** TEST 'Clang :: Analysis/vla.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9136bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9134c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe91373d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd7b4648 (linux-vdso.so.1+0x648) #4 0x000000fff1be9388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1be9388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1be9388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1be9388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1be9388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1be9388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1be9388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1be9388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff18603a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff18603a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff18603a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff18603a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff18603a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff18603a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff18603a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff18603a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1863dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1863dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1863dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1863dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1857430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1857430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1857430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff18653b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff18653b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff18653b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1857d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1857d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1857d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff18703b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff18703b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff18703b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff18771d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff18771d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff18771d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff17d2138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff17d2138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff17d2138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff17d2138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1d28114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff1d28114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff1d28114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff1bc8a54 checkVLAIndexSize /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp:175:0 #47 0x000000fff1bc8a54 (anonymous namespace)::VLASizeChecker::checkVLA(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, clang::VariableArrayType const*, clang::ento::SVal&) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp:83:0 #48 0x000000fff1aa2334 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #49 0x000000fff1aa2334 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #50 0x000000fff1aa2334 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #51 0x000000fff1aa2334 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp:297:19 #52 0x000000fff1aa2334 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 0x000000fff17b9ea8 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #54 0x000000fff17b9ea8 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:26 #55 0x000000fff1826978 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #56 0x000000fff1826978 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #57 0x000000fff1826978 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #58 0x000000fff1826978 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #59 0x000000fff1826978 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #60 0x000000fff1826978 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #61 0x000000fff1826978 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 0x000000fff17f3194 clang::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 0x000000fff17f3194 clang::ento::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 0x000000fff17f3e0c clang::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 0x000000fff17f565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff17f587c clang::ento::CoreEngine::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 0x000000fff17f5c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #68 0x000000fff17f5c70 clang::ento::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 0x000000fff1b0303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #70 0x000000fff1b0303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #71 0x000000fff1b0303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #72 0x000000fff1b0303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #73 0x000000fff1b0303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #74 0x000000fff1b04224 llvm::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 0x000000fff1b04224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #76 0x000000fff1b04224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #77 0x000000fff1b08604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #78 0x000000fff1b08604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #79 0x000000fff1b08604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #80 0x000000fff1b08604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #81 0x000000fff1b08604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #82 0x000000ffefd4a978 __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 0x000000ffefd4a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #84 0x000000ffefd4a978 void clang::finalize>, 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 0x000000ffefd4a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #86 0x000000fff15c3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #87 0x000000fff157f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #88 0x000000fff157f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #89 0x000000fff157f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #90 0x000000fff16139a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #91 0x000000aaac75dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #92 0x000000aaac761b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #93 0x000000aaac763234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #94 0x000000aaac75a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #95 0x000000ffe833c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #96 0x000000ffe833c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #97 0x000000aaac75a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/vla.c.script: line 1: 3940667 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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.. 10 FAIL: Clang :: Analysis/weak-functions.c (2821 of 19712) ******************** TEST 'Clang :: Analysis/weak-functions.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe82bebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe82bcc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe82bf3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff840648 (linux-vdso.so.1+0x648) #4 0x000000fff0d71388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0d71388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0d71388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0d71388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0d71388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0d71388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0d71388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0d71388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff09e83a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff09e83a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff09e83a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff09e83a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff09e83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff09e83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff09e83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff09e83a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff09ebdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff09ebdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff09ebdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff09ebdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff09ea65c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff09ea65c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff09ea65c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #27 0x000000fff09ed444 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff09ed444 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff09ed444 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #30 0x000000fff09dfd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff09dfd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff09dfd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff09f83b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff09f83b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff09f83b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff09ff1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff09ff1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff09ff1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff095a138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff095a138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff095a138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff095a138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff0eb0114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff0eb0114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff0eb0114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff0a42c40 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #47 0x000000fff0a42c40 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #48 0x000000fff0a42c40 checkFunctionPointerCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:390:0 #49 0x000000fff0a42c40 checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:546:0 #50 0x000000fff0a42c40 void clang::ento::check::PreCall::_checkCall<(anonymous namespace)::CallAndMessageChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:168:0 #51 0x000000fff0950df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #52 0x000000fff0950df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x000000fff0950df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #54 0x000000fff0950df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #55 0x000000fff0950df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #56 0x000000fff09a23d8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #57 0x000000fff09a23d8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #58 0x000000fff09a23d8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #59 0x000000fff09a23d8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #60 0x000000fff09a23d8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #61 0x000000fff09a23d8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #62 0x000000fff09a23d8 clang::ento::ExprEngine::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 #63 0x000000fff09a2e4c clang::ento::ExprEngine::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 #64 0x000000fff097ad1c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #65 0x000000fff097ad1c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #66 0x000000fff097be0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #67 0x000000fff097d65c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #68 0x000000fff097d87c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #69 0x000000fff097dc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #70 0x000000fff097dc70 clang::ento::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 0x000000fff0c8b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #72 0x000000fff0c8b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #73 0x000000fff0c8b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #74 0x000000fff0c8b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #75 0x000000fff0c8b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #76 0x000000fff0c8c224 llvm::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 0x000000fff0c8c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #78 0x000000fff0c8c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #79 0x000000fff0c90604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #80 0x000000fff0c90604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #81 0x000000fff0c90604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #82 0x000000fff0c90604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #83 0x000000fff0c90604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #84 0x000000ffeeed2978 __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 0x000000ffeeed2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #86 0x000000ffeeed2978 void clang::finalize>, 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 0x000000ffeeed2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #88 0x000000fff074bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #89 0x000000fff0707354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #90 0x000000fff0707354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #91 0x000000fff0707354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #92 0x000000fff079b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #93 0x000000aaabed5c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #94 0x000000aaabed9b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #95 0x000000aaabedb234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #96 0x000000aaabed2034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #97 0x000000ffe74c48c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #98 0x000000ffe74c49cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #99 0x000000aaabed20a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/weak-functions.c.script: line 1: 3940723 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection,unix.Malloc,unix.cstring,alpha.unix.cstring,unix.API,osx.API,osx.cocoa.RetainCount -Wno-null-dereference -Wno-tautological-compare -fblocks -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/weak-functions.c -- ******************** Testing: 0.. 10 FAIL: Clang :: Analysis/z3/apsint.c (2921 of 19712) ******************** TEST 'Clang :: Analysis/z3/apsint.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe8fa6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8fa4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe8fa73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc374648 (linux-vdso.so.1+0x648) #4 0x000000fff1a59388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1a59388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1a59388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1a59388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1a59388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1a59388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1a59388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1a59388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff16d03a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff16d03a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff16d03a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff16d03a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff16d03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff16d03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff16d03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff16d03a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff16d3aec llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff16d3aec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff16d3aec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff16d3aec (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:31 #24 0x000000fff16c7430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff16c7430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff16c7430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff16d53b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff16d53b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff16d53b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff16c7d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff16c7d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff16c7d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff16e03b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff16e03b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff16e03b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff16e71d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff16e71d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff16e71d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff16420e0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff16420e0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff16420e0 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff16420e0 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:0 #43 0x000000fff1b98114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff1b98114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff1b98114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000fff1653190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000fff1653190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000fff1653190 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:0 #49 0x000000fff1653190 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:0 #50 0x000000fff1653190 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:0 #51 0x000000fff1653190 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:0 #52 0x000000fff1653190 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:0 #53 0x000000fff1653190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000fff1653190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000fff1653190 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:0 #56 0x000000fff16537ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000fff1665c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000fff1665c70 clang::ento::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 0x000000fff197303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000fff197303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000fff197303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000fff197303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000fff197303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000fff1974224 llvm::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 0x000000fff1974224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000fff1974224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000fff1978604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000fff1978604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000fff1978604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000fff1978604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000fff1978604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffefbba978 __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 0x000000ffefbba978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffefbba978 void clang::finalize>, 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 0x000000ffefbba978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000fff1433b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000fff13ef354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000fff13ef354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000fff13ef354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000fff14839a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #81 0x000000aaab211c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x000000aaab215b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x000000aaab217234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x000000aaab20e034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x000000ffe81ac8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #86 0x000000ffe81ac9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #87 0x000000aaab20e0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/z3/Output/apsint.c.script: line 1: 3941024 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux-gnu -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/z3/apsint.c -- ******************** Testing: 0.. 10 FAIL: Clang :: Analysis/wstring.c (2935 of 19712) ******************** TEST 'Clang :: Analysis/wstring.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe74dabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe74d8c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe74db3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffd64c648 (linux-vdso.so.1+0x648) #4 0x000000ffeff735b0 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffeff735b0 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffeff735b0 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffeff735b0 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffeff735b0 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffeff735b0 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 0x000000ffeff735b0 get<(anonymous namespace)::CStringLength> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffeff735b0 (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 0x000000ffefc3e430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x000000ffefc3e430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x000000ffefc3e430 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 0x000000ffefb6b704 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x000000ffefb6b704 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x000000ffefb6b704 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*)>::operator()(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:29 #18 0x000000ffefb6b704 clang::ento::CheckerManager::runCheckersForRegionChanges(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:608:33 #19 0x000000ffefbce770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x000000ffefbce770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x000000ffefbce770 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 0x000000ffefbce770 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 0x000000ffefbce770 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 0x000000ffefb981cc llvm::IntrusiveRefCntPtr::get() const /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:200:0 #25 0x000000ffefb981cc bool llvm::operator==(llvm::IntrusiveRefCntPtr const&, llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:233:0 #26 0x000000ffefb981cc 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:0 #27 0x000000ffefb986d0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #28 0x000000ffefb986d0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #29 0x000000ffefb986d0 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:0 #30 0x000000ffefb98984 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #31 0x000000ffefb98984 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #32 0x000000ffefb98984 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #33 0x000000ffefb98984 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:0 #34 0x000000ffefbcabd4 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #35 0x000000ffefbcabd4 clang::ento::ExprEngine::VisitDeclStmt(clang::DeclStmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:627:0 #36 0x000000ffefb97194 clang::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 0x000000ffefb97194 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2239:0 #38 0x000000ffefb97e0c clang::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 0x000000ffefb9965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffefb9987c clang::ento::CoreEngine::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 0x000000ffefb99c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #42 0x000000ffefb99c70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #43 0x000000ffefea703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffefea703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffefea703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #46 0x000000ffefea703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #47 0x000000ffefea703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #48 0x000000ffefea8224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #49 0x000000ffefea8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #50 0x000000ffefea8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #51 0x000000ffefeac604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #52 0x000000ffefeac604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #53 0x000000ffefeac604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #54 0x000000ffefeac604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #55 0x000000ffefeac604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #56 0x000000ffee0ee978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #57 0x000000ffee0ee978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #58 0x000000ffee0ee978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #59 0x000000ffee0ee978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #60 0x000000ffef967b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #61 0x000000ffef923354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #62 0x000000ffef923354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #63 0x000000ffef923354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #64 0x000000ffef9b79a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #65 0x000000aaacec9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #66 0x000000aaacecdb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #67 0x000000aaacecf234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #68 0x000000aaacec6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #69 0x000000ffe66e08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #70 0x000000ffe66e09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #71 0x000000aaacec60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/wstring.c.script: line 2: 3940881 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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.. 10 FAIL: Clang :: Analysis/zero-operands.c (2990 of 19712) ******************** TEST 'Clang :: Analysis/zero-operands.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe87e2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe87e0c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe87e33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffe5c648 (linux-vdso.so.1+0x648) #4 0x000000fff0f309e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0f309e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0f309e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0f309e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000fff0f309e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000fff0f309e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000fff0e98278 llvm::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 0x000000fff0e98278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000fff0e98278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000fff0e98278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000fff0e9fd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #15 0x000000fff0e9fd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #16 0x000000fff0e9fd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #17 0x000000fff0e9fd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #18 0x000000fff0e9fd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #19 0x000000fff0e9fd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #20 0x000000fff0e9fd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #21 0x000000fff0e9fd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #22 0x000000fff0e9fd94 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 #23 0x000000fff0ea165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff0ea187c clang::ento::CoreEngine::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 0x000000fff0ea1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #26 0x000000fff0ea1c70 clang::ento::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 0x000000fff11af03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #28 0x000000fff11af03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #29 0x000000fff11af03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #30 0x000000fff11af03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #31 0x000000fff11af03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #32 0x000000fff11b0224 llvm::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 0x000000fff11b0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x000000fff11b0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #35 0x000000fff11b4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x000000fff11b4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x000000fff11b4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x000000fff11b4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x000000fff11b4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x000000ffef3f6978 __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 0x000000ffef3f6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x000000ffef3f6978 void clang::finalize>, 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 0x000000ffef3f6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x000000fff0c6fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #45 0x000000fff0c2b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #46 0x000000fff0c2b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #47 0x000000fff0c2b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #48 0x000000fff0cbf9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #49 0x000000aaad7b9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x000000aaad7bdb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x000000aaad7bf234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x000000aaad7b6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x000000ffe79e88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #54 0x000000ffe79e89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #55 0x000000aaad7b60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/zero-operands.c.script: line 1: 3941031 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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.. 10 FAIL: Clang :: Analysis/zero-size-non-pod-array.cpp (3007 of 19712) ******************** TEST 'Clang :: Analysis/zero-size-non-pod-array.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffea23ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffea23cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffea23f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffca68648 (linux-vdso.so.1+0x648) #4 0x000000fff28f7664 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000fff28f7664 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000fff28f7664 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000fff28f7664 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000fff28f7664 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000fff28f7664 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000fff28f7664 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000fff28f7664 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 0x000000fff28f808c 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 0x000000fff28fda18 clang::ento::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 0x000000fff28fdc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #15 0x000000fff28fdc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #16 0x000000fff2c0b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x000000fff2c0b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x000000fff2c0b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #19 0x000000fff2c0b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #20 0x000000fff2c0b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #21 0x000000fff2c0c224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #22 0x000000fff2c0c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #23 0x000000fff2c0c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #24 0x000000fff2c10604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x000000fff2c10604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x000000fff2c10604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #27 0x000000fff2c10604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #28 0x000000fff2c10604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #29 0x000000fff0e52978 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #30 0x000000fff0e52978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #31 0x000000fff0e52978 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #32 0x000000fff0e52978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #33 0x000000fff26cbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #34 0x000000fff2687354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #35 0x000000fff2687354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #36 0x000000fff2687354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #37 0x000000fff271b9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #38 0x000000aaae8f9c1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #39 0x000000aaae8fdb18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #40 0x000000aaae8ff234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #41 0x000000aaae8f6034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #42 0x000000ffe94448c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #43 0x000000ffe94449cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #44 0x000000aaae8f60a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/zero-size-non-pod-array.cpp.script: line 2: 3941393 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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.. 10.. 20.. 30.. 40.. FAIL: Clang :: Coverage/html-diagnostics.c (9662 of 19712) ******************** TEST 'Clang :: Coverage/html-diagnostics.c' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Coverage/Output/html-diagnostics.c.tmp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-output=html -analyzer-checker=core -o /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/test/Coverage/Output/html-diagnostics.c.tmp : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-output=html -analyzer-checker=core -o /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe9002bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9000c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe90033d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe838648 (linux-vdso.so.1+0x648) #4 0x000000fff17509e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff17509e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff17509e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff17509e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000fff17509e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000fff17509e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000fff16b8278 llvm::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 0x000000fff16b8278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000fff16b8278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000fff16b8278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000fff16bfd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #15 0x000000fff16bfd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #16 0x000000fff16bfd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #17 0x000000fff16bfd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #18 0x000000fff16bfd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #19 0x000000fff16bfd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #20 0x000000fff16bfd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #21 0x000000fff16bfd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #22 0x000000fff16bfd94 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 #23 0x000000fff16c165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff16c1780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #25 0x000000fff16c1a58 clang::ento::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 #26 0x000000fff16c1c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000fff16c1c70 clang::ento::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 0x000000fff19cf03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000fff19cf03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000fff19cf03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000fff19cf03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000fff19cf03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000fff19d0224 llvm::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 0x000000fff19d0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000fff19d0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000fff19d4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000fff19d4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000fff19d4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000fff19d4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000fff19d4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000ffefc16978 __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 0x000000ffefc16978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x000000ffefc16978 void clang::finalize>, 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 0x000000ffefc16978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x000000fff148fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x000000fff144b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x000000fff144b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x000000fff144b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x000000fff14df9a8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:273:0 #50 0x000000aaab50dc1c cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x000000aaab511b18 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x000000aaab513234 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x000000aaab50a034 main /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x000000ffe82088c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #55 0x000000ffe82089cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #56 0x000000aaab50a0a0 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang+0xe0a0) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Coverage/Output/html-diagnostics.c.script: line 6: 4001109 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-output=html -analyzer-checker=core -o /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Coverage/Output/html-diagnostics.c.tmp /builddir/build/BUILD/clang-17.0.6.src/test/Coverage/html-diagnostics.c -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang :: Tooling/clang-check-analyzer.cpp (18958 of 19712) ******************** TEST 'Clang :: Tooling/clang-check-analyzer.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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/loongarch64-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/loongarch64-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 0x000000ffe83dabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) ^ :12:206: note: possible intended match here #11 0x000000fff0e8d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(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 0x000000ffe83dabb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) check:6'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: #1 0x000000ffe83d8bdc llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8bdc) check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3: #2 0x000000ffe83db3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4: #3 0x000000ffff1e0648 (linux-vdso.so.1+0x648) check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: #4 0x000000fff0e8d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #5 0x000000fff0e8d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: #6 0x000000fff0e8d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: #7 0x000000fff0e8d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9: #8 0x000000fff0e8d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10: #9 0x000000fff0e8d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11: #10 0x000000fff0e8d388 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 0x000000fff0e8d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(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 0x000000fff0b043a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14: #13 0x000000fff0b043a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15: #14 0x000000fff0b043a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 16: #15 0x000000fff0b043a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 17: #16 0x000000fff0b043a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang :: Tooling/clang-check-analyze-save-temps.cpp (19118 of 19712) ******************** TEST 'Clang :: Tooling/clang-check-analyze-save-temps.cpp' FAILED ******************** Script: -- : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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/loongarch64-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 0x000000ffe761ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe761cbdc llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8bdc) #2 0x000000ffe761f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffced0648 (linux-vdso.so.1+0x648) #4 0x000000fff00d1388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff00d1388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff00d1388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff00d1388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff00d1388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff00d1388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff00d1388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff00d1388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffefd483a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffefd483a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffefd483a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffefd483a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffefd483a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffefd483a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffefd483a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffefd483a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffefd4bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffefd4bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffefd4bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffefd4bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffefd3f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffefd3f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffefd3f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffefd4d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffefd4d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffefd4d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffefd3fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffefd3fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffefd3fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffefd583b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffefd583b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffefd583b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffefd5f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffefd5f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffefd5f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffefcba138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffefcba138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffefcba138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffefcba138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff0210114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #44 0x000000fff0210114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #45 0x000000fff0210114 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #46 0x000000ffefccb190 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #47 0x000000ffefccb190 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:0 #48 0x000000ffefccb190 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:0 #49 0x000000ffefccb190 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:0 #50 0x000000ffefccb190 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:0 #51 0x000000ffefccb190 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:0 #52 0x000000ffefccb190 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:0 #53 0x000000ffefccb190 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:0 #54 0x000000ffefccb190 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:0 #55 0x000000ffefccb190 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:0 #56 0x000000ffefccb7ac clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:0 #57 0x000000ffefcddc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #58 0x000000ffefcddc70 clang::ento::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 0x000000ffeffeb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #60 0x000000ffeffeb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #61 0x000000ffeffeb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #62 0x000000ffeffeb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #63 0x000000ffeffeb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #64 0x000000ffeffec224 llvm::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 0x000000ffeffec224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x000000ffeffec224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #67 0x000000ffefff0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x000000ffefff0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x000000ffefff0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x000000ffefff0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x000000ffefff0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x000000ffee232978 __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 0x000000ffee232978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x000000ffee232978 void clang::finalize>, 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 0x000000ffee232978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x000000ffefaabb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #77 0x000000ffefa67354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #78 0x000000ffefa67354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #79 0x000000ffefa67354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #80 0x000000ffefc300dc std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #81 0x000000ffefc300dc std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #82 0x000000ffefc300dc clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #83 0x000000ffefc300dc clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:0 #84 0x000000ffefc2d8b8 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #85 0x000000ffefc2d8b8 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #86 0x000000ffefc2d8b8 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #87 0x000000ffefc2d8b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:0 #88 0x000000ffefc2f240 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #89 0x000000ffefc2f240 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #90 0x000000ffefc2f240 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #91 0x000000ffefc2f240 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #92 0x000000ffefc30798 clang::tooling::ClangTool::run(clang::tooling::ToolAction*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:612:0 #93 0x000000aaab7710f0 main /builddir/build/BUILD/clang-17.0.6.src/tools/clang-check/ClangCheck.cpp:259:18 #94 0x000000ffe68248c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #95 0x000000ffe68249cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #96 0x000000aaab771910 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang-check+0x9910) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test/Tooling/Output/clang-check-analyze-save-temps.cpp.script: line 2: 4108751 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang-check -analyze /builddir/build/BUILD/clang-17.0.6.src/test/Tooling/clang-check-analyze-save-temps.cpp -- -save-temps -c -Xclang -verify -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/0/45 (19327 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/0/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-0-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=0 /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 0x000000ffe6c3ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6c3cbdc llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8bdc) #2 0x000000ffe6c3f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcf3c648 (linux-vdso.so.1+0x648) #4 0x000000ffef2c8f7c retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x000000ffef2c8f7c retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffef2c8f7c retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffef2c8f7c IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffef2c8f7c ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffef2c8f7c MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000ffef2c8f7c get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x000000ffef2c8f7c 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 0x000000ffef2d35ac llvm::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 0x000000ffef2d35ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #14 0x000000ffef2d35ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x000000ffef2d35ac clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:429:50 #16 0x000000ffef2d35ac 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:45 #17 0x000000ffef2d4d9c clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:7 #18 0x000000ffef2d4d9c clang::ento::AnyCXXConstructorCall::getInitialStackFrameContents(clang::StackFrameContext const*, llvm::SmallVectorImpl>&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:915:31 #19 0x000000ffef387b90 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #20 0x000000ffef387b90 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #21 0x000000ffef333e7c clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #22 0x000000ffef333e7c clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #23 0x000000ffef334058 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #24 0x000000ffef334058 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #25 0x000000ffef334058 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #26 0x000000ffef340020 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000ffef340020 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000ffef340020 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #29 0x000000ffef340b88 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #30 0x000000ffef340b88 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #31 0x000000ffef340b88 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x000000ffef340b88 clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #33 0x000000ffef2d9670 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:706:0 #34 0x000000ffef33eda0 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #35 0x000000ffef33eda0 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #36 0x000000ffef33eda0 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #37 0x000000ffef33eda0 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #38 0x000000ffef33eda0 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #39 0x000000ffef33eda0 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #40 0x000000ffef33eda0 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #41 0x000000ffef2facdc clang::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 0x000000ffef2facdc clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #43 0x000000ffef2fbe0c clang::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 0x000000ffef2fd65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef2fd87c clang::ento::CoreEngine::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 0x000000ffef2fdc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #47 0x000000ffef2fdc70 clang::ento::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 0x000000ffef60b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #49 0x000000ffef60b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #50 0x000000ffef60b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #51 0x000000ffef60b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #52 0x000000ffef60b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #53 0x000000ffef60c224 llvm::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 0x000000ffef60c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #55 0x000000ffef60c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #56 0x000000ffef610604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x000000ffef610604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x000000ffef610604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #59 0x000000ffef610604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #60 0x000000ffef610604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #61 0x000000ffed852978 __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 0x000000ffed852978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #63 0x000000ffed852978 void clang::finalize>, 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 0x000000ffed852978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #65 0x000000ffef0cbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #66 0x000000ffef087354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #67 0x000000ffef087354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #68 0x000000ffef087354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #69 0x000000ffef2500dc std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #70 0x000000ffef2500dc std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #71 0x000000ffef2500dc clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #72 0x000000ffef2500dc clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:0 #73 0x000000ffef24d8b8 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #74 0x000000ffef24d8b8 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #75 0x000000ffef24d8b8 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #76 0x000000ffef24d8b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:0 #77 0x000000ffef24f240 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #78 0x000000ffef24f240 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #79 0x000000ffef24f240 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #80 0x000000ffef24f240 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #81 0x000000ffef24f914 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:0 #82 0x000000ffef24fc88 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #83 0x000000ffef24fc88 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #84 0x000000ffef24fc88 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #85 0x000000ffef24fc88 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:0 #86 0x000000ffef24fe44 clang::tooling::runToolOnCode(std::unique_ptr>, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:179:0 #87 0x000000aaacded5f8 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:6 #88 0x000000aaacded5f8 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:7 #89 0x000000aaacded5f8 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:11 #90 0x000000aaacded5f8 runCheckerOnCode /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:121:32 #91 0x000000aaacded5f8 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 #92 0x000000aaacdf0e00 clang::ento::(anonymous namespace)::TestReturnValueUnderConstructionChecker_ReturnValueUnderConstructionChecker_Test::TestBody() /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/TestReturnValueUnderConstruction.cpp:59:3 #93 0x000000aaace027b8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1167b8) #94 0x000000aaace03e50 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x117e50) #95 0x000000aaace04544 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x118544) #96 0x000000aaace10244 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x124244) #97 0x000000aaace0fa14 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x123a14) #98 0x000000aaacdfb3b8 main (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10f3b8) #99 0x000000ffe5e448c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #100 0x000000ffe5e449cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #101 0x000000aaacd48b38 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5cb38) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-0-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/32/45 (19329 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/32/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-32-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=32 /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (6 ms) [----------] 1 test from RangeSetTest/2 (6 ms total) [----------] 1 test from RangeSetCastToNoopTest/4, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToNoopTest/4.RangeSetCastToNoopTest [ OK ] RangeSetCastToNoopTest/4.RangeSetCastToNoopTest (3 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 (3 ms) [----------] 1 test from RangeSetCastToPromotionConversionTest/9 (3 ms total) [----------] 5 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/0 [ OK ] SValTests/SValTest.GetConstType/0 (5 ms) [ RUN ] SValTests/SValTest.GetSymExprType/3 [ OK ] SValTests/SValTest.GetSymExprType/3 (4 ms) [ RUN ] SValTests/SValTest.GetCompoundType/6 #0 0x000000ffe9646bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9644bdc llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8bdc) #2 0x000000ffe96473d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff354648 (linux-vdso.so.1+0x648) #4 0x000000fff20f9388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff20f9388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff20f9388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff20f9388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff20f9388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff20f9388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff20f9388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff20f9388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff1d703a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff1d703a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff1d703a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff1d703a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff1d703a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff1d703a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff1d703a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff1d703a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1d73dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1d73dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1d73dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1d73dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1d67430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1d67430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1d67430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff1d753b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff1d753b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff1d753b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1d67d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1d67d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1d67d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff1d803b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff1d803b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff1d803b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff1d871d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff1d871d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff1d871d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1ce2138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1ce2138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1ce2138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1ce2138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1ce2688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff1ce2688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff1ce2688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff1caab4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff1caab4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff1caab4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff1cf6674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff1cf6674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff1cf6674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000fff1d06010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff1d06010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff1d06010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff201303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff201303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff201303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff201303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff201303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff2014224 llvm::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 0x000000fff2014224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff2014224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff2018604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff2018604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff2018604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff2018604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff2018604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000fff025a978 __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 0x000000fff025a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000fff025a978 void clang::finalize>, 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 0x000000fff025a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff1ad3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff1a8f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff1a8f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff1a8f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff1c580dc std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #77 0x000000fff1c580dc std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #78 0x000000fff1c580dc clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #79 0x000000fff1c580dc clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:0 #80 0x000000fff1c558b8 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #81 0x000000fff1c558b8 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #82 0x000000fff1c558b8 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #83 0x000000fff1c558b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:0 #84 0x000000fff1c57240 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #85 0x000000fff1c57240 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #86 0x000000fff1c57240 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #87 0x000000fff1c57240 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #88 0x000000fff1c57914 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:0 #89 0x000000fff1c57c88 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #90 0x000000fff1c57c88 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #91 0x000000fff1c57c88 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #92 0x000000fff1c57c88 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:0 #93 0x000000aaab2bf908 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 #94 0x000000aaab2bf908 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #95 0x000000aaab2bf908 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #96 0x000000aaab2bf908 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 #97 0x000000aaab2e27b8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1167b8) #98 0x000000aaab2e3e50 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x117e50) #99 0x000000aaab2e4544 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x118544) #100 0x000000aaab2f0244 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x124244) #101 0x000000aaab2efa14 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x123a14) #102 0x000000aaab2db3b8 main (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10f3b8) #103 0x000000ffe884c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #104 0x000000ffe884c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #105 0x000000aaab228b38 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5cb38) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-32-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/34/45 (19348 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/34/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-34-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=34 /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (5 ms) [----------] 1 test from RangeSetTest/3 (5 ms total) [----------] 1 test from RangeSetCastToNoopTest/6, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToNoopTest/6.RangeSetCastToNoopTest [ OK ] RangeSetCastToNoopTest/6.RangeSetCastToNoopTest (1 ms) [----------] 1 test from RangeSetCastToNoopTest/6 (1 ms total) [----------] 1 test from RangeSetCastToPromotionConversionTest/11, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionConversionTest/11.Test [ OK ] RangeSetCastToPromotionConversionTest/11.Test (1 ms) [----------] 1 test from RangeSetCastToPromotionConversionTest/11 (2 ms total) [----------] 5 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/2 [ OK ] SValTests/SValTest.GetConstType/2 (4 ms) [ RUN ] SValTests/SValTest.GetSymExprType/5 [ OK ] SValTests/SValTest.GetSymExprType/5 (3 ms) [ RUN ] SValTests/SValTest.GetCompoundType/8 #0 0x000000ffe671abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6718bdc llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8bdc) #2 0x000000ffe671b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe650648 (linux-vdso.so.1+0x648) #4 0x000000ffef1cd388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef1cd388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef1cd388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef1cd388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef1cd388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef1cd388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef1cd388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef1cd388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffeee443a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffeee443a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffeee443a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffeee443a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffeee443a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffeee443a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffeee443a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffeee443a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffeee47dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffeee47dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffeee47dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffeee47dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffeee3b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffeee3b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffeee3b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffeee493b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffeee493b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffeee493b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffeee3bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffeee3bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffeee3bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffeee543b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffeee543b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffeee543b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffeee5b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffeee5b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffeee5b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffeedb6138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffeedb6138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffeedb6138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffeedb6138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffeedb6688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffeedb6688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffeedb6688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000ffeed7eb4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000ffeed7eb4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000ffeed7eb4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000ffeedca674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000ffeedca674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000ffeedca674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000ffeedda010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000ffeedda010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000ffeedda010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000ffef0e703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000ffef0e703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000ffef0e703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000ffef0e703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000ffef0e703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000ffef0e8224 llvm::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 0x000000ffef0e8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000ffef0e8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000ffef0ec604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000ffef0ec604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000ffef0ec604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000ffef0ec604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000ffef0ec604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffed32e978 __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 0x000000ffed32e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffed32e978 void clang::finalize>, 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 0x000000ffed32e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000ffeeba7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000ffeeb63354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000ffeeb63354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000ffeeb63354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000ffeed2c0dc std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #77 0x000000ffeed2c0dc std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #78 0x000000ffeed2c0dc clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #79 0x000000ffeed2c0dc clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:0 #80 0x000000ffeed298b8 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #81 0x000000ffeed298b8 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #82 0x000000ffeed298b8 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #83 0x000000ffeed298b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:0 #84 0x000000ffeed2b240 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #85 0x000000ffeed2b240 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #86 0x000000ffeed2b240 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #87 0x000000ffeed2b240 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #88 0x000000ffeed2b914 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:0 #89 0x000000ffeed2bc88 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #90 0x000000ffeed2bc88 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #91 0x000000ffeed2bc88 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #92 0x000000ffeed2bc88 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:0 #93 0x000000aaaea6f908 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 #94 0x000000aaaea6f908 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #95 0x000000aaaea6f908 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #96 0x000000aaaea6f908 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 #97 0x000000aaaea927b8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1167b8) #98 0x000000aaaea93e50 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x117e50) #99 0x000000aaaea94544 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x118544) #100 0x000000aaaeaa0244 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x124244) #101 0x000000aaaea9fa14 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x123a14) #102 0x000000aaaea8b3b8 main (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10f3b8) #103 0x000000ffe59208c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #104 0x000000ffe59209cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #105 0x000000aaae9d8b38 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5cb38) -- exit: -7 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-34-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/35/45 (19349 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/35/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-35-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=35 /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (7 ms) [----------] 1 test from RangeSetTest/3 (7 ms total) [----------] 1 test from RangeSetCastToNoopTest/7, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToNoopTest/7.RangeSetCastToNoopTest [ OK ] RangeSetCastToNoopTest/7.RangeSetCastToNoopTest (3 ms) [----------] 1 test from RangeSetCastToNoopTest/7 (4 ms total) [----------] 1 test from RangeSetCastToTruncationConversionTest/0, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationConversionTest/0.Test [ OK ] RangeSetCastToTruncationConversionTest/0.Test (2 ms) [----------] 1 test from RangeSetCastToTruncationConversionTest/0 (3 ms total) [----------] 5 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/3 [ OK ] SValTests/SValTest.GetConstType/3 (7 ms) [ RUN ] SValTests/SValTest.GetSymExprType/6 [ OK ] SValTests/SValTest.GetSymExprType/6 (8 ms) [ RUN ] SValTests/SValTest.GetCompoundType/9 #0 0x000000ffe6d8ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6d8cbdc llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8bdc) #2 0x000000ffe6d8f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff2fc648 (linux-vdso.so.1+0x648) #4 0x000000ffef841388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef841388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef841388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef841388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef841388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef841388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef841388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef841388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef4b83a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef4b83a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef4b83a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef4b83a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef4b83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef4b83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef4b83a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef4b83a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef4bbdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef4bbdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef4bbdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef4bbdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef4af430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef4af430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef4af430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef4bd3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef4bd3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef4bd3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef4afd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef4afd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef4afd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef4c83b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef4c83b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef4c83b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef4cf1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef4cf1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef4cf1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef42a138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef42a138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef42a138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef42a138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffef42a688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffef42a688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffef42a688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000ffef3f2b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000ffef3f2b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000ffef3f2b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000ffef43e674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000ffef43e674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000ffef43e674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000ffef44e010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000ffef44e010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000ffef44e010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000ffef75b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000ffef75b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000ffef75b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000ffef75b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000ffef75b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000ffef75c224 llvm::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 0x000000ffef75c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000ffef75c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000ffef760604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000ffef760604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000ffef760604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000ffef760604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000ffef760604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffed9a2978 __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 0x000000ffed9a2978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffed9a2978 void clang::finalize>, 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 0x000000ffed9a2978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000ffef21bb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000ffef1d7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000ffef1d7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000ffef1d7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000ffef3a00dc std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #77 0x000000ffef3a00dc std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #78 0x000000ffef3a00dc clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #79 0x000000ffef3a00dc clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:0 #80 0x000000ffef39d8b8 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #81 0x000000ffef39d8b8 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #82 0x000000ffef39d8b8 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #83 0x000000ffef39d8b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:0 #84 0x000000ffef39f240 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #85 0x000000ffef39f240 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #86 0x000000ffef39f240 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #87 0x000000ffef39f240 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #88 0x000000ffef39f914 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:0 #89 0x000000ffef39fc88 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #90 0x000000ffef39fc88 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #91 0x000000ffef39fc88 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #92 0x000000ffef39fc88 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:0 #93 0x000000aaaba83908 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 #94 0x000000aaaba83908 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #95 0x000000aaaba83908 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #96 0x000000aaaba83908 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 #97 0x000000aaabaa67b8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1167b8) #98 0x000000aaabaa7e50 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x117e50) #99 0x000000aaabaa8544 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x118544) #100 0x000000aaabab4244 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x124244) #101 0x000000aaabab3a14 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x123a14) #102 0x000000aaaba9f3b8 main (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10f3b8) #103 0x000000ffe5f948c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #104 0x000000ffe5f949cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #105 0x000000aaab9ecb38 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5cb38) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-35-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/36/45 (19352 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/36/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-36-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=36 /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (8 ms) [----------] 1 test from RangeSetTest/3 (8 ms total) [----------] 1 test from RangeSetCastToPromotionTest/0, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionTest/0.Test [ OK ] RangeSetCastToPromotionTest/0.Test (3 ms) [----------] 1 test from RangeSetCastToPromotionTest/0 (3 ms total) [----------] 1 test from RangeSetCastToTruncationConversionTest/1, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationConversionTest/1.Test [ OK ] RangeSetCastToTruncationConversionTest/1.Test (2 ms) [----------] 1 test from RangeSetCastToTruncationConversionTest/1 (2 ms total) [----------] 5 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/4 [ OK ] SValTests/SValTest.GetConstType/4 (7 ms) [ RUN ] SValTests/SValTest.GetSymExprType/7 [ OK ] SValTests/SValTest.GetSymExprType/7 (5 ms) [ RUN ] SValTests/SValTest.GetCompoundType/10 #0 0x000000ffe9dc6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9dc4bdc llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8bdc) #2 0x000000ffe9dc73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffeb78648 (linux-vdso.so.1+0x648) #4 0x000000fff2879388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2879388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2879388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2879388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2879388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2879388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2879388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2879388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff24f03a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff24f03a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff24f03a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff24f03a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff24f03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff24f03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff24f03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff24f03a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff24f3dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff24f3dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff24f3dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff24f3dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff24e7430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff24e7430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff24e7430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff24f53b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff24f53b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff24f53b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff24e7d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff24e7d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff24e7d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff25003b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff25003b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff25003b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff25071d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff25071d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff25071d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff2462138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff2462138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff2462138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff2462138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff2462688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff2462688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff2462688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff242ab4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff242ab4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff242ab4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff2476674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff2476674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff2476674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000fff2486010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff2486010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff2486010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff279303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff279303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff279303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff279303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff279303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff2794224 llvm::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 0x000000fff2794224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff2794224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff2798604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff2798604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff2798604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff2798604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff2798604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000fff09da978 __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 0x000000fff09da978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000fff09da978 void clang::finalize>, 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 0x000000fff09da978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff2253b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff220f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff220f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff220f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff23d80dc std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #77 0x000000fff23d80dc std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #78 0x000000fff23d80dc clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #79 0x000000fff23d80dc clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:0 #80 0x000000fff23d58b8 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #81 0x000000fff23d58b8 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #82 0x000000fff23d58b8 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #83 0x000000fff23d58b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:0 #84 0x000000fff23d7240 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #85 0x000000fff23d7240 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #86 0x000000fff23d7240 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #87 0x000000fff23d7240 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #88 0x000000fff23d7914 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:0 #89 0x000000fff23d7c88 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #90 0x000000fff23d7c88 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #91 0x000000fff23d7c88 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #92 0x000000fff23d7c88 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:0 #93 0x000000aaae5eb908 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 #94 0x000000aaae5eb908 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #95 0x000000aaae5eb908 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #96 0x000000aaae5eb908 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 #97 0x000000aaae60e7b8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1167b8) #98 0x000000aaae60fe50 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x117e50) #99 0x000000aaae610544 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x118544) #100 0x000000aaae61c244 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x124244) #101 0x000000aaae61ba14 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x123a14) #102 0x000000aaae6073b8 main (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10f3b8) #103 0x000000ffe8fcc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #104 0x000000ffe8fcc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #105 0x000000aaae554b38 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5cb38) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-36-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/33/45 (19360 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/33/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-33-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=33 /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (5 ms) [----------] 1 test from RangeSetTest/3 (5 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 (4 ms) [ RUN ] SValTests/SValTest.GetSymExprType/4 [ OK ] SValTests/SValTest.GetSymExprType/4 (3 ms) [ RUN ] SValTests/SValTest.GetCompoundType/7 #0 0x000000ffe8aa2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8aa0bdc llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8bdc) #2 0x000000ffe8aa33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffc18648 (linux-vdso.so.1+0x648) #4 0x000000fff11f09e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff11f09e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff11f09e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff11f09e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000fff11f09e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000fff11f09e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000fff1158278 llvm::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 0x000000fff1158278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000fff1158278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000fff1158278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000fff115fd94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #15 0x000000fff115fd94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #16 0x000000fff115fd94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #17 0x000000fff115fd94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #18 0x000000fff115fd94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #19 0x000000fff115fd94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #20 0x000000fff115fd94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #21 0x000000fff115fd94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #22 0x000000fff115fd94 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 #23 0x000000fff116165c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff1161780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #25 0x000000fff1161a58 clang::ento::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 #26 0x000000fff1161c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000fff1161c70 clang::ento::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 0x000000fff146f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000fff146f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000fff146f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000fff146f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000fff146f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000fff1470224 llvm::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 0x000000fff1470224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000fff1470224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000fff1474604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000fff1474604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000fff1474604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000fff1474604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000fff1474604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000ffef6b6978 __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 0x000000ffef6b6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x000000ffef6b6978 void clang::finalize>, 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 0x000000ffef6b6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x000000fff0f2fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x000000fff0eeb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x000000fff0eeb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x000000fff0eeb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x000000fff10b40dc std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #50 0x000000fff10b40dc std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #51 0x000000fff10b40dc clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #52 0x000000fff10b40dc clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:0 #53 0x000000fff10b18b8 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #54 0x000000fff10b18b8 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #55 0x000000fff10b18b8 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #56 0x000000fff10b18b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:0 #57 0x000000fff10b3240 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #58 0x000000fff10b3240 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #59 0x000000fff10b3240 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #60 0x000000fff10b3240 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #61 0x000000fff10b3914 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:0 #62 0x000000fff10b3c88 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #63 0x000000fff10b3c88 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #64 0x000000fff10b3c88 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #65 0x000000fff10b3c88 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:0 #66 0x000000aaacc63908 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 #67 0x000000aaacc63908 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #68 0x000000aaacc63908 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #69 0x000000aaacc63908 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 #70 0x000000aaacc867b8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1167b8) #71 0x000000aaacc87e50 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x117e50) #72 0x000000aaacc88544 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x118544) #73 0x000000aaacc94244 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x124244) #74 0x000000aaacc93a14 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x123a14) #75 0x000000aaacc7f3b8 main (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10f3b8) #76 0x000000ffe7ca88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #77 0x000000ffe7ca89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #78 0x000000aaacbccb38 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5cb38) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-33-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/37/45 (19365 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/37/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-37-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=37 /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (5 ms) [----------] 1 test from RangeSetTest/3 (5 ms total) [----------] 1 test from RangeSetCastToPromotionTest/1, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionTest/1.Test [ OK ] RangeSetCastToPromotionTest/1.Test (1 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 (1 ms) [----------] 1 test from RangeSetCastToTruncationConversionTest/2 (1 ms total) [----------] 5 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/5 [ OK ] SValTests/SValTest.GetConstType/5 (4 ms) [ RUN ] SValTests/SValTest.GetSymExprType/8 [ OK ] SValTests/SValTest.GetSymExprType/8 (3 ms) [ RUN ] SValTests/SValTest.GetCompoundType/11 [ OK ] SValTests/SValTest.GetCompoundType/11 (3 ms) [ RUN ] SValTests/SValTest.GetThisType/14 #0 0x000000ffe8e96bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8e94bdc llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8bdc) #2 0x000000ffe8e973d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffdef4648 (linux-vdso.so.1+0x648) #4 0x000000fff1949388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1949388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1949388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1949388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1949388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1949388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1949388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1949388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff15c03a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff15c03a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff15c03a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff15c03a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff15c03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff15c03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff15c03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff15c03a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff15c3dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff15c3dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff15c3dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff15c3dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff15b7430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff15b7430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff15b7430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff15c53b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff15c53b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff15c53b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff15b7d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff15b7d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff15b7d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff15d03b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff15d03b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff15d03b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff15d71d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff15d71d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff15d71d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1532138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1532138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1532138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1532138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1532688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff1532688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff1532688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff14fab4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff14fab4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff14fab4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff1546674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff1546674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff1546674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000fff1556010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff1556010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff1556010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff186303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff186303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff186303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff186303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff186303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff1864224 llvm::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 0x000000fff1864224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff1864224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff1868604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff1868604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff1868604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff1868604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff1868604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffefaaa978 __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 0x000000ffefaaa978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffefaaa978 void clang::finalize>, 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 0x000000ffefaaa978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff1323b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff12df354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff12df354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff12df354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff14a80dc std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #77 0x000000fff14a80dc std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #78 0x000000fff14a80dc clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #79 0x000000fff14a80dc clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:0 #80 0x000000fff14a58b8 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #81 0x000000fff14a58b8 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #82 0x000000fff14a58b8 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #83 0x000000fff14a58b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:0 #84 0x000000fff14a7240 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #85 0x000000fff14a7240 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #86 0x000000fff14a7240 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #87 0x000000fff14a7240 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #88 0x000000fff14a7914 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:0 #89 0x000000fff14a7c88 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #90 0x000000fff14a7c88 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #91 0x000000fff14a7c88 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #92 0x000000fff14a7c88 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:0 #93 0x000000aaac9a1f28 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 #94 0x000000aaac9a1f28 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #95 0x000000aaac9a1f28 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #96 0x000000aaac9a1f28 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 #97 0x000000aaac9ba7b8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1167b8) #98 0x000000aaac9bbe50 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x117e50) #99 0x000000aaac9bc544 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x118544) #100 0x000000aaac9c8244 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x124244) #101 0x000000aaac9c7a14 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x123a14) #102 0x000000aaac9b33b8 main (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10f3b8) #103 0x000000ffe809c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #104 0x000000ffe809c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #105 0x000000aaac900b38 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5cb38) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-37-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/38/45 (19389 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/38/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-38-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=38 /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (5 ms) [----------] 1 test from RangeSetTest/3 (5 ms total) [----------] 1 test from RangeSetCastToPromotionTest/2, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionTest/2.Test [ OK ] RangeSetCastToPromotionTest/2.Test (3 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 (3 ms) [----------] 1 test from RangeSetCastToTruncationConversionTest/3 (3 ms total) [----------] 5 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/6 [ OK ] SValTests/SValTest.GetConstType/6 (6 ms) [ RUN ] SValTests/SValTest.GetSymExprType/9 [ OK ] SValTests/SValTest.GetSymExprType/9 (3 ms) [ RUN ] SValTests/SValTest.GetCompoundType/12 #0 0x000000ffe702abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7028bdc llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8bdc) #2 0x000000ffe702b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc32c648 (linux-vdso.so.1+0x648) #4 0x000000ffef7789e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef7789e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef7789e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef7789e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000ffef7789e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000ffef7789e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000ffef6e0278 llvm::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 0x000000ffef6e0278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000ffef6e0278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000ffef6e0278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000ffef6e7d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #15 0x000000ffef6e7d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #16 0x000000ffef6e7d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #17 0x000000ffef6e7d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #18 0x000000ffef6e7d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #19 0x000000ffef6e7d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #20 0x000000ffef6e7d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #21 0x000000ffef6e7d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #22 0x000000ffef6e7d94 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 #23 0x000000ffef6e965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef6e9780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #25 0x000000ffef6e9a58 clang::ento::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 #26 0x000000ffef6e9c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000ffef6e9c70 clang::ento::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 0x000000ffef9f703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000ffef9f703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000ffef9f703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000ffef9f703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000ffef9f703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000ffef9f8224 llvm::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 0x000000ffef9f8224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000ffef9f8224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000ffef9fc604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000ffef9fc604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000ffef9fc604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000ffef9fc604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000ffef9fc604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000ffedc3e978 __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 0x000000ffedc3e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x000000ffedc3e978 void clang::finalize>, 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 0x000000ffedc3e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x000000ffef4b7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x000000ffef473354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x000000ffef473354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x000000ffef473354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x000000ffef63c0dc std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #50 0x000000ffef63c0dc std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #51 0x000000ffef63c0dc clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #52 0x000000ffef63c0dc clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:0 #53 0x000000ffef6398b8 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #54 0x000000ffef6398b8 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #55 0x000000ffef6398b8 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #56 0x000000ffef6398b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:0 #57 0x000000ffef63b240 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #58 0x000000ffef63b240 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #59 0x000000ffef63b240 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #60 0x000000ffef63b240 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #61 0x000000ffef63b914 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:0 #62 0x000000ffef63bc88 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #63 0x000000ffef63bc88 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #64 0x000000ffef63bc88 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #65 0x000000ffef63bc88 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:0 #66 0x000000aaaae8f908 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 #67 0x000000aaaae8f908 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #68 0x000000aaaae8f908 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #69 0x000000aaaae8f908 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 #70 0x000000aaaaeb27b8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1167b8) #71 0x000000aaaaeb3e50 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x117e50) #72 0x000000aaaaeb4544 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x118544) #73 0x000000aaaaec0244 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x124244) #74 0x000000aaaaebfa14 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x123a14) #75 0x000000aaaaeab3b8 main (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10f3b8) #76 0x000000ffe62308c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #77 0x000000ffe62309cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #78 0x000000aaaadf8b38 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5cb38) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-38-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/1/45 (19390 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/1/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-1-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=1 /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (6 ms) [----------] 1 test from SymbolReaper (6 ms total) [----------] 1 test from RangeSetTest/4, where TypeParam = int [ RUN ] RangeSetTest/4.RangeSetAddTest [ OK ] RangeSetTest/4.RangeSetAddTest (18 ms) [----------] 1 test from RangeSetTest/4 (18 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 0x000000ffe8376bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8374bdc llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8bdc) #2 0x000000ffe83773d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffea9c648 (linux-vdso.so.1+0x648) #4 0x000000fff0e29388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0e29388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0e29388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0e29388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0e29388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0e29388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0e29388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0e29388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff0aa03a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff0aa03a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff0aa03a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff0aa03a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff0aa03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff0aa03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff0aa03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff0aa03a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0aa3dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0aa3dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0aa3dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0aa3dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0a97430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0a97430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0a97430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff0aa53b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0aa53b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0aa53b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0a97d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0a97d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0a97d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff0ab03b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff0ab03b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff0ab03b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff0ab71d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff0ab71d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff0ab71d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0a12138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0a12138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0a12138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0a12138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff0a12688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff0a12688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff0a12688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff09dab4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff09dab4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff09dab4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff0a26674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff0a26674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff0a26674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000fff0a36010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff0a36010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff0a36010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff0d4303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff0d4303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff0d4303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff0d4303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff0d4303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff0d44224 llvm::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 0x000000fff0d44224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff0d44224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff0d48604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff0d48604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff0d48604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff0d48604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff0d48604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffeef8a978 __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 0x000000ffeef8a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffeef8a978 void clang::finalize>, 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 0x000000ffeef8a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff0803b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff07bf354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff07bf354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff07bf354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff09880dc std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #77 0x000000fff09880dc std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #78 0x000000fff09880dc clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #79 0x000000fff09880dc clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:0 #80 0x000000fff09858b8 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #81 0x000000fff09858b8 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #82 0x000000fff09858b8 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #83 0x000000fff09858b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:0 #84 0x000000fff0987240 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #85 0x000000fff0987240 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #86 0x000000fff0987240 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #87 0x000000fff0987240 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #88 0x000000fff0987914 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:0 #89 0x000000fff0987c88 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #90 0x000000fff0987c88 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #91 0x000000fff0987c88 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #92 0x000000fff0987c88 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:0 #93 0x000000aaade6b908 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 #94 0x000000aaade6b908 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #95 0x000000aaade6b908 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #96 0x000000aaade6b908 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 #97 0x000000aaade8e7b8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1167b8) #98 0x000000aaade8fe50 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x117e50) #99 0x000000aaade90544 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x118544) #100 0x000000aaade9c244 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x124244) #101 0x000000aaade9ba14 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x123a14) #102 0x000000aaade873b8 main (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10f3b8) #103 0x000000ffe757c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #104 0x000000ffe757c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #105 0x000000aaaddd4b38 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5cb38) -- exit: -7 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-1-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/27/45 (19391 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/27/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-27-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=27 /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (2 ms) [----------] 1 test from RangeSetTest/7 (2 ms total) [----------] 1 test from RangeSetCastToPromotionConversionTest/4, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionConversionTest/4.Test [ OK ] RangeSetCastToPromotionConversionTest/4.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionConversionTest/4 (2 ms total) [----------] 1 test from getAPSIntTypeTest [ RUN ] getAPSIntTypeTest.APSIntTypeTests [ OK ] getAPSIntTypeTest.APSIntTypeTests (2 ms) [----------] 1 test from getAPSIntTypeTest (2 ms total) [----------] 4 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetLocAsIntType/19 [ OK ] SValTests/SValTest.GetLocAsIntType/19 (5 ms) [ RUN ] SValTests/SValTest.GetCompoundType/1 #0 0x000000ffe8206bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8204bdc llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8bdc) #2 0x000000ffe82073d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcd98648 (linux-vdso.so.1+0x648) #4 0x000000fff0cb9388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0cb9388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0cb9388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0cb9388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0cb9388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0cb9388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0cb9388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0cb9388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff09303a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff09303a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff09303a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff09303a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff09303a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff09303a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff09303a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff09303a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0933dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0933dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0933dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0933dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0927430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0927430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0927430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff09353b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff09353b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff09353b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0927d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0927d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0927d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff09403b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff09403b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff09403b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff09471d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff09471d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff09471d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff08a2138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff08a2138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff08a2138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff08a2138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff08a2688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff08a2688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff08a2688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff086ab4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff086ab4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff086ab4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff08b6674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff08b6674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff08b6674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000fff08c6010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff08c6010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff08c6010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff0bd303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff0bd303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff0bd303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff0bd303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff0bd303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff0bd4224 llvm::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 0x000000fff0bd4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff0bd4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff0bd8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff0bd8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff0bd8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff0bd8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff0bd8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffeee1a978 __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 0x000000ffeee1a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffeee1a978 void clang::finalize>, 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 0x000000ffeee1a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff0693b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff064f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff064f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff064f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff08180dc std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #77 0x000000fff08180dc std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #78 0x000000fff08180dc clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #79 0x000000fff08180dc clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:0 #80 0x000000fff08158b8 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #81 0x000000fff08158b8 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #82 0x000000fff08158b8 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #83 0x000000fff08158b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:0 #84 0x000000fff0817240 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #85 0x000000fff0817240 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #86 0x000000fff0817240 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #87 0x000000fff0817240 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #88 0x000000fff0817914 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:0 #89 0x000000fff0817c88 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #90 0x000000fff0817c88 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #91 0x000000fff0817c88 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #92 0x000000fff0817c88 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:0 #93 0x000000aaab347908 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 #94 0x000000aaab347908 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #95 0x000000aaab347908 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #96 0x000000aaab347908 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 #97 0x000000aaab36a7b8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1167b8) #98 0x000000aaab36be50 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x117e50) #99 0x000000aaab36c544 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x118544) #100 0x000000aaab378244 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x124244) #101 0x000000aaab377a14 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x123a14) #102 0x000000aaab3633b8 main (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10f3b8) #103 0x000000ffe740c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #104 0x000000ffe740c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #105 0x000000aaab2b0b38 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5cb38) -- exit: -7 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-27-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/26/45 (19392 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/26/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-26-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=26 /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 27 of 45. [==========] Running 8 tests from 5 test suites. [----------] Global test environment set-up. [----------] 1 test from RangeSetTest/2, where TypeParam = short [ RUN ] RangeSetTest/2.RangeSetPointIntersectTest [ OK ] RangeSetTest/2.RangeSetPointIntersectTest (4 ms) [----------] 1 test from RangeSetTest/2 (4 ms total) [----------] 1 test from RangeSetTest/7, where TypeParam = unsigned long [ RUN ] RangeSetTest/7.RangeSetDeletePointTest [ OK ] RangeSetTest/7.RangeSetDeletePointTest (2 ms) [----------] 1 test from RangeSetTest/7 (2 ms total) [----------] 1 test from RangeSetCastToPromotionConversionTest/3, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionConversionTest/3.Test [ OK ] RangeSetCastToPromotionConversionTest/3.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionConversionTest/3 (2 ms total) [----------] 1 test from BugReportInterestingness [ RUN ] BugReportInterestingness.Symbols input.cpp:15:7: warning: test bug [test.Interestingness] 15 | bug(A); | ^~~~~~ 1 warning generated. [ OK ] BugReportInterestingness.Symbols (6 ms) [----------] 1 test from BugReportInterestingness (6 ms total) [----------] 4 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetLocAsIntType/18 [ OK ] SValTests/SValTest.GetLocAsIntType/18 (4 ms) [ RUN ] SValTests/SValTest.GetCompoundType/0 [ OK ] SValTests/SValTest.GetCompoundType/0 (4 ms) [ RUN ] SValTests/SValTest.GetThisType/3 #0 0x000000ffe8216bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8214bdc llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8bdc) #2 0x000000ffe82173d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffed60648 (linux-vdso.so.1+0x648) #4 0x000000fff0cc9388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0cc9388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0cc9388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0cc9388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0cc9388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0cc9388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0cc9388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0cc9388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff09403a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff09403a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff09403a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff09403a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff09403a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff09403a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff09403a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff09403a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0943dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0943dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0943dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0943dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0937430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0937430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0937430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff09453b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff09453b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff09453b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0937d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0937d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0937d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff09503b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff09503b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff09503b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff09571d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff09571d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff09571d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff08b2138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff08b2138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff08b2138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff08b2138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff08b2688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff08b2688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff08b2688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff087ab4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff087ab4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff087ab4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff08c6674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff08c6674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff08c6674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000fff08d6010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff08d6010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff08d6010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff0be303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff0be303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff0be303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff0be303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff0be303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff0be4224 llvm::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 0x000000fff0be4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff0be4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff0be8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff0be8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff0be8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff0be8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff0be8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffeee2a978 __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 0x000000ffeee2a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffeee2a978 void clang::finalize>, 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 0x000000ffeee2a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff06a3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff065f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff065f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff065f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff08280dc std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #77 0x000000fff08280dc std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #78 0x000000fff08280dc clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #79 0x000000fff08280dc clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:0 #80 0x000000fff08258b8 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #81 0x000000fff08258b8 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #82 0x000000fff08258b8 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #83 0x000000fff08258b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:0 #84 0x000000fff0827240 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #85 0x000000fff0827240 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #86 0x000000fff0827240 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #87 0x000000fff0827240 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #88 0x000000fff0827914 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:0 #89 0x000000fff0827c88 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #90 0x000000fff0827c88 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #91 0x000000fff0827c88 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #92 0x000000fff0827c88 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:0 #93 0x000000aaaaf29f28 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 #94 0x000000aaaaf29f28 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #95 0x000000aaaaf29f28 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #96 0x000000aaaaf29f28 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 #97 0x000000aaaaf427b8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1167b8) #98 0x000000aaaaf43e50 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x117e50) #99 0x000000aaaaf44544 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x118544) #100 0x000000aaaaf50244 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x124244) #101 0x000000aaaaf4fa14 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x123a14) #102 0x000000aaaaf3b3b8 main (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10f3b8) #103 0x000000ffe741c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #104 0x000000ffe741c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #105 0x000000aaaae88b38 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5cb38) -- exit: -7 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-26-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/24/45 (19393 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/24/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-24-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=24 /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (17 ms) [----------] 1 test from RangeSetTest/1 (18 ms total) [----------] 1 test from RangeSetTest/7, where TypeParam = unsigned long [ RUN ] RangeSetTest/7.RangeSetContainsTest [ OK ] RangeSetTest/7.RangeSetContainsTest (2 ms) [----------] 1 test from RangeSetTest/7 (2 ms total) [----------] 1 test from RangeSetCastToPromotionConversionTest/1, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionConversionTest/1.Test [ OK ] RangeSetCastToPromotionConversionTest/1.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionConversionTest/1 (2 ms total) [----------] 1 test from CallDescription [ RUN ] CallDescription.MatchBuiltins [ OK ] CallDescription.MatchBuiltins (14 ms) [----------] 1 test from CallDescription (14 ms total) [----------] 4 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetLocAsIntType/16 [ OK ] SValTests/SValTest.GetLocAsIntType/16 (4 ms) [ RUN ] SValTests/SValTest.GetPointerType/19 [ OK ] SValTests/SValTest.GetPointerType/19 (4 ms) [ RUN ] SValTests/SValTest.GetThisType/1 #0 0x000000ffe8216bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8214bdc llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8bdc) #2 0x000000ffe82173d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff5e0648 (linux-vdso.so.1+0x648) #4 0x000000fff0cc9388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0cc9388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0cc9388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0cc9388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0cc9388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0cc9388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0cc9388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0cc9388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff09403a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff09403a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff09403a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff09403a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff09403a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff09403a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff09403a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff09403a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0943dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0943dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0943dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0943dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0937430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0937430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0937430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff09453b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff09453b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff09453b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0937d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0937d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0937d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff09503b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff09503b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff09503b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff09571d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff09571d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff09571d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff08b2138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff08b2138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff08b2138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff08b2138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff08b2688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff08b2688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff08b2688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff087ab4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff087ab4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff087ab4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff08c6674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff08c6674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff08c6674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000fff08d6010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff08d6010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff08d6010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff0be303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff0be303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff0be303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff0be303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff0be303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff0be4224 llvm::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 0x000000fff0be4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff0be4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff0be8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff0be8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff0be8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff0be8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff0be8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffeee2a978 __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 0x000000ffeee2a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffeee2a978 void clang::finalize>, 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 0x000000ffeee2a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff06a3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff065f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff065f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff065f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff08280dc std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #77 0x000000fff08280dc std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #78 0x000000fff08280dc clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #79 0x000000fff08280dc clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:0 #80 0x000000fff08258b8 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #81 0x000000fff08258b8 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #82 0x000000fff08258b8 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #83 0x000000fff08258b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:0 #84 0x000000fff0827240 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #85 0x000000fff0827240 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #86 0x000000fff0827240 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #87 0x000000fff0827240 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #88 0x000000fff0827914 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:0 #89 0x000000fff0827c88 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #90 0x000000fff0827c88 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #91 0x000000fff0827c88 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #92 0x000000fff0827c88 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:0 #93 0x000000aaad989f28 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 #94 0x000000aaad989f28 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #95 0x000000aaad989f28 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #96 0x000000aaad989f28 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 #97 0x000000aaad9a27b8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1167b8) #98 0x000000aaad9a3e50 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x117e50) #99 0x000000aaad9a4544 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x118544) #100 0x000000aaad9b0244 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x124244) #101 0x000000aaad9afa14 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x123a14) #102 0x000000aaad99b3b8 main (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10f3b8) #103 0x000000ffe741c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #104 0x000000ffe741c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #105 0x000000aaad8e8b38 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5cb38) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-24-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/40/45 (19394 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/40/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-40-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=40 /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (3 ms) [----------] 1 test from RangeSetCastToTruncationConversionTest/5 (3 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 0x000000ffe8066bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8064bdc llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8bdc) #2 0x000000ffe80673d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffcdc648 (linux-vdso.so.1+0x648) #4 0x000000fff0b19388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0b19388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0b19388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0b19388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0b19388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0b19388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0b19388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0b19388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff07903a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff07903a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff07903a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff07903a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff07903a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff07903a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff07903a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff07903a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0793dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0793dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0793dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0793dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0787430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0787430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0787430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff07953b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff07953b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff07953b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0787d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0787d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0787d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff07a03b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff07a03b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff07a03b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff07a71d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff07a71d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff07a71d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0702138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0702138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0702138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0702138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff0702688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff0702688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff0702688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff06cab4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff06cab4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff06cab4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff0716674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff0716674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff0716674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000fff0726010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff0726010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff0726010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff0a3303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff0a3303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff0a3303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff0a3303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff0a3303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff0a34224 llvm::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 0x000000fff0a34224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff0a34224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff0a38604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff0a38604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff0a38604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff0a38604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff0a38604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffeec7a978 __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 0x000000ffeec7a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffeec7a978 void clang::finalize>, 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 0x000000ffeec7a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff04f3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff04af354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff04af354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff04af354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff06780dc std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #77 0x000000fff06780dc std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #78 0x000000fff06780dc clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #79 0x000000fff06780dc clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:0 #80 0x000000fff06758b8 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #81 0x000000fff06758b8 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #82 0x000000fff06758b8 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #83 0x000000fff06758b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:0 #84 0x000000fff0677240 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #85 0x000000fff0677240 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #86 0x000000fff0677240 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #87 0x000000fff0677240 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #88 0x000000fff0677914 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:0 #89 0x000000fff0677c88 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #90 0x000000fff0677c88 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #91 0x000000fff0677c88 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #92 0x000000fff0677c88 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:0 #93 0x000000aaaca77908 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 #94 0x000000aaaca77908 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #95 0x000000aaaca77908 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #96 0x000000aaaca77908 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 #97 0x000000aaaca9a7b8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1167b8) #98 0x000000aaaca9be50 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x117e50) #99 0x000000aaaca9c544 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x118544) #100 0x000000aaacaa8244 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x124244) #101 0x000000aaacaa7a14 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x123a14) #102 0x000000aaaca933b8 main (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10f3b8) #103 0x000000ffe726c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #104 0x000000ffe726c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #105 0x000000aaac9e0b38 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5cb38) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-40-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/43/45 (19396 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/43/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-43-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=43 /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (9 ms) [----------] 1 test from RangeSetTest/4 (9 ms total) [----------] 1 test from RangeSetCastToPromotionTest/7, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionTest/7.Test [ OK ] RangeSetCastToPromotionTest/7.Test (7 ms) [----------] 1 test from RangeSetCastToPromotionTest/7 (7 ms total) [----------] 1 test from RangeSetCastToTruncationConversionTest/8, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationConversionTest/8.Test [ OK ] RangeSetCastToTruncationConversionTest/8.Test (7 ms) [----------] 1 test from RangeSetCastToTruncationConversionTest/8 (7 ms total) [----------] 4 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/11 [ OK ] SValTests/SValTest.GetConstType/11 (10 ms) [ RUN ] SValTests/SValTest.GetSymExprType/14 [ OK ] SValTests/SValTest.GetSymExprType/14 (13 ms) [ RUN ] SValTests/SValTest.GetCompoundType/17 #0 0x000000ffe7d22bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7d20bdc llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8bdc) #2 0x000000ffe7d233d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc5a8648 (linux-vdso.so.1+0x648) #4 0x000000fff07d5388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff07d5388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff07d5388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff07d5388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff07d5388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff07d5388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff07d5388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff07d5388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff044c3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff044c3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff044c3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff044c3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff044c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff044c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff044c3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff044c3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff044fdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff044fdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff044fdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff044fdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0443430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0443430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0443430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff04513b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff04513b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff04513b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0443d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0443d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0443d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff045c3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff045c3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff045c3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff04631d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff04631d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff04631d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff03be138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff03be138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff03be138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff03be138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff03be688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff03be688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff03be688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff0386b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff0386b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff0386b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff03d2674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff03d2674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff03d2674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000fff03e2010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff03e2010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff03e2010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff06ef03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff06ef03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff06ef03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff06ef03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff06ef03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff06f0224 llvm::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 0x000000fff06f0224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff06f0224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff06f4604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff06f4604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff06f4604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff06f4604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff06f4604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffee936978 __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 0x000000ffee936978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffee936978 void clang::finalize>, 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 0x000000ffee936978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff01afb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff016b354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff016b354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff016b354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff03340dc std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #77 0x000000fff03340dc std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #78 0x000000fff03340dc clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #79 0x000000fff03340dc clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:0 #80 0x000000fff03318b8 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #81 0x000000fff03318b8 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #82 0x000000fff03318b8 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #83 0x000000fff03318b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:0 #84 0x000000fff0333240 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #85 0x000000fff0333240 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #86 0x000000fff0333240 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #87 0x000000fff0333240 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #88 0x000000fff0333914 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:0 #89 0x000000fff0333c88 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #90 0x000000fff0333c88 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #91 0x000000fff0333c88 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #92 0x000000fff0333c88 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:0 #93 0x000000aaaae07908 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 #94 0x000000aaaae07908 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #95 0x000000aaaae07908 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #96 0x000000aaaae07908 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 #97 0x000000aaaae2a7b8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1167b8) #98 0x000000aaaae2be50 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x117e50) #99 0x000000aaaae2c544 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x118544) #100 0x000000aaaae38244 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x124244) #101 0x000000aaaae37a14 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x123a14) #102 0x000000aaaae233b8 main (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10f3b8) #103 0x000000ffe6f288c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #104 0x000000ffe6f289cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #105 0x000000aaaad70b38 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5cb38) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-43-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/28/45 (19397 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/28/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-28-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=28 /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (3 ms) [----------] 1 test from RangeSetTest/2 (3 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 0x000000ffe93f6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe93f4bdc llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8bdc) #2 0x000000ffe93f73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffdcb8648 (linux-vdso.so.1+0x648) #4 0x000000fff1ea9388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1ea9388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1ea9388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1ea9388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1ea9388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1ea9388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1ea9388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1ea9388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff1b203a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff1b203a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff1b203a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff1b203a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff1b203a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff1b203a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff1b203a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff1b203a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1b23dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1b23dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1b23dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1b23dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1b17430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1b17430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1b17430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff1b253b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff1b253b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff1b253b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1b17d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1b17d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1b17d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff1b303b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff1b303b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff1b303b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff1b371d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff1b371d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff1b371d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1a92138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1a92138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1a92138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1a92138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1a92688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff1a92688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff1a92688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff1a5ab4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff1a5ab4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff1a5ab4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff1aa6674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff1aa6674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff1aa6674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000fff1ab6010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff1ab6010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff1ab6010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff1dc303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff1dc303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff1dc303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff1dc303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff1dc303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff1dc4224 llvm::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 0x000000fff1dc4224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff1dc4224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff1dc8604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff1dc8604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff1dc8604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff1dc8604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff1dc8604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000fff000a978 __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 0x000000fff000a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000fff000a978 void clang::finalize>, 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 0x000000fff000a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff1883b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff183f354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff183f354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff183f354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff1a080dc std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #77 0x000000fff1a080dc std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #78 0x000000fff1a080dc clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #79 0x000000fff1a080dc clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:0 #80 0x000000fff1a058b8 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #81 0x000000fff1a058b8 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #82 0x000000fff1a058b8 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #83 0x000000fff1a058b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:0 #84 0x000000fff1a07240 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #85 0x000000fff1a07240 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #86 0x000000fff1a07240 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #87 0x000000fff1a07240 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #88 0x000000fff1a07914 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:0 #89 0x000000fff1a07c88 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #90 0x000000fff1a07c88 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #91 0x000000fff1a07c88 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #92 0x000000fff1a07c88 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:0 #93 0x000000aaac547908 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 #94 0x000000aaac547908 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #95 0x000000aaac547908 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #96 0x000000aaac547908 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 #97 0x000000aaac56a7b8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1167b8) #98 0x000000aaac56be50 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x117e50) #99 0x000000aaac56c544 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x118544) #100 0x000000aaac578244 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x124244) #101 0x000000aaac577a14 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x123a14) #102 0x000000aaac5633b8 main (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10f3b8) #103 0x000000ffe85fc8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #104 0x000000ffe85fc9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #105 0x000000aaac4b0b38 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5cb38) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-28-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/39/45 (19398 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/39/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-39-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=39 /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (7 ms) [----------] 1 test from RangeSetTest/3 (7 ms total) [----------] 1 test from RangeSetCastToPromotionTest/3, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionTest/3.Test [ OK ] RangeSetCastToPromotionTest/3.Test (4 ms) [----------] 1 test from RangeSetCastToPromotionTest/3 (4 ms total) [----------] 1 test from RangeSetCastToTruncationConversionTest/4, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationConversionTest/4.Test [ OK ] RangeSetCastToTruncationConversionTest/4.Test (3 ms) [----------] 1 test from RangeSetCastToTruncationConversionTest/4 (3 ms total) [----------] 5 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/7 [ OK ] SValTests/SValTest.GetConstType/7 (7 ms) [ RUN ] SValTests/SValTest.GetSymExprType/10 [ OK ] SValTests/SValTest.GetSymExprType/10 (8 ms) [ RUN ] SValTests/SValTest.GetCompoundType/13 #0 0x000000ffe84a6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe84a4bdc llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8bdc) #2 0x000000ffe84a73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe628648 (linux-vdso.so.1+0x648) #4 0x000000fff0f59388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0f59388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0f59388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0f59388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0f59388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0f59388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0f59388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0f59388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff0bd03a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff0bd03a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff0bd03a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff0bd03a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff0bd03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff0bd03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff0bd03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff0bd03a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff0bd3dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff0bd3dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff0bd3dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff0bd3dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff0bc7430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff0bc7430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff0bc7430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff0bd53b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff0bd53b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff0bd53b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff0bc7d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0bc7d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0bc7d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff0be03b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff0be03b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff0be03b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff0be71d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff0be71d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff0be71d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff0b42138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff0b42138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff0b42138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff0b42138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff0b42688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff0b42688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff0b42688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff0b0ab4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff0b0ab4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff0b0ab4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff0b56674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff0b56674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff0b56674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000fff0b66010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff0b66010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff0b66010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff0e7303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff0e7303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff0e7303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff0e7303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff0e7303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff0e74224 llvm::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 0x000000fff0e74224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff0e74224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff0e78604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff0e78604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff0e78604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff0e78604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff0e78604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffef0ba978 __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 0x000000ffef0ba978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffef0ba978 void clang::finalize>, 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 0x000000ffef0ba978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff0933b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff08ef354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff08ef354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff08ef354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff0ab80dc std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #77 0x000000fff0ab80dc std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #78 0x000000fff0ab80dc clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #79 0x000000fff0ab80dc clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:0 #80 0x000000fff0ab58b8 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #81 0x000000fff0ab58b8 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #82 0x000000fff0ab58b8 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #83 0x000000fff0ab58b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:0 #84 0x000000fff0ab7240 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #85 0x000000fff0ab7240 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #86 0x000000fff0ab7240 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #87 0x000000fff0ab7240 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #88 0x000000fff0ab7914 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:0 #89 0x000000fff0ab7c88 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #90 0x000000fff0ab7c88 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #91 0x000000fff0ab7c88 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #92 0x000000fff0ab7c88 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:0 #93 0x000000aaaced3908 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 #94 0x000000aaaced3908 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #95 0x000000aaaced3908 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #96 0x000000aaaced3908 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 #97 0x000000aaacef67b8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1167b8) #98 0x000000aaacef7e50 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x117e50) #99 0x000000aaacef8544 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x118544) #100 0x000000aaacf04244 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x124244) #101 0x000000aaacf03a14 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x123a14) #102 0x000000aaaceef3b8 main (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10f3b8) #103 0x000000ffe76ac8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #104 0x000000ffe76ac9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #105 0x000000aaace3cb38 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5cb38) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-39-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/44/45 (19690 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/44/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-44-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=44 /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (8 ms) [----------] 1 test from RangeSetTest/4 (8 ms total) [----------] 1 test from RangeSetCastToPromotionTest/8, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionTest/8.Test [ OK ] RangeSetCastToPromotionTest/8.Test (8 ms) [----------] 1 test from RangeSetCastToPromotionTest/8 (8 ms total) [----------] 1 test from RangeSetCastToTruncationConversionTest/9, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationConversionTest/9.Test [ OK ] RangeSetCastToTruncationConversionTest/9.Test (6 ms) [----------] 1 test from RangeSetCastToTruncationConversionTest/9 (6 ms total) [----------] 4 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/12 [ OK ] SValTests/SValTest.GetConstType/12 (9 ms) [ RUN ] SValTests/SValTest.GetSymExprType/15 [ OK ] SValTests/SValTest.GetSymExprType/15 (10 ms) [ RUN ] SValTests/SValTest.GetCompoundType/18 #0 0x000000ffe7c1ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7c1cbdc llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8bdc) #2 0x000000ffe7c1f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff4bc648 (linux-vdso.so.1+0x648) #4 0x000000fff06d1388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff06d1388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff06d1388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff06d1388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff06d1388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff06d1388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff06d1388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff06d1388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff03483a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff03483a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff03483a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff03483a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff03483a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff03483a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff03483a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff03483a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff034bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff034bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff034bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff034bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff033f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff033f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff033f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff034d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff034d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff034d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff033fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff033fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff033fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff03583b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff03583b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff03583b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff035f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff035f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff035f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff02ba138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff02ba138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff02ba138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff02ba138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff02ba688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff02ba688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff02ba688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff0282b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff0282b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff0282b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff02ce674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff02ce674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff02ce674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000fff02de010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff02de010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff02de010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff05eb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff05eb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff05eb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff05eb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff05eb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff05ec224 llvm::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 0x000000fff05ec224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff05ec224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff05f0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff05f0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff05f0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff05f0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff05f0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffee832978 __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 0x000000ffee832978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffee832978 void clang::finalize>, 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 0x000000ffee832978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff00abb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff0067354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff0067354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff0067354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff02300dc std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #77 0x000000fff02300dc std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #78 0x000000fff02300dc clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #79 0x000000fff02300dc clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:0 #80 0x000000fff022d8b8 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #81 0x000000fff022d8b8 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #82 0x000000fff022d8b8 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #83 0x000000fff022d8b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:0 #84 0x000000fff022f240 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #85 0x000000fff022f240 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #86 0x000000fff022f240 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #87 0x000000fff022f240 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #88 0x000000fff022f914 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:0 #89 0x000000fff022fc88 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #90 0x000000fff022fc88 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #91 0x000000fff022fc88 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #92 0x000000fff022fc88 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:0 #93 0x000000aaab433908 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 #94 0x000000aaab433908 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #95 0x000000aaab433908 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #96 0x000000aaab433908 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 #97 0x000000aaab4567b8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1167b8) #98 0x000000aaab457e50 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x117e50) #99 0x000000aaab458544 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x118544) #100 0x000000aaab464244 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x124244) #101 0x000000aaab463a14 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x123a14) #102 0x000000aaab44f3b8 main (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10f3b8) #103 0x000000ffe6e248c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #104 0x000000ffe6e249cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #105 0x000000aaab39cb38 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5cb38) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-44-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/25/45 (19697 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/25/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-25-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=25 /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 26 of 45. [==========] Running 8 tests from 5 test suites. [----------] Global test environment set-up. [----------] 1 test from RangeSetTest/2, where TypeParam = short [ RUN ] RangeSetTest/2.RangeSetNegateTest [ OK ] RangeSetTest/2.RangeSetNegateTest (4 ms) [----------] 1 test from RangeSetTest/2 (4 ms total) [----------] 1 test from RangeSetTest/7, where TypeParam = unsigned long [ RUN ] RangeSetTest/7.RangeSetAddTest [ OK ] RangeSetTest/7.RangeSetAddTest (2 ms) [----------] 1 test from RangeSetTest/7 (2 ms total) [----------] 1 test from RangeSetCastToPromotionConversionTest/2, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionConversionTest/2.Test [ OK ] RangeSetCastToPromotionConversionTest/2.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionConversionTest/2 (2 ms total) [----------] 1 test from CallDescription [ RUN ] CallDescription.CheckCallExprMatching CheckCallExprMatching.cc:2:10: warning: CallEvent match [test.CallDescChecker] 2 | void bar(); | ^~~ 1 warning generated. CheckCallExprMatching.cc:2:10: warning: CallEvent match [test.CallDescChecker] 2 | void bar(); | ^~~ CheckCallExprMatching.cc:2:10: warning: CallExpr match [test.CallDescChecker] 2 | void bar(); | ^~~ 2 warnings generated. [ OK ] CallDescription.CheckCallExprMatching (7 ms) [----------] 1 test from CallDescription (7 ms total) [----------] 4 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetLocAsIntType/17 [ OK ] SValTests/SValTest.GetLocAsIntType/17 (3 ms) [ RUN ] SValTests/SValTest.GetPointerType/20 [ OK ] SValTests/SValTest.GetPointerType/20 (3 ms) [ RUN ] SValTests/SValTest.GetThisType/2 #0 0x000000ffe96b2bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe96b0bdc llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8bdc) #2 0x000000ffe96b33d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffcac648 (linux-vdso.so.1+0x648) #4 0x000000fff2165388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff2165388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff2165388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff2165388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff2165388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff2165388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff2165388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff2165388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff1ddc3a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff1ddc3a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff1ddc3a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff1ddc3a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff1ddc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff1ddc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff1ddc3a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff1ddc3a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1ddfdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1ddfdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1ddfdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1ddfdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1dd3430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1dd3430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1dd3430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff1de13b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff1de13b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff1de13b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1dd3d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1dd3d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1dd3d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff1dec3b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff1dec3b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff1dec3b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff1df31d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff1df31d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff1df31d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1d4e138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1d4e138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1d4e138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1d4e138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1d4e688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff1d4e688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff1d4e688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff1d16b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff1d16b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff1d16b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff1d62674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff1d62674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff1d62674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000fff1d72010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff1d72010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff1d72010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff207f03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff207f03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff207f03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff207f03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff207f03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff2080224 llvm::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 0x000000fff2080224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff2080224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff2084604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff2084604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff2084604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff2084604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff2084604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000fff02c6978 __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 0x000000fff02c6978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000fff02c6978 void clang::finalize>, 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 0x000000fff02c6978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff1b3fb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff1afb354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff1afb354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff1afb354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff1cc40dc std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #77 0x000000fff1cc40dc std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #78 0x000000fff1cc40dc clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #79 0x000000fff1cc40dc clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:0 #80 0x000000fff1cc18b8 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #81 0x000000fff1cc18b8 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #82 0x000000fff1cc18b8 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #83 0x000000fff1cc18b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:0 #84 0x000000fff1cc3240 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #85 0x000000fff1cc3240 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #86 0x000000fff1cc3240 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #87 0x000000fff1cc3240 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #88 0x000000fff1cc3914 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:0 #89 0x000000fff1cc3c88 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #90 0x000000fff1cc3c88 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #91 0x000000fff1cc3c88 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #92 0x000000fff1cc3c88 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:0 #93 0x000000aaad4b9f28 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 #94 0x000000aaad4b9f28 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #95 0x000000aaad4b9f28 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #96 0x000000aaad4b9f28 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 #97 0x000000aaad4d27b8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1167b8) #98 0x000000aaad4d3e50 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x117e50) #99 0x000000aaad4d4544 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x118544) #100 0x000000aaad4e0244 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x124244) #101 0x000000aaad4dfa14 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x123a14) #102 0x000000aaad4cb3b8 main (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10f3b8) #103 0x000000ffe88b88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #104 0x000000ffe88b89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #105 0x000000aaad418b38 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5cb38) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-25-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/31/45 (19700 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/31/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-31-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=31 /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (9 ms) [----------] 1 test from RangeSetTest/2 (9 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 (3 ms) [----------] 1 test from RangeSetCastToPromotionConversionTest/8 (3 ms total) [----------] 1 test from StaticAnalyzerOptions [ RUN ] StaticAnalyzerOptions.SubCheckerOptions [ OK ] StaticAnalyzerOptions.SubCheckerOptions (0 ms) [----------] 1 test from StaticAnalyzerOptions (0 ms total) [----------] 4 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetSymExprType/2 [ OK ] SValTests/SValTest.GetSymExprType/2 (8 ms) [ RUN ] SValTests/SValTest.GetCompoundType/5 #0 0x000000ffe6986bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6984bdc llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8bdc) #2 0x000000ffe69873d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffc528648 (linux-vdso.so.1+0x648) #4 0x000000ffef439388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef439388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef439388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef439388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef439388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef439388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef439388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef439388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef0b03a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef0b03a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef0b03a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef0b03a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef0b03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef0b03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef0b03a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef0b03a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef0b3dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef0b3dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef0b3dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef0b3dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef0a7430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef0a7430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef0a7430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef0b53b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef0b53b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef0b53b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef0a7d18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef0a7d18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef0a7d18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef0c03b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef0c03b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef0c03b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef0c71d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef0c71d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef0c71d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef022138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef022138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef022138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef022138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffef022688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffef022688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffef022688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000ffeefeab4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000ffeefeab4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000ffeefeab4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000ffef036674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000ffef036674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000ffef036674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000ffef046010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000ffef046010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000ffef046010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000ffef35303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000ffef35303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000ffef35303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000ffef35303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000ffef35303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000ffef354224 llvm::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 0x000000ffef354224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000ffef354224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000ffef358604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000ffef358604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000ffef358604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000ffef358604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000ffef358604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffed59a978 __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 0x000000ffed59a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffed59a978 void clang::finalize>, 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 0x000000ffed59a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000ffeee13b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000ffeedcf354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000ffeedcf354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000ffeedcf354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000ffeef980dc std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #77 0x000000ffeef980dc std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #78 0x000000ffeef980dc clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #79 0x000000ffeef980dc clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:0 #80 0x000000ffeef958b8 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #81 0x000000ffeef958b8 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #82 0x000000ffeef958b8 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #83 0x000000ffeef958b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:0 #84 0x000000ffeef97240 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #85 0x000000ffeef97240 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #86 0x000000ffeef97240 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #87 0x000000ffeef97240 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #88 0x000000ffeef97914 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:0 #89 0x000000ffeef97c88 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #90 0x000000ffeef97c88 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #91 0x000000ffeef97c88 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #92 0x000000ffeef97c88 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:0 #93 0x000000aaab72f908 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 #94 0x000000aaab72f908 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #95 0x000000aaab72f908 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #96 0x000000aaab72f908 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 #97 0x000000aaab7527b8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1167b8) #98 0x000000aaab753e50 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x117e50) #99 0x000000aaab754544 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x118544) #100 0x000000aaab760244 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x124244) #101 0x000000aaab75fa14 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x123a14) #102 0x000000aaab74b3b8 main (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10f3b8) #103 0x000000ffe5b8c8c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #104 0x000000ffe5b8c9cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #105 0x000000aaab698b38 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5cb38) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-31-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/29/45 (19701 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/29/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-29-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=29 /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 30 of 45. [==========] Running 8 tests from 5 test suites. [----------] Global test environment set-up. [----------] 1 test from RangeSetTest/2, where TypeParam = short [ RUN ] RangeSetTest/2.RangeSetContainsTest [ OK ] RangeSetTest/2.RangeSetContainsTest (4 ms) [----------] 1 test from RangeSetTest/2 (4 ms total) [----------] 1 test from RangeSetCastToNoopTest/1, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToNoopTest/1.RangeSetCastToNoopTest [ OK ] RangeSetCastToNoopTest/1.RangeSetCastToNoopTest (2 ms) [----------] 1 test from RangeSetCastToNoopTest/1 (2 ms total) [----------] 1 test from RangeSetCastToPromotionConversionTest/6, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionConversionTest/6.Test [ OK ] RangeSetCastToPromotionConversionTest/6.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionConversionTest/6 (2 ms total) [----------] 1 test from StaticAnalyzerOptions [ RUN ] StaticAnalyzerOptions.SearchInParentPackageTests [ OK ] StaticAnalyzerOptions.SearchInParentPackageTests (0 ms) [----------] 1 test from StaticAnalyzerOptions (0 ms total) [----------] 4 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetSymExprType/0 [ OK ] SValTests/SValTest.GetSymExprType/0 (4 ms) [ RUN ] SValTests/SValTest.GetCompoundType/3 #0 0x000000ffe6e9abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6e98bdc llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8bdc) #2 0x000000ffe6e9b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe98c648 (linux-vdso.so.1+0x648) #4 0x000000ffef5e89e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef5e89e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef5e89e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef5e89e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x000000ffef5e89e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x000000ffef5e89e8 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x000000ffef550278 llvm::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 0x000000ffef550278 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x000000ffef550278 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x000000ffef550278 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #14 0x000000ffef557d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #15 0x000000ffef557d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #16 0x000000ffef557d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #17 0x000000ffef557d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #18 0x000000ffef557d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #19 0x000000ffef557d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #20 0x000000ffef557d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #21 0x000000ffef557d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #22 0x000000ffef557d94 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 #23 0x000000ffef55965c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffef559780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #25 0x000000ffef559a58 clang::ento::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 #26 0x000000ffef559c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000ffef559c70 clang::ento::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 0x000000ffef86703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000ffef86703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000ffef86703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000ffef86703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000ffef86703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000ffef868224 llvm::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 0x000000ffef868224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000ffef868224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000ffef86c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000ffef86c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000ffef86c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000ffef86c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000ffef86c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000ffedaae978 __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 0x000000ffedaae978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x000000ffedaae978 void clang::finalize>, 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 0x000000ffedaae978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x000000ffef327b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #46 0x000000ffef2e3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #47 0x000000ffef2e3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #48 0x000000ffef2e3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #49 0x000000ffef4ac0dc std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #50 0x000000ffef4ac0dc std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #51 0x000000ffef4ac0dc clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #52 0x000000ffef4ac0dc clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:0 #53 0x000000ffef4a98b8 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #54 0x000000ffef4a98b8 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #55 0x000000ffef4a98b8 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #56 0x000000ffef4a98b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:0 #57 0x000000ffef4ab240 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #58 0x000000ffef4ab240 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #59 0x000000ffef4ab240 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #60 0x000000ffef4ab240 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #61 0x000000ffef4ab914 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:0 #62 0x000000ffef4abc88 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #63 0x000000ffef4abc88 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #64 0x000000ffef4abc88 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #65 0x000000ffef4abc88 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:0 #66 0x000000aaac533908 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 #67 0x000000aaac533908 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #68 0x000000aaac533908 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #69 0x000000aaac533908 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 #70 0x000000aaac5567b8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1167b8) #71 0x000000aaac557e50 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x117e50) #72 0x000000aaac558544 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x118544) #73 0x000000aaac564244 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x124244) #74 0x000000aaac563a14 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x123a14) #75 0x000000aaac54f3b8 main (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10f3b8) #76 0x000000ffe60a08c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #77 0x000000ffe60a09cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #78 0x000000aaac49cb38 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5cb38) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-29-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/23/45 (19702 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/23/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-23-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=23 /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (16 ms) [----------] 1 test from RangeSetTest/1 (16 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 (4 ms) [ RUN ] SValTests/SValTest.GetPointerType/18 [ OK ] SValTests/SValTest.GetPointerType/18 (3 ms) [ RUN ] SValTests/SValTest.GetThisType/0 #0 0x000000ffe988abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe9888bdc llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8bdc) #2 0x000000ffe988b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffa74648 (linux-vdso.so.1+0x648) #4 0x000000fff233d388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff233d388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff233d388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff233d388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff233d388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff233d388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff233d388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff233d388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff1fb43a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff1fb43a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff1fb43a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff1fb43a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff1fb43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff1fb43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff1fb43a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff1fb43a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff1fb7dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff1fb7dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff1fb7dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff1fb7dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff1fab430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff1fab430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff1fab430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff1fb93b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff1fb93b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff1fb93b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff1fabd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff1fabd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff1fabd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff1fc43b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff1fc43b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff1fc43b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff1fcb1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff1fcb1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff1fcb1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff1f26138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff1f26138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff1f26138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff1f26138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff1f26688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff1f26688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff1f26688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff1eeeb4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff1eeeb4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff1eeeb4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff1f3a674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff1f3a674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff1f3a674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000fff1f4a010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff1f4a010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff1f4a010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff225703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff225703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff225703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff225703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff225703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff2258224 llvm::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 0x000000fff2258224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff2258224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff225c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff225c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff225c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff225c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff225c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000fff049e978 __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 0x000000fff049e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000fff049e978 void clang::finalize>, 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 0x000000fff049e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff1d17b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff1cd3354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff1cd3354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff1cd3354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff1e9c0dc std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #77 0x000000fff1e9c0dc std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #78 0x000000fff1e9c0dc clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #79 0x000000fff1e9c0dc clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:0 #80 0x000000fff1e998b8 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #81 0x000000fff1e998b8 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #82 0x000000fff1e998b8 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #83 0x000000fff1e998b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:0 #84 0x000000fff1e9b240 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #85 0x000000fff1e9b240 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #86 0x000000fff1e9b240 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #87 0x000000fff1e9b240 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #88 0x000000fff1e9b914 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:0 #89 0x000000fff1e9bc88 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #90 0x000000fff1e9bc88 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #91 0x000000fff1e9bc88 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #92 0x000000fff1e9bc88 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:0 #93 0x000000aaad79df28 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 #94 0x000000aaad79df28 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #95 0x000000aaad79df28 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #96 0x000000aaad79df28 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 #97 0x000000aaad7b67b8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1167b8) #98 0x000000aaad7b7e50 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x117e50) #99 0x000000aaad7b8544 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x118544) #100 0x000000aaad7c4244 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x124244) #101 0x000000aaad7c3a14 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x123a14) #102 0x000000aaad7af3b8 main (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10f3b8) #103 0x000000ffe8a908c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #104 0x000000ffe8a909cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #105 0x000000aaad6fcb38 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5cb38) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-23-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/42/45 (19703 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/42/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-42-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=42 /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (7 ms) [----------] 1 test from RangeSetTest/4 (7 ms total) [----------] 1 test from RangeSetCastToPromotionTest/6, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionTest/6.Test [ OK ] RangeSetCastToPromotionTest/6.Test (4 ms) [----------] 1 test from RangeSetCastToPromotionTest/6 (4 ms total) [----------] 1 test from RangeSetCastToTruncationConversionTest/7, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationConversionTest/7.Test [ OK ] RangeSetCastToTruncationConversionTest/7.Test (3 ms) [----------] 1 test from RangeSetCastToTruncationConversionTest/7 (3 ms total) [----------] 4 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/10 [ OK ] SValTests/SValTest.GetConstType/10 (9 ms) [ RUN ] SValTests/SValTest.GetSymExprType/13 [ OK ] SValTests/SValTest.GetSymExprType/13 (10 ms) [ RUN ] SValTests/SValTest.GetCompoundType/16 [ OK ] SValTests/SValTest.GetCompoundType/16 (7 ms) [ RUN ] SValTests/SValTest.GetThisType/19 #0 0x000000ffe7d1ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7d1cbdc llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8bdc) #2 0x000000ffe7d1f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcae0648 (linux-vdso.so.1+0x648) #4 0x000000fff07d1388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff07d1388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff07d1388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff07d1388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff07d1388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff07d1388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff07d1388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff07d1388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff04483a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff04483a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff04483a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff04483a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff04483a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff04483a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff04483a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff04483a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff044bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff044bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff044bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff044bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff043f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff043f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff043f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff044d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff044d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff044d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff043fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff043fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff043fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff04583b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff04583b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff04583b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff045f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff045f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff045f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff03ba138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff03ba138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff03ba138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff03ba138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff03ba688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff03ba688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff03ba688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff0382b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff0382b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff0382b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff03ce674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff03ce674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff03ce674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000fff03de010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff03de010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff03de010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff06eb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff06eb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff06eb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff06eb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff06eb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff06ec224 llvm::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 0x000000fff06ec224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff06ec224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff06f0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff06f0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff06f0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff06f0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff06f0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffee932978 __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 0x000000ffee932978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffee932978 void clang::finalize>, 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 0x000000ffee932978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff01abb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff0167354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff0167354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff0167354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff03300dc std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #77 0x000000fff03300dc std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #78 0x000000fff03300dc clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #79 0x000000fff03300dc clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:0 #80 0x000000fff032d8b8 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #81 0x000000fff032d8b8 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #82 0x000000fff032d8b8 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #83 0x000000fff032d8b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:0 #84 0x000000fff032f240 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #85 0x000000fff032f240 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #86 0x000000fff032f240 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #87 0x000000fff032f240 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #88 0x000000fff032f914 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:0 #89 0x000000fff032fc88 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #90 0x000000fff032fc88 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #91 0x000000fff032fc88 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #92 0x000000fff032fc88 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:0 #93 0x000000aaac1a9f28 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 #94 0x000000aaac1a9f28 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #95 0x000000aaac1a9f28 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #96 0x000000aaac1a9f28 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 #97 0x000000aaac1c27b8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1167b8) #98 0x000000aaac1c3e50 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x117e50) #99 0x000000aaac1c4544 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x118544) #100 0x000000aaac1d0244 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x124244) #101 0x000000aaac1cfa14 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x123a14) #102 0x000000aaac1bb3b8 main (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10f3b8) #103 0x000000ffe6f248c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #104 0x000000ffe6f249cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #105 0x000000aaac108b38 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5cb38) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-42-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/9/45 (19704 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/9/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-9-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=9 /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (10 ms) [----------] 1 test from RangeSetTest/0 (10 ms total) [----------] 1 test from RangeSetTest/5, where TypeParam = unsigned int [ RUN ] RangeSetTest/5.RangeSetAddTest [ OK ] RangeSetTest/5.RangeSetAddTest (8 ms) [----------] 1 test from RangeSetTest/5 (8 ms total) [----------] 1 test from RangeSetCastToTruncationTest/6, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationTest/6.Test [ OK ] RangeSetCastToTruncationTest/6.Test (8 ms) [----------] 1 test from RangeSetCastToTruncationTest/6 (8 ms total) [----------] 1 test from CXXDeallocatorCall [ RUN ] CXXDeallocatorCall.SimpleDestructor #0 0x000000ffe6e4abb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6e48bdc llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8bdc) #2 0x000000ffe6e4b3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffdbb4648 (linux-vdso.so.1+0x648) #4 0x000000ffef8fd388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000ffef8fd388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000ffef8fd388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000ffef8fd388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000ffef8fd388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000ffef8fd388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000ffef8fd388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000ffef8fd388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000ffef5743a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000ffef5743a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000ffef5743a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000ffef5743a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000ffef5743a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000ffef5743a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000ffef5743a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000ffef5743a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000ffef577dc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000ffef577dc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000ffef577dc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000ffef577dc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000ffef56b430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000ffef56b430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000ffef56b430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000ffef5793b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000ffef5793b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000ffef5793b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000ffef56bd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000ffef56bd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000ffef56bd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000ffef5843b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000ffef5843b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000ffef5843b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000ffef58b1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000ffef58b1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000ffef58b1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000ffef4e6138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000ffef4e6138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000ffef4e6138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000ffef4e6138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000ffef4e6688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000ffef4e6688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000ffef4e6688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000ffef54d9ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000ffef54d9ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000ffef54d9ac clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000ffef54d9ac clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #50 0x000000ffef500d50 clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1318:0 #51 0x000000ffef5096a8 clang::ento::ExprEngine::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 #52 0x000000ffef509780 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #53 0x000000ffef509a58 clang::ento::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 #54 0x000000ffef509c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #55 0x000000ffef509c70 clang::ento::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 0x000000ffef81703c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #57 0x000000ffef81703c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #58 0x000000ffef81703c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #59 0x000000ffef81703c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #60 0x000000ffef81703c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #61 0x000000ffef818224 llvm::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 0x000000ffef818224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #63 0x000000ffef818224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #64 0x000000ffef81c604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x000000ffef81c604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x000000ffef81c604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #67 0x000000ffef81c604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #68 0x000000ffef81c604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x000000ffeda5e978 __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 0x000000ffeda5e978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x000000ffeda5e978 void clang::finalize>, 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 0x000000ffeda5e978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x000000ffef2d7b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #74 0x000000ffef293354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #75 0x000000ffef293354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #76 0x000000ffef293354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #77 0x000000ffef45c0dc std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #78 0x000000ffef45c0dc std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #79 0x000000ffef45c0dc clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #80 0x000000ffef45c0dc clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:0 #81 0x000000ffef4598b8 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #82 0x000000ffef4598b8 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #83 0x000000ffef4598b8 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #84 0x000000ffef4598b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:0 #85 0x000000ffef45b240 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #86 0x000000ffef45b240 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #87 0x000000ffef45b240 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #88 0x000000ffef45b240 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #89 0x000000ffef45b914 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:0 #90 0x000000ffef45bc88 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #91 0x000000ffef45bc88 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #92 0x000000ffef45bc88 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #93 0x000000ffef45bc88 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:0 #94 0x000000ffef45be44 clang::tooling::runToolOnCode(std::unique_ptr>, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:179:0 #95 0x000000aaade127c4 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:6 #96 0x000000aaade127c4 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:7 #97 0x000000aaade127c4 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:11 #98 0x000000aaade127c4 runCheckerOnCode /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:121:32 #99 0x000000aaade127c4 clang::ento::(anonymous namespace)::CXXDeallocatorCall_SimpleDestructor_Test::TestBody() /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CallEventTest.cpp:75:3 #100 0x000000aaade9a7b8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1167b8) #101 0x000000aaade9be50 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x117e50) #102 0x000000aaade9c544 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x118544) #103 0x000000aaadea8244 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x124244) #104 0x000000aaadea7a14 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x123a14) #105 0x000000aaade933b8 main (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10f3b8) #106 0x000000ffe60508c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #107 0x000000ffe60509cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #108 0x000000aaadde0b38 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5cb38) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-9-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/30/45 (19705 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/30/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-30-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=30 /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (5 ms) [----------] 1 test from RangeSetTest/2 (5 ms total) [----------] 1 test from RangeSetCastToNoopTest/2, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToNoopTest/2.RangeSetCastToNoopTest [ OK ] RangeSetCastToNoopTest/2.RangeSetCastToNoopTest (2 ms) [----------] 1 test from RangeSetCastToNoopTest/2 (2 ms total) [----------] 1 test from RangeSetCastToPromotionConversionTest/7, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionConversionTest/7.Test [ OK ] RangeSetCastToPromotionConversionTest/7.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionConversionTest/7 (2 ms total) [----------] 1 test from StaticAnalyzerOptions [ RUN ] StaticAnalyzerOptions.StringOptions [ OK ] StaticAnalyzerOptions.StringOptions (0 ms) [----------] 1 test from StaticAnalyzerOptions (0 ms total) [----------] 4 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetSymExprType/1 [ OK ] SValTests/SValTest.GetSymExprType/1 (3 ms) [ RUN ] SValTests/SValTest.GetCompoundType/4 #0 0x000000ffe8b5ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe8b5cbdc llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8bdc) #2 0x000000ffe8b5f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffe0c0648 (linux-vdso.so.1+0x648) #4 0x000000fff1611388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff1611388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff1611388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff1611388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff1611388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff1611388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff1611388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff1611388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff12883a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff12883a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff12883a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff12883a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff12883a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff12883a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff12883a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff12883a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff128bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff128bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff128bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff128bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff127f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff127f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff127f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff128d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff128d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff128d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff127fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff127fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff127fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff12983b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff12983b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff12983b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff129f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff129f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff129f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff11fa138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff11fa138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff11fa138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff11fa138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff11fa688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff11fa688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff11fa688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff11c2b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff11c2b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff11c2b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff120e674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff120e674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff120e674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000fff121e010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff121e010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff121e010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff152b03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff152b03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff152b03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff152b03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff152b03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff152c224 llvm::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 0x000000fff152c224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff152c224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff1530604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff1530604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff1530604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff1530604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff1530604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffef772978 __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 0x000000ffef772978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffef772978 void clang::finalize>, 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 0x000000ffef772978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff0febb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff0fa7354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff0fa7354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff0fa7354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff11700dc std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #77 0x000000fff11700dc std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #78 0x000000fff11700dc clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #79 0x000000fff11700dc clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:0 #80 0x000000fff116d8b8 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #81 0x000000fff116d8b8 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #82 0x000000fff116d8b8 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #83 0x000000fff116d8b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:0 #84 0x000000fff116f240 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #85 0x000000fff116f240 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #86 0x000000fff116f240 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #87 0x000000fff116f240 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #88 0x000000fff116f914 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:0 #89 0x000000fff116fc88 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #90 0x000000fff116fc88 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #91 0x000000fff116fc88 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #92 0x000000fff116fc88 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:0 #93 0x000000aaae973908 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 #94 0x000000aaae973908 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #95 0x000000aaae973908 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #96 0x000000aaae973908 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 #97 0x000000aaae9967b8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1167b8) #98 0x000000aaae997e50 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x117e50) #99 0x000000aaae998544 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x118544) #100 0x000000aaae9a4244 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x124244) #101 0x000000aaae9a3a14 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x123a14) #102 0x000000aaae98f3b8 main (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10f3b8) #103 0x000000ffe7d648c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #104 0x000000ffe7d649cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #105 0x000000aaae8dcb38 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5cb38) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-30-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/41/45 (19707 of 19712) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/41/45' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-41-45.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=45 GTEST_SHARD_INDEX=41 /builddir/build/BUILD/clang-17.0.6.src/loongarch64-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 (24 ms) [----------] 1 test from RangeSetTest/4 (24 ms total) [----------] 1 test from RangeSetCastToPromotionTest/5, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionTest/5.Test [ OK ] RangeSetCastToPromotionTest/5.Test (6 ms) [----------] 1 test from RangeSetCastToPromotionTest/5 (6 ms total) [----------] 1 test from RangeSetCastToTruncationConversionTest/6, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationConversionTest/6.Test [ OK ] RangeSetCastToTruncationConversionTest/6.Test (23 ms) [----------] 1 test from RangeSetCastToTruncationConversionTest/6 (24 ms total) [----------] 4 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/9 [ OK ] SValTests/SValTest.GetConstType/9 (7 ms) [ RUN ] SValTests/SValTest.GetSymExprType/12 [ OK ] SValTests/SValTest.GetSymExprType/12 (9 ms) [ RUN ] SValTests/SValTest.GetCompoundType/15 #0 0x000000ffe7f1ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe7f1cbdc llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8bdc) #2 0x000000ffe7f1f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffdd64648 (linux-vdso.so.1+0x648) #4 0x000000fff09d1388 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff09d1388 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff09d1388 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff09d1388 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff09d1388 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff09d1388 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff09d1388 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff09d1388 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x000000fff06483a0 assignSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2035:5 #13 0x000000fff06483a0 assignBinarySymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:38:1 #14 0x000000fff06483a0 assignSymIntExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #15 0x000000fff06483a0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:3 #16 0x000000fff06483a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:15 #17 0x000000fff06483a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:17 #18 0x000000fff06483a0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:46 #19 0x000000fff06483a0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:75 #20 0x000000fff064bdc8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #21 0x000000fff064bdc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #22 0x000000fff064bdc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x000000fff064bdc8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:31 #24 0x000000fff063f430 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #25 0x000000fff063f430 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x000000fff063f430 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #27 0x000000fff064d3b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x000000fff064d3b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x000000fff064d3b4 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #30 0x000000fff063fd18 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff063fd18 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff063fd18 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #33 0x000000fff06583b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #34 0x000000fff06583b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #35 0x000000fff06583b4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:0 #36 0x000000fff065f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x000000fff065f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x000000fff065f1d4 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #39 0x000000fff05ba138 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x000000fff05ba138 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x000000fff05ba138 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #42 0x000000fff05ba138 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:0 #43 0x000000fff05ba688 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x000000fff05ba688 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x000000fff05ba688 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:0 #46 0x000000fff0582b4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x000000fff0582b4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x000000fff0582b4c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #49 0x000000fff05ce674 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #50 0x000000fff05ce674 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #51 0x000000fff05ce674 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:0 #52 0x000000fff05de010 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #53 0x000000fff05de010 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #54 0x000000fff05de010 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #55 0x000000fff08eb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x000000fff08eb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x000000fff08eb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #58 0x000000fff08eb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #59 0x000000fff08eb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #60 0x000000fff08ec224 llvm::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 0x000000fff08ec224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x000000fff08ec224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #63 0x000000fff08f0604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x000000fff08f0604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x000000fff08f0604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x000000fff08f0604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x000000fff08f0604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x000000ffeeb32978 __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 0x000000ffeeb32978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x000000ffeeb32978 void clang::finalize>, 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 0x000000ffeeb32978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x000000fff03abb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #73 0x000000fff0367354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #74 0x000000fff0367354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #75 0x000000fff0367354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #76 0x000000fff05300dc std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #77 0x000000fff05300dc std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #78 0x000000fff05300dc clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #79 0x000000fff05300dc clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:0 #80 0x000000fff052d8b8 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #81 0x000000fff052d8b8 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #82 0x000000fff052d8b8 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #83 0x000000fff052d8b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:0 #84 0x000000fff052f240 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #85 0x000000fff052f240 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #86 0x000000fff052f240 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #87 0x000000fff052f240 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #88 0x000000fff052f914 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:0 #89 0x000000fff052fc88 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #90 0x000000fff052fc88 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #91 0x000000fff052fc88 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #92 0x000000fff052fc88 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:0 #93 0x000000aaae057908 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 #94 0x000000aaae057908 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #95 0x000000aaae057908 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #96 0x000000aaae057908 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 #97 0x000000aaae07a7b8 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x1167b8) #98 0x000000aaae07be50 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x117e50) #99 0x000000aaae07c544 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x118544) #100 0x000000aaae088244 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x124244) #101 0x000000aaae087a14 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x123a14) #102 0x000000aaae0733b8 main (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x10f3b8) #103 0x000000ffe71248c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #104 0x000000ffe71249cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #105 0x000000aaadfc0b38 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5cb38) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-3855120-41-45.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang Tools :: clang-tidy/infrastructure/temporaries.cpp (19709 of 19712) ******************** TEST 'Clang Tools :: clang-tidy/infrastructure/temporaries.cpp' FAILED ******************** Script: -- : 'RUN: at line 2'; clang-tidy -checks='-*,clang-analyzer-core.NullDereference' /builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/clang-tidy/infrastructure/temporaries.cpp -- | FileCheck /builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/clang-tidy/infrastructure/temporaries.cpp -- Exit Code: 2 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. Stack dump: 0. Program arguments: clang-tidy -checks=-*,clang-analyzer-core.NullDereference /builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/clang-tidy/infrastructure/temporaries.cpp -- 1. parser at end of file 2. While analyzing stack: #0 Calling testNullPointerDereference() 3. /builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/clang-tidy/infrastructure/temporaries.cpp:20:13: Error evaluating statement 4. /builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/clang-tidy/infrastructure/temporaries.cpp:20:13: Error evaluating statement #0 0x000000ffe6b66bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe6b64c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe6b673d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffff59c648 (linux-vdso.so.1+0x648) #4 0x000000ffef242244 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000ffef242244 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffef242244 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffef242244 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:72 #8 0x000000ffef242244 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:7 #9 0x000000ffef242244 Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:27 #10 0x000000ffef242244 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:89 #11 0x000000ffef242244 llvm::IntrusiveRefCntPtr clang::ento::ProgramState::set<(anonymous namespace)::ObjectsUnderConstruction>(clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:63 #12 0x000000ffef21a10c 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:600:0 #13 0x000000ffef2490f0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #14 0x000000ffef2490f0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #15 0x000000ffef2490f0 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:486:63 #16 0x000000ffef2677a4 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x000000ffef2677a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x000000ffef2677a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x000000ffef2677a4 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 #20 0x000000ffef2677a4 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 #21 0x000000ffef222cdc clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #22 0x000000ffef222cdc clang::ento::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 #23 0x000000ffef223e0c clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #24 0x000000ffef22565c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #25 0x000000ffef22587c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #26 0x000000ffef225c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #27 0x000000ffef225c70 clang::ento::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 0x000000ffef53303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #29 0x000000ffef53303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #30 0x000000ffef53303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #31 0x000000ffef53303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #32 0x000000ffef53303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #33 0x000000ffef534224 llvm::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 0x000000ffef534224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x000000ffef534224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #36 0x000000ffef538604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x000000ffef538604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x000000ffef538604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x000000ffef538604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x000000ffef538604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x000000ffef0075dc clang::MultiplexConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/MultiplexConsumer.cpp:297:25 #42 0x000000ffed77a978 __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 0x000000ffed77a978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x000000ffed77a978 void clang::finalize>, 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 0x000000ffed77a978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x000000ffeeff3b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #47 0x000000ffeefaf354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #48 0x000000ffeefaf354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #49 0x000000ffeefaf354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #50 0x000000ffef1780dc std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #51 0x000000ffef1780dc std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #52 0x000000ffef1780dc clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #53 0x000000ffef1780dc clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:0 #54 0x000000aaad5f82a0 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:6 #55 0x000000aaad5f82a0 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:7 #56 0x000000aaad5f82a0 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:11 #57 0x000000aaad5f82a0 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 #58 0x000000ffef1758b8 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #59 0x000000ffef1758b8 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #60 0x000000ffef1758b8 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #61 0x000000ffef1758b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:0 #62 0x000000ffef177240 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #63 0x000000ffef177240 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #64 0x000000ffef177240 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #65 0x000000ffef177240 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #66 0x000000ffef178798 clang::tooling::ClangTool::run(clang::tooling::ToolAction*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:612:0 #67 0x000000aaad611fa8 clang::tidy::runClangTidy(clang::tidy::ClangTidyContext&, clang::tooling::CompilationDatabase const&, llvm::ArrayRef, std::allocator>>, llvm::IntrusiveRefCntPtr, bool, bool, llvm::StringRef) /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidy.cpp:586:28 #68 0x000000aaacc7decc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #69 0x000000aaacc7decc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #70 0x000000aaacc7decc clang::tidy::clangTidyMain(int, char const**) /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/tool/ClangTidyMain.cpp:665:63 #71 0x000000ffe5c788c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #72 0x000000ffe5c789cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #73 0x000000aaacc6b8a8 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang-tidy+0x5578a8) 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 (19710 of 19712) ******************** TEST 'Clang Tools :: clang-tidy/infrastructure/static-analyzer-config.cpp' FAILED ******************** Script: -- : 'RUN: at line 2'; clang-tidy /builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/clang-tidy/infrastructure/static-analyzer-config.cpp -checks='-*,clang-analyzer-unix.Malloc' -config='{CheckOptions: [{ key: "clang-analyzer-unix.DynamicMemoryModeling:Optimistic", value: true}]}' -- | FileCheck /builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/clang-tidy/infrastructure/static-analyzer-config.cpp -- Exit Code: 2 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. Stack dump: 0. Program arguments: clang-tidy /builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/clang-tidy/infrastructure/static-analyzer-config.cpp -checks=-*,clang-analyzer-unix.Malloc "-config={CheckOptions: [{ key: \"clang-analyzer-unix.DynamicMemoryModeling:Optimistic\", value: true}]}" -- 1. parser at end of file 2. While analyzing stack: #0 Calling af2() 3. /builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/clang-tidy/infrastructure/static-analyzer-config.cpp:16:3: Error evaluating statement #0 0x000000ffe73a6bb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe73a4c1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe73a73d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000fffcaac648 (linux-vdso.so.1+0x648) #4 0x000000ffefc2f474 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x000000ffefc2f474 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x000000ffefc2f474 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x000000ffefc2f474 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x000000ffefc2f474 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x000000ffefc2f474 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x000000ffefc2f474 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x000000ffefc2f474 (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 0x000000ffefa2a8e8 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x000000ffefa5c1b4 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x000000ffefa5c1b4 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x000000ffefa5c1b4 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #16 0x000000ffefa5c1b4 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #17 0x000000ffefa5c1b4 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #18 0x000000ffefa5c1b4 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #19 0x000000ffefa5c1b4 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::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:0 #20 0x000000ffefa63d94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x000000ffefa63d94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x000000ffefa63d94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x000000ffefa63d94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x000000ffefa63d94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x000000ffefa63d94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x000000ffefa63d94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x000000ffefa63d94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x000000ffefa63d94 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 0x000000ffefa6565c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000ffefa6587c clang::ento::CoreEngine::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 0x000000ffefa65c70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #32 0x000000ffefa65c70 clang::ento::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 0x000000ffefd7303c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x000000ffefd7303c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x000000ffefd7303c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #36 0x000000ffefd7303c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #37 0x000000ffefd7303c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #38 0x000000ffefd74224 llvm::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 0x000000ffefd74224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #40 0x000000ffefd74224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #41 0x000000ffefd78604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x000000ffefd78604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x000000ffefd78604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #44 0x000000ffefd78604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #45 0x000000ffefd78604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #46 0x000000ffef8475dc clang::MultiplexConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/MultiplexConsumer.cpp:297:25 #47 0x000000ffedfba978 __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 0x000000ffedfba978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #49 0x000000ffedfba978 void clang::finalize>, 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 0x000000ffedfba978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #51 0x000000ffef833b24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #52 0x000000ffef7ef354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #53 0x000000ffef7ef354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #54 0x000000ffef7ef354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #55 0x000000ffef9b80dc std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #56 0x000000ffef9b80dc std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #57 0x000000ffef9b80dc clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #58 0x000000ffef9b80dc clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:0 #59 0x000000aaacf742a0 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:6 #60 0x000000aaacf742a0 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:7 #61 0x000000aaacf742a0 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:11 #62 0x000000aaacf742a0 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 #63 0x000000ffef9b58b8 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #64 0x000000ffef9b58b8 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #65 0x000000ffef9b58b8 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #66 0x000000ffef9b58b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:0 #67 0x000000ffef9b7240 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #68 0x000000ffef9b7240 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #69 0x000000ffef9b7240 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #70 0x000000ffef9b7240 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #71 0x000000ffef9b8798 clang::tooling::ClangTool::run(clang::tooling::ToolAction*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:612:0 #72 0x000000aaacf8dfa8 clang::tidy::runClangTidy(clang::tidy::ClangTidyContext&, clang::tooling::CompilationDatabase const&, llvm::ArrayRef, std::allocator>>, llvm::IntrusiveRefCntPtr, bool, bool, llvm::StringRef) /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidy.cpp:586:28 #73 0x000000aaac5f9ecc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #74 0x000000aaac5f9ecc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #75 0x000000aaac5f9ecc clang::tidy::clangTidyMain(int, char const**) /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/tool/ClangTidyMain.cpp:665:63 #76 0x000000ffe64b88c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #77 0x000000ffe64b89cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #78 0x000000aaac5e78a8 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang-tidy+0x5578a8) FileCheck error: '' is empty. FileCheck command line: FileCheck /builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/clang-tidy/infrastructure/static-analyzer-config.cpp -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang Tools :: clang-tidy/infrastructure/static-analyzer.cpp (19711 of 19712) ******************** TEST 'Clang Tools :: clang-tidy/infrastructure/static-analyzer.cpp' FAILED ******************** Script: -- : 'RUN: at line 2'; clang-tidy /builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/clang-tidy/infrastructure/static-analyzer.cpp -checks='-*,clang-analyzer-*' -- | FileCheck /builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/clang-tidy/infrastructure/static-analyzer.cpp -- Exit Code: 2 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. Stack dump: 0. Program arguments: clang-tidy /builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/clang-tidy/infrastructure/static-analyzer.cpp -checks=-*,clang-analyzer-* -- 1. parser at end of file 2. While analyzing stack: #0 Calling g() 3. /builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/clang-tidy/infrastructure/static-analyzer.cpp:14:13: Error evaluating statement 4. /builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/clang-tidy/infrastructure/static-analyzer.cpp:14:13: Error evaluating statement #0 0x000000ffe802ebb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9fabb0) #1 0x000000ffe802cc1c llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9f8c1c) #2 0x000000ffe802f3d0 (/usr/lib64/libLLVM-17.so+0x9fb3d0) #3 0x000000ffffab4648 (linux-vdso.so.1+0x648) #4 0x000000fff0ac57f4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x000000fff0ac57f4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x000000fff0ac57f4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x000000fff0ac57f4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x000000fff0ac57f4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x000000fff0ac57f4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x000000fff0ac57f4 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x000000fff0ac57f4 (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 0x000000fff088dfc8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x000000fff088dfc8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x000000fff088dfc8 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 0x000000fff06bfa28 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #16 0x000000fff06bfa28 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #17 0x000000fff06bfa28 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:29 #18 0x000000fff06bfa28 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:30 #19 0x000000fff076843c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x000000fff076843c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x000000fff076843c clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:0 #22 0x000000fff076843c clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:0 #23 0x000000fff076f1d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x000000fff076f1d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x000000fff076f1d4 clang::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 0x000000fff06ca230 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #27 0x000000fff06ca230 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x000000fff06ca230 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:0 #29 0x000000fff06ca230 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:0 #30 0x000000fff0c20114 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x000000fff0c20114 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x000000fff0c20114 clang::ento::ProgramState::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 0x000000fff08b0554 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x000000fff08b0554 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x000000fff08b0554 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x000000fff08b0554 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x000000fff08b0554 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x000000fff08b0554 (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 0x000000fff08b0a4c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #40 0x000000fff08b0a4c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #41 0x000000fff08b0a4c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #42 0x000000fff08b0a4c (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 #43 0x000000fff08bd610 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #44 0x000000fff08bd610 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 #45 0x000000fff06c0df0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:5 #46 0x000000fff06c0df0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x000000fff06c0df0 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:7 #48 0x000000fff06c0df0 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:35 #49 0x000000fff06c0df0 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:26 #50 0x000000fff0712500 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #51 0x000000fff0712500 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #52 0x000000fff0712500 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #53 0x000000fff0712500 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:710:26 #54 0x000000fff0712e4c clang::ento::ExprEngine::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 0x000000fff06ead1c clang::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 0x000000fff06ead1c clang::ento::ExprEngine::Visit(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 0x000000fff06ebe0c clang::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 0x000000fff06ed65c clang::ento::ExprEngine::processCFGElement(clang::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 0x000000fff06ed87c clang::ento::CoreEngine::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 0x000000fff06edc70 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:159:0 #61 0x000000fff06edc70 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #62 0x000000fff09fb03c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #63 0x000000fff09fb03c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #64 0x000000fff09fb03c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:0 #65 0x000000fff09fb03c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:0 #66 0x000000fff09fb03c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:0 #67 0x000000fff09fc224 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #68 0x000000fff09fc224 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #69 0x000000fff09fc224 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:0 #70 0x000000fff0a00604 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x000000fff0a00604 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x000000fff0a00604 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #73 0x000000fff0a00604 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #74 0x000000fff0a00604 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #75 0x000000fff04cf5dc clang::MultiplexConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/MultiplexConsumer.cpp:297:25 #76 0x000000ffeec42978 __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 0x000000ffeec42978 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #78 0x000000ffeec42978 void clang::finalize>, 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 0x000000ffeec42978 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #80 0x000000fff04bbb24 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:0 #81 0x000000fff0477354 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:0 #82 0x000000fff0477354 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:0 #83 0x000000fff0477354 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:0 #84 0x000000fff06400dc std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:0 #85 0x000000fff06400dc std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:0 #86 0x000000fff06400dc clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:0 #87 0x000000fff06400dc clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:0 #88 0x000000aaaca742a0 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:6 #89 0x000000aaaca742a0 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:7 #90 0x000000aaaca742a0 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:11 #91 0x000000aaaca742a0 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 #92 0x000000fff063d8b8 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #93 0x000000fff063d8b8 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #94 0x000000fff063d8b8 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #95 0x000000fff063d8b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:0 #96 0x000000fff063f240 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:0 #97 0x000000fff063f240 std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:0 #98 0x000000fff063f240 std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:0 #99 0x000000fff063f240 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:0 #100 0x000000fff0640798 clang::tooling::ClangTool::run(clang::tooling::ToolAction*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:612:0 #101 0x000000aaaca8dfa8 clang::tidy::runClangTidy(clang::tidy::ClangTidyContext&, clang::tooling::CompilationDatabase const&, llvm::ArrayRef, std::allocator>>, llvm::IntrusiveRefCntPtr, bool, bool, llvm::StringRef) /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidy.cpp:586:28 #102 0x000000aaac0f9ecc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #103 0x000000aaac0f9ecc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #104 0x000000aaac0f9ecc clang::tidy::clangTidyMain(int, char const**) /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/tool/ClangTidyMain.cpp:665:63 #105 0x000000ffe71408c8 __libc_start_call_main (/usr/lib64/libc.so.6+0x288c8) #106 0x000000ffe71409cc __libc_start_main@@GLIBC_2.36 (/usr/lib64/libc.so.6+0x289cc) #107 0x000000aaac0e78a8 _start (/builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/bin/clang-tidy+0x5578a8) 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.. ******************** Failed Tests (662): Clang :: Analysis/CFContainers.mm Clang :: Analysis/CFNumber.c Clang :: Analysis/CFRetainRelease_NSAssertionHandler.m Clang :: Analysis/CGColorSpace.c Clang :: Analysis/CheckNSError.m Clang :: Analysis/CheckThatArraySubsciptNodeIsNotCollected.cpp Clang :: Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m Clang :: Analysis/DeallocMissingRelease.m Clang :: Analysis/DeallocUseAfterFreeErrors.m Clang :: Analysis/DeleteWithNonVirtualDtor.cpp Clang :: Analysis/DynamicTypePropagation.m Clang :: Analysis/Issue56873.cpp Clang :: Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp Clang :: Analysis/Malloc+MismatchedDeallocator_intersections.cpp Clang :: Analysis/MemRegion.cpp Clang :: Analysis/MismatchedDeallocator-checker-test.mm Clang :: Analysis/MismatchedDeallocator-path-notes.cpp Clang :: Analysis/MissingDealloc.m Clang :: Analysis/NSContainers.m Clang :: Analysis/NSPanel.m Clang :: Analysis/NSString.m Clang :: Analysis/NSWindow.m Clang :: Analysis/NewDelete+MismatchedDeallocator_intersections.cpp Clang :: Analysis/NewDelete-atomics.cpp Clang :: Analysis/NewDelete-checker-test.cpp Clang :: Analysis/NewDelete-custom.cpp Clang :: Analysis/NewDelete-intersections.mm Clang :: Analysis/NewDelete-path-notes.cpp Clang :: Analysis/NewDelete-sized-deallocation.cpp Clang :: Analysis/NewDelete-variadic.cpp Clang :: Analysis/NewDeleteLeaks-PR18394.cpp Clang :: Analysis/NewDeleteLeaks-PR19102.cpp Clang :: Analysis/NewDeleteLeaks.cpp Clang :: Analysis/NoReturn.m Clang :: Analysis/OSAtomic_mac.cpp Clang :: Analysis/ObjCProperties.m Clang :: Analysis/ObjCRetSigs.m Clang :: Analysis/PR24184.cpp Clang :: Analysis/PR2978.m Clang :: Analysis/PR35418.cpp Clang :: Analysis/PR3991.m Clang :: Analysis/PR46264.cpp Clang :: Analysis/PR47511.cpp Clang :: Analysis/PR49490.cpp Clang :: Analysis/PR49642.c Clang :: Analysis/PR50268.c Clang :: Analysis/PR60412.cpp Clang :: Analysis/SpecialFunctionsCFError.cpp Clang :: Analysis/UserNullabilityAnnotations.m Clang :: Analysis/a_flaky_crash.cpp Clang :: Analysis/additive-folding-range-constraints.c Clang :: Analysis/additive-folding.cpp Clang :: Analysis/additive-op-on-sym-int-expr.c Clang :: Analysis/analysis-after-multiple-dtors.cpp Clang :: Analysis/analyzeOneFunction.m Clang :: Analysis/analyzer-stats.c Clang :: Analysis/array-bound-v2-constraint-check.c Clang :: Analysis/array-init-loop.cpp Clang :: Analysis/array-punned-region.c Clang :: Analysis/array-struct-region.c Clang :: Analysis/array-struct-region.cpp Clang :: Analysis/array-struct.c Clang :: Analysis/assume-controlled-environment.c Clang :: Analysis/atomics.c Clang :: Analysis/autoreleasewritechecker_test.m Clang :: Analysis/base-init.cpp Clang :: Analysis/bitwise-ops-nocrash.c Clang :: Analysis/bitwise-ops.c Clang :: Analysis/block-in-critical-section.cpp Clang :: Analysis/block-in-critical-section.m Clang :: Analysis/blocks-no-inline.c Clang :: Analysis/blocks.m Clang :: Analysis/blocks.mm Clang :: Analysis/bool-assignment.c Clang :: Analysis/bsd-string.c Clang :: Analysis/bstring.c Clang :: Analysis/bstring.cpp Clang :: Analysis/bstring_UninitRead.c Clang :: Analysis/bug_hash_test.cpp Clang :: Analysis/bug_hash_test.m Clang :: Analysis/builtin-functions.cpp Clang :: Analysis/c11lock.c Clang :: Analysis/call-and-message.cpp Clang :: Analysis/call-and-message.m Clang :: Analysis/call-invalidation.cpp Clang :: Analysis/call_once.cpp Clang :: Analysis/cast-to-struct.cpp Clang :: Analysis/cast-value-logic.cpp Clang :: Analysis/cast-value-notes.cpp Clang :: Analysis/cast-value-state-dump.cpp Clang :: Analysis/casts.c Clang :: Analysis/casts.cpp Clang :: Analysis/casts.m Clang :: Analysis/cert/env31-c.c Clang :: Analysis/cert/env34-c-cert-examples.c Clang :: Analysis/cert/env34-c.c Clang :: Analysis/cert/pos34-c-fp-suppression.cpp Clang :: Analysis/cert/pos34-c.cpp Clang :: Analysis/cfref_PR2519.c Clang :: Analysis/cfref_rdar6080742.c Clang :: Analysis/class-object-state-dump.m Clang :: Analysis/comparison-implicit-casts.cpp Clang :: Analysis/complex.c Clang :: Analysis/conditional-operator.cpp Clang :: Analysis/conditional-path-notes.c Clang :: Analysis/const-method-call.cpp Clang :: Analysis/constant-folding-crash.cpp Clang :: Analysis/constant-folding.c Clang :: Analysis/constraint-assignor.c Clang :: Analysis/constraint_manager_conditions.cpp Clang :: Analysis/constraint_manager_negate.c Clang :: Analysis/constraint_manager_negate_difference.c Clang :: Analysis/container-modeling.cpp Clang :: Analysis/conversion-tracking-notes.c Clang :: Analysis/conversion.c Clang :: Analysis/conversion.cpp Clang :: Analysis/copy-elision.cpp Clang :: Analysis/copy-elision.mm Clang :: Analysis/copypaste/asm.cpp Clang :: Analysis/copypaste/attributes.cpp Clang :: Analysis/copypaste/autogenerated_automoc.cpp Clang :: Analysis/copypaste/call.cpp Clang :: Analysis/copypaste/catch.cpp Clang :: Analysis/copypaste/clone-begin-end-different-file.cpp Clang :: Analysis/copypaste/dbus_autogenerated.cpp Clang :: Analysis/copypaste/delete.cpp Clang :: Analysis/copypaste/dependent-exist.cpp Clang :: Analysis/copypaste/expr-types.cpp Clang :: Analysis/copypaste/functions.cpp Clang :: Analysis/copypaste/generic.c Clang :: Analysis/copypaste/labels.cpp Clang :: Analysis/copypaste/lambda.cpp Clang :: Analysis/copypaste/macro-complexity.cpp Clang :: Analysis/copypaste/moc_autogenerated.cpp Clang :: Analysis/copypaste/not-autogenerated.cpp Clang :: Analysis/copypaste/objc-methods.m Clang :: Analysis/copypaste/plist-diagnostics-notes-as-events.cpp Clang :: Analysis/copypaste/plist-diagnostics.cpp Clang :: Analysis/copypaste/sub-sequences.cpp Clang :: Analysis/copypaste/suspicious-clones.cpp Clang :: Analysis/copypaste/text-diagnostics.cpp Clang :: Analysis/copypaste/ui_autogenerated.cpp Clang :: Analysis/coverage.c Clang :: Analysis/cstring-plist.c Clang :: Analysis/cstring-syntax-cxx.cpp Clang :: Analysis/cstring-syntax-weird.c Clang :: Analysis/cstring-syntax-weird2.c Clang :: Analysis/cstring-syntax.c Clang :: Analysis/ctor-array.cpp Clang :: Analysis/ctor-bug-path.cpp Clang :: Analysis/ctor-trivial-copy.cpp Clang :: Analysis/ctor.mm Clang :: Analysis/ctu-implicit.c Clang :: Analysis/ctu-main.c Clang :: Analysis/ctu-main.cpp Clang :: Analysis/ctu-on-demand-parsing.c Clang :: Analysis/ctu-on-demand-parsing.cpp Clang :: Analysis/ctu-onego-indirect.cpp Clang :: Analysis/ctu-onego-small.cpp Clang :: Analysis/ctu-onego-toplevel.cpp Clang :: Analysis/cxx-crashes.cpp Clang :: Analysis/cxx-dynamic-memory-analysis-order.cpp Clang :: Analysis/cxx-for-range.cpp Clang :: Analysis/cxx-inherited-ctor-init-expr.cpp Clang :: Analysis/cxx-member-initializer-const-field.cpp Clang :: Analysis/cxx-method-names.cpp Clang :: Analysis/cxx-uninitialized-object-inheritance.cpp Clang :: Analysis/cxx-uninitialized-object-no-dereference.cpp Clang :: Analysis/cxx-uninitialized-object-notes-as-warnings.cpp Clang :: Analysis/cxx-uninitialized-object-ptr-ref.cpp Clang :: Analysis/cxx-uninitialized-object-unguarded-access.cpp Clang :: Analysis/cxx-uninitialized-object-unionlike-constructs.cpp Clang :: Analysis/cxx-uninitialized-object.cpp Clang :: Analysis/cxxctr-array-evalcall-analysis-order.cpp Clang :: Analysis/cxxctr-evalcall-analysis-order.cpp Clang :: Analysis/cxxnewexpr-callback.cpp Clang :: Analysis/dead-stores.c Clang :: Analysis/dead-stores.m Clang :: Analysis/debug-container-modeling.cpp Clang :: Analysis/debug-exprinspection-istainted.c Clang :: Analysis/debug-iterator-modeling.cpp Clang :: Analysis/delegates.m Clang :: Analysis/derived-to-base.cpp Clang :: Analysis/diagnostics/deref-track-symbolic-region.c Clang :: Analysis/diagnostics/deref-track-symbolic-region.cpp Clang :: Analysis/diagnostics/dtors.cpp Clang :: Analysis/diagnostics/explicit-suppression.cpp Clang :: Analysis/diagnostics/false-positive-suppression.c Clang :: Analysis/diagnostics/find_last_store.c Clang :: Analysis/diagnostics/implicit-cxx-std-suppression.cpp Clang :: Analysis/diagnostics/initializer.cpp Clang :: Analysis/diagnostics/invalid-srcloc-fix.cpp Clang :: Analysis/diagnostics/macro-null-return-suppression.cpp Clang :: Analysis/diagnostics/macros.cpp Clang :: Analysis/diagnostics/macros.m Clang :: Analysis/diagnostics/no-store-func-path-notes.c Clang :: Analysis/diagnostics/no-store-func-path-notes.cpp Clang :: Analysis/diagnostics/no-store-func-path-notes.m Clang :: Analysis/diagnostics/plist-diagnostics-include-check.cpp Clang :: Analysis/diagnostics/report-issues-within-main-file.cpp Clang :: Analysis/diagnostics/sarif-diagnostics-taint-test.c Clang :: Analysis/diagnostics/sarif-multi-diagnostic-test.c Clang :: Analysis/diagnostics/text-diagnostics.c Clang :: Analysis/diagnostics/track_subexpressions.cpp Clang :: Analysis/diagnostics/undef-value-param.c Clang :: Analysis/diagnostics/undef-value-param.m Clang :: Analysis/dispatch-once.m Clang :: Analysis/div-zero.cpp Clang :: Analysis/division-by-zero-track-zero.c Clang :: Analysis/division-by-zero-track-zero.cpp Clang :: Analysis/division-by-zero.c Clang :: Analysis/double-ranges-bug.c Clang :: Analysis/dtor-array.cpp Clang :: Analysis/dtor-cxx11.cpp Clang :: Analysis/dtor.cpp Clang :: Analysis/dump_egraph.cpp Clang :: Analysis/dynamic-cast.cpp Clang :: Analysis/edges-new.mm Clang :: Analysis/end-function-return-stmt.cpp Clang :: Analysis/engine/replay-without-inlining.c Clang :: Analysis/enum-cast-out-of-range.cpp Clang :: Analysis/enum.cpp Clang :: Analysis/equality_tracking.c Clang :: Analysis/errno-notes.c Clang :: Analysis/errno-options.c Clang :: Analysis/errno-stdlibraryfunctions-notes.c Clang :: Analysis/errno-stdlibraryfunctions.c Clang :: Analysis/errno.c Clang :: Analysis/eval-predefined-exprs.cpp Clang :: Analysis/exceptions.mm Clang :: Analysis/exercise-ps.c Clang :: Analysis/explain-svals.c Clang :: Analysis/explain-svals.cpp Clang :: Analysis/explain-svals.m Clang :: Analysis/exploded-graph-rewriter/dynamic_types.cpp Clang :: Analysis/exploded-graph-rewriter/initializers_under_construction.cpp Clang :: Analysis/exploded-graph-rewriter/objects_under_construction.cpp Clang :: Analysis/exploration_order/noexprcrash.c Clang :: Analysis/exploration_order/prefer_unexplored.cpp Clang :: Analysis/expr-inspection-printState-diseq-info.c Clang :: Analysis/expr-inspection-printState-eq-classes.c Clang :: Analysis/expr-inspection.c Clang :: Analysis/expr-inspection.cpp Clang :: Analysis/fields.c Clang :: Analysis/find-binop-constraints.cpp Clang :: Analysis/flexible-array-member.cpp Clang :: Analysis/flexible-array-members.c Clang :: Analysis/free.c Clang :: Analysis/free.cpp Clang :: Analysis/fuchsia_handle.cpp Clang :: Analysis/fuchsia_lock.c Clang :: Analysis/fuchsia_lock_impl.c Clang :: Analysis/func.c Clang :: Analysis/gcdantipatternchecker_test.m Clang :: Analysis/generics.m Clang :: Analysis/global-region-invalidation-errno.c Clang :: Analysis/global-region-invalidation.c Clang :: Analysis/global_region_invalidation.mm Clang :: Analysis/globals-are-not-always-immutable.c Clang :: Analysis/globals.cpp Clang :: Analysis/gmalloc.c Clang :: Analysis/gtest.cpp Clang :: Analysis/handle_constructors_for_default_arguments.cpp Clang :: Analysis/handle_constructors_with_new_array.cpp Clang :: Analysis/hangs.c Clang :: Analysis/html_diagnostics/control-arrows.cpp Clang :: Analysis/html_diagnostics/relevant_lines/goto.c Clang :: Analysis/html_diagnostics/relevant_lines/macros_same_file.c Clang :: Analysis/html_diagnostics/relevant_lines/multifile.c Clang :: Analysis/html_diagnostics/relevant_lines/multiline_func_def.c Clang :: Analysis/html_diagnostics/relevant_lines/objcmethods.m Clang :: Analysis/html_diagnostics/relevant_lines/simple_conditional.c Clang :: Analysis/html_diagnostics/relevant_lines/switch.c Clang :: Analysis/html_diagnostics/relevant_lines/switch_default.c Clang :: Analysis/html_diagnostics/relevant_lines/synthesized_body.cpp Clang :: Analysis/html_diagnostics/relevant_lines/unused_header.c Clang :: Analysis/identical-expressions.cpp Clang :: Analysis/implicit-ctor-undef-value.cpp Clang :: Analysis/incorrect-checker-names.mm Clang :: Analysis/infeasible-crash.c Clang :: Analysis/infeasible-sink.c Clang :: Analysis/initialization.cpp Clang :: Analysis/initializer.cpp Clang :: Analysis/inline-not-supported.c Clang :: Analysis/inline-plist.c Clang :: Analysis/inline.cpp Clang :: Analysis/inline3.c Clang :: Analysis/inline4.c Clang :: Analysis/inlining/DynDispatchBifurcate.m Clang :: Analysis/inlining/InlineObjCClassMethod.m Clang :: Analysis/inlining/InlineObjCInstanceMethod.m Clang :: Analysis/inlining/ObjCDynTypePopagation.m Clang :: Analysis/inlining/ObjCImproperDynamictallyDetectableCast.m Clang :: Analysis/inlining/RetainCountExamples.m Clang :: Analysis/inlining/assume-super-init-does-not-return-nil.m Clang :: Analysis/inlining/containers.cpp Clang :: Analysis/inlining/dyn-dispatch-bifurcate.cpp Clang :: Analysis/inlining/false-positive-suppression.c Clang :: Analysis/inlining/false-positive-suppression.cpp Clang :: Analysis/inlining/false-positive-suppression.m Clang :: Analysis/inlining/inline-defensive-checks.c Clang :: Analysis/inlining/inline-defensive-checks.cpp Clang :: Analysis/inlining/inline-defensive-checks.m Clang :: Analysis/inlining/path-notes.c Clang :: Analysis/inlining/path-notes.cpp Clang :: Analysis/inlining/path-notes.m Clang :: Analysis/inlining/placement-new-fp-suppression.cpp Clang :: Analysis/inlining/retain-count-self-init.m Clang :: Analysis/inlining/stl.cpp Clang :: Analysis/inlining/temp-dtors-path-notes.cpp Clang :: Analysis/inlining/test_objc_inlining_option.m Clang :: Analysis/inner-pointer.cpp Clang :: Analysis/invalidated-iterator.cpp Clang :: Analysis/issue-55019.cpp Clang :: Analysis/iterator-modeling.cpp Clang :: Analysis/iterator-range.cpp Clang :: Analysis/ivars.m Clang :: Analysis/keychainAPI-diagnostic-visitor.m Clang :: Analysis/keychainAPI.m Clang :: Analysis/kmalloc-linux.c Clang :: Analysis/lambdas-generalized-capture.cpp Clang :: Analysis/lambdas-modern.cpp Clang :: Analysis/lambdas.cpp Clang :: Analysis/lambdas.mm Clang :: Analysis/left-shift-cxx2a.cpp Clang :: Analysis/lifetime-extended-regions.cpp Clang :: Analysis/lifetime-extension.cpp Clang :: Analysis/lifetime-extension.mm Clang :: Analysis/live-bindings-test.cpp Clang :: Analysis/live-variables.cpp Clang :: Analysis/live-variables.m Clang :: Analysis/llvm-conventions.cpp Clang :: Analysis/localization-aggressive.m Clang :: Analysis/localization.m Clang :: Analysis/logical-ops.c Clang :: Analysis/loop-unrolling.cpp Clang :: Analysis/loop-widening-notes.cpp Clang :: Analysis/loop-widening-preserve-reference-type.cpp Clang :: Analysis/loop-widening.c Clang :: Analysis/loop-widening.cpp Clang :: Analysis/main.c Clang :: Analysis/main.cpp Clang :: Analysis/malloc-annotations.c Clang :: Analysis/malloc-annotations.cpp Clang :: Analysis/malloc-bodyfarms.c Clang :: Analysis/malloc-bodyfarms.cpp Clang :: Analysis/malloc-fnptr-plist.c Clang :: Analysis/malloc-free-after-return.cpp Clang :: Analysis/malloc-interprocedural.c Clang :: Analysis/malloc-overflow2.c Clang :: Analysis/malloc-plist.c Clang :: Analysis/malloc-static-storage.cpp Clang :: Analysis/malloc.c Clang :: Analysis/malloc.cpp Clang :: Analysis/malloc.m Clang :: Analysis/malloc.mm Clang :: Analysis/max-nodes-suppress-on-sink.c Clang :: Analysis/max-nodes-suppress-on-sink.cpp Clang :: Analysis/member-expr.cpp Clang :: Analysis/memory-model.cpp Clang :: Analysis/method-call-intra-p.cpp Clang :: Analysis/method-call-path-notes.cpp Clang :: Analysis/method-call.cpp Clang :: Analysis/mig.mm Clang :: Analysis/misc-ps-64.m Clang :: Analysis/misc-ps-cxx0x.cpp Clang :: Analysis/misc-ps-eager-assume.m Clang :: Analysis/misc-ps-ranges.m Clang :: Analysis/misc-ps-region-store.cpp Clang :: Analysis/misc-ps-region-store.m Clang :: Analysis/misc-ps-region-store.mm Clang :: Analysis/misc-ps.c Clang :: Analysis/misc-ps.m Clang :: Analysis/mismatched-iterator.cpp Clang :: Analysis/missing-bind-temporary.cpp Clang :: Analysis/model-file.cpp Clang :: Analysis/mpichecker.cpp Clang :: Analysis/mpicheckernotes.cpp Clang :: Analysis/mutually_exclusive_null_fp.cpp Clang :: Analysis/new-aligned.cpp Clang :: Analysis/new-ctor-conservative.cpp Clang :: Analysis/new-ctor-inlined.cpp Clang :: Analysis/new-ctor-malloc.cpp Clang :: Analysis/new-ctor-null-throw.cpp Clang :: Analysis/new-ctor-null.cpp Clang :: Analysis/new-ctor-recursive.cpp Clang :: Analysis/new-ctor-symbolic.cpp Clang :: Analysis/new-dynamic-types.cpp Clang :: Analysis/new-with-exceptions.cpp Clang :: Analysis/new.cpp Clang :: Analysis/nil-receiver-undefined-larger-than-voidptr-ret-region.m Clang :: Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m Clang :: Analysis/no-exit-cfg.c Clang :: Analysis/no-outofbounds.c Clang :: Analysis/no-return.c Clang :: Analysis/no-store-suppression.cpp Clang :: Analysis/no-unreachable-dtors.cpp Clang :: Analysis/non-diagnosable-assumptions.c Clang :: Analysis/nonnull-global-constants.mm Clang :: Analysis/nonnull.cpp Clang :: Analysis/nonnull.m Clang :: Analysis/nonnullparamchecker-crash.cpp Clang :: Analysis/novoidtypecrash.c Clang :: Analysis/null-deref-offsets.c Clang :: Analysis/null-deref-path-notes.cpp Clang :: Analysis/null-deref-path-notes.m Clang :: Analysis/null-deref-ps-region.c Clang :: Analysis/null-deref-ps.c Clang :: Analysis/null-deref-static.m Clang :: Analysis/nullability-arc.mm Clang :: Analysis/nullability-no-arc.mm Clang :: Analysis/nullability-notes.m Clang :: Analysis/nullability.mm Clang :: Analysis/nullability_nullonly.mm Clang :: Analysis/nullptr.cpp Clang :: Analysis/objc-arc.m Clang :: Analysis/objc-boxing.m Clang :: Analysis/objc-for.m Clang :: Analysis/objc-indirect-copy-restore.m Clang :: Analysis/objc-live-crash.mm Clang :: Analysis/objc-message.m Clang :: Analysis/objc-radar17039661.m Clang :: Analysis/objc-string.mm Clang :: Analysis/objc-subscript.m Clang :: Analysis/objc/direct-ivar-assignment-in-annotated-functions.m Clang :: Analysis/objc_invalidation.m Clang :: Analysis/objcpp-uninitialized-object.mm Clang :: Analysis/operator-calls.cpp Clang :: Analysis/osobject-retain-release.cpp Clang :: Analysis/out-of-bounds-new.cpp Clang :: Analysis/out-of-bounds.c Clang :: Analysis/outofbound.c Clang :: Analysis/override-werror.c Clang :: Analysis/path-notes-impl-param.m Clang :: Analysis/placement-new-user-defined.cpp Clang :: Analysis/placement-new.cpp Clang :: Analysis/plist-diagnostics-template-function.cpp Clang :: Analysis/plist-diagnostics-template-record.cpp Clang :: Analysis/plist-html-macros.c Clang :: Analysis/plist-macros.cpp Clang :: Analysis/plist-output-alternate.m Clang :: Analysis/plist-output.m Clang :: Analysis/pointer-to-member.cpp Clang :: Analysis/pr22954.c Clang :: Analysis/pr37802.cpp Clang :: Analysis/pr4209.m Clang :: Analysis/pr_2542_rdar_6793404.m Clang :: Analysis/pr_4164.c Clang :: Analysis/print-ranges.cpp Clang :: Analysis/properties.m Clang :: Analysis/properties.mm Clang :: Analysis/pthreadlock.c Clang :: Analysis/pthreadlock_state.c Clang :: Analysis/pthreadlock_state_nottracked.c Clang :: Analysis/ptr-arith.c Clang :: Analysis/ptr-arith.cpp Clang :: Analysis/ptr-cmp-const-trunc.cl Clang :: Analysis/ptr-iter.cpp Clang :: Analysis/ptr-sort.cpp Clang :: Analysis/qt_malloc.cpp Clang :: Analysis/range_casts.c Clang :: Analysis/rdar-6442306-1.m Clang :: Analysis/rdar-6540084.m Clang :: Analysis/rdar-6562655.m Clang :: Analysis/rdar-6600344-nil-receiver-undefined-struct-ret.m Clang :: Analysis/rdar-7168531.m Clang :: Analysis/redefined_system.c Clang :: Analysis/refcnt_naming.m Clang :: Analysis/reference.cpp Clang :: Analysis/region-1.m Clang :: Analysis/region-store.c Clang :: Analysis/region-store.cpp Clang :: Analysis/region_store_overflow.c Clang :: Analysis/reinterpret-cast-pointer-to-member.cpp Clang :: Analysis/reinterpret-cast.cpp Clang :: Analysis/retain-count-alloc.cpp Clang :: Analysis/retain-release-arc.m Clang :: Analysis/retain-release-cache-out.m Clang :: Analysis/retain-release-cf-audited.m Clang :: Analysis/retain-release-compound-literal.m Clang :: Analysis/retain-release-cpp-classes.cpp Clang :: Analysis/retain-release-inline.m Clang :: Analysis/retain-release-path-notes.m Clang :: Analysis/retain-release-region-store.m Clang :: Analysis/retain-release-safe.c Clang :: Analysis/retain-release.m Clang :: Analysis/retain-release.mm Clang :: Analysis/retaincountchecker-compoundregion.m Clang :: Analysis/return-ptr-range.cpp Clang :: Analysis/return-stmt-merge.cpp Clang :: Analysis/return-value-guaranteed.cpp Clang :: Analysis/returns_nonnull-attribute.cpp Clang :: Analysis/runtime-regression.c Clang :: Analysis/rvo.cpp Clang :: Analysis/scan-build/exclude_directories.test Clang :: Analysis/scan-build/silence-core-checkers.test Clang :: Analysis/self-assign.cpp Clang :: Analysis/self-init.m Clang :: Analysis/shallow-mode.m Clang :: Analysis/silence-checkers-and-packages-core-all.cpp Clang :: Analysis/silence-checkers-and-packages-core-div-by-zero.cpp Clang :: Analysis/silence-checkers.cpp Clang :: Analysis/simple-stream-checks.c Clang :: Analysis/smart-ptr-text-output.cpp Clang :: Analysis/smart-ptr.cpp Clang :: Analysis/solver-sym-simplification-adjustment.c Clang :: Analysis/solver-sym-simplification-concreteint.c Clang :: Analysis/solver-sym-simplification-no-crash.c Clang :: Analysis/solver-sym-simplification-no-crash2.c Clang :: Analysis/solver-sym-simplification-ptr-bool.cl Clang :: Analysis/solver-sym-simplification-with-proper-range-type.c Clang :: Analysis/stack-addr-ps.c Clang :: Analysis/stack-addr-ps.cpp Clang :: Analysis/stack-capture-leak-arc.mm Clang :: Analysis/stack-capture-leak-no-arc.mm Clang :: Analysis/stack-frame-context-revision.cpp Clang :: Analysis/stackaddrleak.c Clang :: Analysis/static_local.m Clang :: Analysis/std-c-library-functions-arg-constraints-note-tags.cpp Clang :: Analysis/std-c-library-functions-arg-constraints-notes.cpp Clang :: Analysis/std-c-library-functions-arg-constraints.c Clang :: Analysis/std-c-library-functions-arg-cstring-dependency.c Clang :: Analysis/std-c-library-functions-eof.c Clang :: Analysis/std-c-library-functions-inlined.c Clang :: Analysis/std-c-library-functions-path-notes.c Clang :: Analysis/std-c-library-functions-vs-stream-checker.c Clang :: Analysis/std-c-library-functions.c Clang :: Analysis/std-c-library-functions.cpp Clang :: Analysis/std-c-library-posix-crash.c Clang :: Analysis/std-string.cpp Clang :: Analysis/stl-algorithm-modeling-aggressive-std-find-modeling.cpp Clang :: Analysis/stl-algorithm-modeling.cpp Clang :: Analysis/stream-errno-note.c Clang :: Analysis/stream-errno.c Clang :: Analysis/stream-error.c Clang :: Analysis/stream-noopen.c Clang :: Analysis/stream-note.c Clang :: Analysis/stream-stdlibraryfunctionargs.c Clang :: Analysis/stream.c Clang :: Analysis/stream.cpp Clang :: Analysis/string-with-signedness.c Clang :: Analysis/string.c Clang :: Analysis/string.cpp Clang :: Analysis/structured_bindings.cpp Clang :: Analysis/svalbuilder-casts.cpp Clang :: Analysis/svalbuilder-float-cast.c Clang :: Analysis/svalbuilder-logic.c Clang :: Analysis/svalbuilder-rearrange-comparisons.cpp Clang :: Analysis/svalbuilder-simplify-compound-svals.cpp Clang :: Analysis/svalbuilder-simplify-in-evalbinop.cpp Clang :: Analysis/svalbuilder-simplify-intsym.cpp Clang :: Analysis/svalbuilder-simplify-no-crash.c Clang :: Analysis/switch-case.c Clang :: Analysis/symbol-escape.cpp Clang :: Analysis/symbol-reaper-lambda.cpp Clang :: Analysis/symbol-reaper.c Clang :: Analysis/symbol-reaper.cpp Clang :: Analysis/symbol-simplification-assertion.c Clang :: Analysis/symbol-simplification-bo-div.c Clang :: Analysis/symbol-simplification-disequality-info.cpp Clang :: Analysis/symbol-simplification-fixpoint-iteration-unreachable-code.cpp Clang :: Analysis/symbol-simplification-fixpoint-one-iteration.cpp Clang :: Analysis/symbol-simplification-fixpoint-two-iterations.cpp Clang :: Analysis/symbol-simplification-nonloc-loc.cpp Clang :: Analysis/symbol-simplification-reassume.cpp Clang :: Analysis/symbol-simplification-symplify-results-in-dead-symbol.cpp Clang :: Analysis/taint-diagnostic-visitor.c Clang :: Analysis/taint-dumps.c Clang :: Analysis/taint-generic.c Clang :: Analysis/taint-generic.cpp Clang :: Analysis/taint-tester.c Clang :: Analysis/taint-tester.cpp Clang :: Analysis/temp-obj-dtors-option.cpp Clang :: Analysis/template-param-objects.cpp Clang :: Analysis/templates.cpp Clang :: Analysis/temporaries-callback-order.cpp Clang :: Analysis/temporaries.cpp Clang :: Analysis/temporaries.mm Clang :: Analysis/test-after-div-zero.c Clang :: Analysis/test-include-cpp.cpp Clang :: Analysis/test-objc-non-nil-return-value-checker.m Clang :: Analysis/test-separate-retaincount.cpp Clang :: Analysis/test-variably-modified-types.c Clang :: Analysis/this-pointer.cpp Clang :: Analysis/track-control-dependency-conditions.cpp Clang :: Analysis/track-control-dependency-conditions.m Clang :: Analysis/traversal-algorithm.mm Clang :: Analysis/traversal-path-unification.c Clang :: Analysis/trivial-copy-struct.cpp Clang :: Analysis/trustnonnullchecker_test.mm Clang :: Analysis/unary-sym-expr-no-crash.c Clang :: Analysis/unary-sym-expr.c Clang :: Analysis/undef-buffers.c Clang :: Analysis/unified-sources/UnifiedSource-1.cpp Clang :: Analysis/unified-sources/source1.cpp Clang :: Analysis/uninit-bug-first-iteration-init.c Clang :: Analysis/uninit-const.c Clang :: Analysis/uninit-const.cpp Clang :: Analysis/uninit-exhaustive-switch-bug.c Clang :: Analysis/uninit-ps-rdar6145427.m Clang :: Analysis/uninit-structured-binding-array.cpp Clang :: Analysis/uninit-structured-binding-struct.cpp Clang :: Analysis/uninit-structured-binding-tuple.cpp Clang :: Analysis/uninit-val-const-likeness.c Clang :: Analysis/uninit-vals.c Clang :: Analysis/uninit-vals.cpp Clang :: Analysis/uninit-vals.m Clang :: Analysis/unions-region.m Clang :: Analysis/unions.cpp Clang :: Analysis/unix-api.c Clang :: Analysis/unix-api.cpp Clang :: Analysis/unix-fns.c Clang :: Analysis/unreachable-code-path.c Clang :: Analysis/use-after-move.cpp Clang :: Analysis/valist-as-lazycompound.c Clang :: Analysis/valist-uninitialized-no-undef.c Clang :: Analysis/valist-uninitialized.c Clang :: Analysis/valist-unterminated.c Clang :: Analysis/variadic-method-types.m Clang :: Analysis/vector.m Clang :: Analysis/vfork.c Clang :: Analysis/virtualcall-fixits.cpp Clang :: Analysis/virtualcall-plist.cpp Clang :: Analysis/virtualcall.cpp Clang :: Analysis/vla-overflow.c Clang :: Analysis/vla.c Clang :: Analysis/weak-functions.c Clang :: Analysis/wstring.c Clang :: Analysis/z3/apsint.c Clang :: Analysis/zero-operands.c Clang :: Analysis/zero-size-non-pod-array.cpp Clang :: Coverage/html-diagnostics.c Clang :: Tooling/clang-check-analyze-save-temps.cpp Clang :: Tooling/clang-check-analyzer.cpp Clang Tools :: clang-tidy/infrastructure/static-analyzer-config.cpp Clang Tools :: clang-tidy/infrastructure/static-analyzer.cpp Clang Tools :: clang-tidy/infrastructure/temporaries.cpp Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/0/45 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/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: 1026.67s Skipped : 37 Unsupported : 164 Passed : 35794 Expectedly Failed: 28 Failed : 662 FAILED: CMakeFiles/check-all /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/CMakeFiles/check-all cd /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu && /usr/bin/python3.11 /usr/bin/lit -sv --param USE_Z3_SOLVER=0 /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/extra/include-cleaner/test /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/test /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/test/../unittests /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/test /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/tools/extra/test /builddir/build/BUILD/clang-17.0.6.src/loongarch64-OpenCloudOS-linux-gnu/test ninja: build stopped: subcommand failed. + : + RPM_EC=0 ++ jobs -p + exit 0 Processing files: clang-17.0.6-5.ocs23.loongarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.2O5shp + umask 022 + cd /builddir/build/BUILD + cd clang-17.0.6.src + LICENSEDIR=/builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/licenses/clang + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/licenses/clang + cp -pr LICENSE.TXT /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/share/licenses/clang + RPM_EC=0 ++ jobs -p + exit 0 warning: Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang++ and /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-17 warning: Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang++ and /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-cl warning: Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang++ and /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-cpp Provides: clang = 17.0.6-5.ocs23 clang(loongarch-64) = 17.0.6-5.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-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libLLVM-17.so()(64bit) libLLVM-17.so(LLVM_17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(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-5.ocs23.loongarch64 Provides: clang-libs = 17.0.6-5.ocs23 clang-libs(loongarch-64) = 17.0.6-5.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-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libLLVM-17.so()(64bit) libLLVM-17.so(LLVM_17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libc.so.6(GLIBC_2.38)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.4)(64bit) libgcc_s.so.1(GCC_4.2.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.36)(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-5.ocs23.loongarch64 Provides: clang-devel = 17.0.6-5.ocs23 clang-devel(loongarch-64) = 17.0.6-5.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(loongarch-64) libclang-cpp.so.17()(64bit) libclang.so.17()(64bit) Processing files: clang-resource-filesystem-17.0.6-5.ocs23.loongarch64 Provides: clang-resource-filesystem = 17.0.6-5.ocs23 clang-resource-filesystem(loongarch-64) = 17.0.6-5.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-5.ocs23.noarch Provides: clang-analyzer = 17.0.6-5.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-5.ocs23.loongarch64 warning: absolute symlink: /usr/bin/clang-format-diff -> /usr/share/clang/clang-format-diff.py Provides: clang-tools-extra = 17.0.6-5.ocs23 clang-tools-extra(loongarch-64) = 17.0.6-5.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-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libLLVM-17.so()(64bit) libLLVM-17.so(LLVM_17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(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) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.4)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.36)(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-5.ocs23.loongarch64 Provides: git-clang-format = 17.0.6-5.ocs23 git-clang-format(loongarch-64) = 17.0.6-5.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-5.ocs23.loongarch64 Provides: python-clang = 17.0.6-5.ocs23 python3-clang = 17.0.6-5.ocs23 python3-clang(loongarch-64) = 17.0.6-5.ocs23 python3.11-clang = 17.0.6-5.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-5.ocs23 Processing files: clang-debugsource-17.0.6-5.ocs23.loongarch64 Provides: clang-debugsource = 17.0.6-5.ocs23 clang-debugsource(loongarch-64) = 17.0.6-5.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-5.ocs23.loongarch64 warning: Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/debug/usr/bin/clang++-17.0.6-5.ocs23.loongarch64.debug and /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/debug/usr/bin/clang-17-17.0.6-5.ocs23.loongarch64.debug warning: Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/debug/usr/bin/clang++-17.0.6-5.ocs23.loongarch64.debug and /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/debug/usr/bin/clang-cl-17.0.6-5.ocs23.loongarch64.debug warning: Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/debug/usr/bin/clang++-17.0.6-5.ocs23.loongarch64.debug and /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/debug/usr/bin/clang-cpp-17.0.6-5.ocs23.loongarch64.debug Provides: clang-debuginfo = 17.0.6-5.ocs23 clang-debuginfo(loongarch-64) = 17.0.6-5.ocs23 debuginfo(build-id) = 71c0c2a73f39ec58211000deccf313a2a23a3455 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(loongarch-64) = 17.0.6-5.ocs23 Processing files: clang-libs-debuginfo-17.0.6-5.ocs23.loongarch64 Provides: clang-libs-debuginfo = 17.0.6-5.ocs23 clang-libs-debuginfo(loongarch-64) = 17.0.6-5.ocs23 debuginfo(build-id) = 1443bc2d6fa8efc1e57cb4a8b6a7a6fba32f7145 debuginfo(build-id) = bb08b221f9849295ee8bd2762cf2a577f97d44e6 libclang-cpp.so.17-17.0.6-5.ocs23.loongarch64.debug()(64bit) libclang.so.17.0.6-17.0.6-5.ocs23.loongarch64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: clang-debugsource(loongarch-64) = 17.0.6-5.ocs23 Processing files: clang-tools-extra-debuginfo-17.0.6-5.ocs23.loongarch64 Provides: clang-tools-extra-debuginfo = 17.0.6-5.ocs23 clang-tools-extra-debuginfo(loongarch-64) = 17.0.6-5.ocs23 debuginfo(build-id) = 056b635859a71bcd606c69e52a065c51f60a7591 debuginfo(build-id) = 15dc6597e39175b52ee2a692eef5d8132a440357 debuginfo(build-id) = 19528efbf4f8df07ea1f9d06f6e21827786e511d debuginfo(build-id) = 1de6c03ff6511c9992ec850e1c032a245bdeca54 debuginfo(build-id) = 2696898418c15b5d74ef60f11707dde35954f888 debuginfo(build-id) = 316963ed94a675c30d57885a0e022283800857a7 debuginfo(build-id) = 34c71cbf432a5d9d32d3cacd73d139fe689a329f debuginfo(build-id) = 3c2741dc914edf32e1903c7033f3865a4ca97e75 debuginfo(build-id) = 40ec4e43f9a2ef7a1516017f6b0d1c1ad7198b1c debuginfo(build-id) = 509f6d0e119bd8f62435cb7aed1c49afb716f784 debuginfo(build-id) = 53be29dbc7ee45bdf4a5cb3f7e92466be29c5537 debuginfo(build-id) = 548e94be056bbbb498e308ec004daca0e006113f debuginfo(build-id) = 5aa705e47aad13be2095c3f07fc53be0252a8c83 debuginfo(build-id) = 6710c3d7ca10e830c17d3e74a863953aecd1428d debuginfo(build-id) = 75f7a9bb9e0ccc97c74e547eacab2c8ddf7aa4af debuginfo(build-id) = 7765860221268fa796fdecc74cf10b0050f0d9a7 debuginfo(build-id) = 899c9ba399280d482ab18c9b9363c96746a706f3 debuginfo(build-id) = 98b4f4f46993d6ab237e9482488d816ece6e7f89 debuginfo(build-id) = 9d592a6cb6dc42a4eaab7c6bd0d82f5942e2596d debuginfo(build-id) = a567ca6b2f9471aa680ebd21b0faf319744b4a5a debuginfo(build-id) = b0d50c5864c6bec79f1d8d8ca8b124a64f03c355 debuginfo(build-id) = b8a0b2df853e4e2c2cadcef4f9fd656c5f4095b8 debuginfo(build-id) = bdb54d02f243ff26323215b7740966ae2ec62dd2 debuginfo(build-id) = cacdbe9eac8a0e32fdfd5c590d64e2546ee99b27 debuginfo(build-id) = d62225915d983889b5c653a76bf4564f7e8d7688 debuginfo(build-id) = da82a12caea327815b96d993322e2e4edad08ba8 debuginfo(build-id) = f0b850591b120e72b8bb96b2814eb45f00748356 debuginfo(build-id) = f647137346cfd2fb9378e593732dc124415ad95b Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: clang-debugsource(loongarch-64) = 17.0.6-5.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64 Wrote: /builddir/build/RPMS/clang-resource-filesystem-17.0.6-5.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/git-clang-format-17.0.6-5.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/python3-clang-17.0.6-5.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/clang-17.0.6-5.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/clang-analyzer-17.0.6-5.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/clang-devel-17.0.6-5.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/clang-debuginfo-17.0.6-5.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/clang-debugsource-17.0.6-5.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/clang-libs-17.0.6-5.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/clang-tools-extra-17.0.6-5.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/clang-libs-debuginfo-17.0.6-5.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/clang-tools-extra-debuginfo-17.0.6-5.ocs23.loongarch64.rpm RPM build warnings: %patchN is deprecated (9 usages found), use %patch N (or %patch -P N) Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang++ and /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-17 Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang++ and /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang-cl Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/bin/clang++ and /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/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-5.ocs23.loongarch64/usr/lib/debug/usr/bin/clang++-17.0.6-5.ocs23.loongarch64.debug and /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/debug/usr/bin/clang-17-17.0.6-5.ocs23.loongarch64.debug Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/debug/usr/bin/clang++-17.0.6-5.ocs23.loongarch64.debug and /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/debug/usr/bin/clang-cl-17.0.6-5.ocs23.loongarch64.debug Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/debug/usr/bin/clang++-17.0.6-5.ocs23.loongarch64.debug and /builddir/build/BUILDROOT/clang-17.0.6-5.ocs23.loongarch64/usr/lib/debug/usr/bin/clang-cpp-17.0.6-5.ocs23.loongarch64.debug Child return code was: 0